Hi,

I'm used to swapping CapsLock and Escape keys, but don't manage it to
do it through vms. Any help?

Basically what I need is not more complicated than running xmodmap
config_file, where config_file is:
remove Lock = Caps_Lock
keycode 9 = Caps_Lock
keycode 66 = Escape
add Lock = Caps_Lock

Several years ago I was using Qubes 3.2, and if I remember correctly I
only had to do it in dom0, then it was propagated to vms. This does
not work anymore in 4.1.

Currently, when doing it in dom0 it works in dom0, but when starting a
vm I get this weird situation:
- CapsLock key does nothing,
- Escape key sends both Escape and CapsLock.

I can manually run xmodmap config_file in vms, then it is fine, but I
can't automate it. At startup:
- ~/.Xmodmap is not read
- ~/.xsession is not executed
- /rw/config/rc.local is executed, but adding "xmodmap
/home/user/config_file" in it does nothing.
- I tried adding a script in the template,
/etc/X11/Xsession.d/99script, containing "xmodmap
/home/user/config_file", but it does not work either (though the
script is executed).

I found this thread, but don't understand anything, and I can't figure
such a simple thing could be that complicated.
https://forum.qubes-os.org/t/remap-super-key-keyboard/4894

-- 
Gabriel

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAJ-6NAuog0vLCb3Y4%3Dho9vx8%3DS6pA6eVL%3DPgoE1-JNtTBUXv%3DQ%40mail.gmail.com.

Reply via email to