Closed keeferrourke closed 4 years ago
Hmmm that is odd. The key layout between Apple keyboard w/ hid driver and windows ought to be identical, but yea when using the VM you would use the Apple keyboard without the driver. I will test out my vm with a normal windows keyboard to see what it does, maybe something is slightly off and I did not realize it.
Actually on a second read-through the readme, I'm not sure if xev
would be considered a GUI or terminal application... And the keymap might actually make sense, since Ctrl acts like Cmd in Linux GUI apps.
Strange terminal behaviour remains though :P
@rbreaves thanks for the super fast reply! :smile:
By default xev
will be picked up as a terminal thing unless you stop the keyswap from running via systemctl --user stop keyswap
.
You can pull up the ~/.config/kinto/user_config.json file though and manually run through each keymap scenario and then use xev
or xbindkeys --key
or xbindkeys --multikey
.
If you don't mind please check out the latest in the current dev branch, it occurred due to Kinto switching over from Super to using Hyper to then remap to Ctrl+Shift. I am very surprised no one mentioned it before now or that I did not notice. I have been mostly using my Apple laptop keyboard or my chromebooks though.
What surprises me most though is that it sorta ignore an earlier keymapping, but then it doesn't as well. I'd think this would been stacking, in which case it would have been fine. Oh well xkb is anything but straight forward imo.
3185bc068a72076985b1d52fa43862215903dec6
You can also check it out on master too, I went ahead and merged it. I am pretty confident that this is fully resolved now.
I'll check it out and report back soon :)
Will re-open if it needs to be.
First of all, kudos! I love this script! :) It worked perfectly on an Ubuntu VM that I was running on a Macbook Pro the other day :tada:
On one of my workstations (Fedora 31), I use Tilix as my main terminal emulator, and to my surprise, after running
setup.py
Tilix doesn't work as expected.I picked the following options from the setup script:
My keyboard (Pok3r RGB) bottom-row layout is:
Ctrl_L, Super_L, Alt_L, Space, Alt_R, Fn, Menu, Ctrl_R
(Button combos entered below are as printed on my keyboard)
Tilix
Gnome-terminal also didn't work as expected:
Gnome-terminal
I find this super confusing, so maybe some output from
xev
will be more helpful :)On pressing Alt_L, xev reports:
On pressing Super_L, xev reports:
On pressing Ctrl_L, xev reports:
On my keyboard layout, I would've expected Ctrl to stay Ctrl, Super_L to become Option/Alt_L, and Alt_L to become Cmd/Super_L.