qmk / qmk_cli

A program to help users work with QMK
MIT License
136 stars 34 forks source link

[Bug] "config" command does not add new keys to qmk.ini file #121

Closed rynoV closed 9 months ago

rynoV commented 2 years ago

Describe the Bug

When my ~/.config/qmk/qmk.ini file does not have a key already in it, qmk config doesn't add that key. For example if user.keyboard isn't in the qmk.ini file, running qmk config user.keyboard=keyboard doesn't make any changes to qmk.ini. However if I add user.keyboard manually, then qmk config will update that key correctly.

I tried qmk --log-file qmk.log --log-file-level debug config user.keyboard=keyboard and that didn't produce a log file.

Additional Context?

qmk --version
1.0.0

I installed for the first time today using python3 -m pip install --user qmk (following the setup instructions here).

python3 --version
Python 3.9.7

OS: Pop!_OS 21.10 x86_64

Let me know if you need any more information, and thanks for your help!

LovesTha commented 11 months ago

Using qmk 1.1.2 on nixos I have very similar behaviour. But once I added a user.keyboard setting then I could set my layout and that worked.

LovesTha commented 11 months ago

But having a valid keyboard and layout set still doesn't make qmk flash find them, I still have to specify them

fauxpark commented 9 months ago

This might be a https://github.com/clueboard/milc issue.