default.map applied when deleting lines
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pystromo |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm using a normal N52 under Ubuntu 9.10, and have followed the popular guide of installing pystromo.
Every time I use 'sudo ./pystromo-remap.py –m config/default.map' after cd'ing to the right directory my layout wont be applied. The terminal acts like it should be (jumping down one line and its blank). My layout only gets applied if I let the terminal be, go to default.map and delete a huge bunch of lines and then save the file. All keys work after that and it seems it doesnt care about me deleting a chunk of them.
i.e
First it wont work like this:
KEY_TAB:KEY_P
KEY_Q:KEY_W
KEY_W:KEY_R
KEY_E:KEY_A
KEY_R:KEY_F
After deleting down to this it works:
KEY_TAB:KEY_P
KEY_Q:KEY_W
How come the layout wont be loaded in the first place without me having to delete keys (which just makes very little sense to me)?
Unless you specify certain command-line arguments, the remapper will read in the mapping file only once at startup. Using the command you specified in the bug report, altering the mapping file while the remapper is running should not have any effect.
The program can take a few moments to start everything up, perhaps you're being a bit too impatient? :)
Could you try running the remapper with an additional `-vvv` option? The output of that will tell us if it's receiving the keyboard commands, and what it's trying to do with them.
It would probably also be useful to see the mapping file that you're trying to use.