You are not logged in.
Pages: 1
Hello guys,
I am having an issue applying .Xmodmap on login.
My goal is to remap the CapsLock key to act as backslash and I set Shift+CapsLock to act as CapsLock.
The following is my .Xmodmap file:
clear Lock
keycode 66 = backslash Caps_LockI am currently using i3 and xinit to start X. xmodmap is set to load .Xmodmap in .xinitrc.
The issue is that CapsLock prints a backslash but it also triggers CapsLock which it shouldn't.
By the way, I got the keycode 66 from xev as described somewhere in the wiki.
Any ideas as to what might be causing the weird behavior that capslock does two thing on being pressed?
Last edited by summerer (2020-03-14 16:37:05)
Offline
Try
setxkbmap -option caps:none
xmodmap .XmodmapOffline
Thanks seth,
I added
setxkbmap -option caps:none to my .xinitrc and it seems to have fixed the issue.
Offline
You might want to turn this into a static config, see https://wiki.archlinux.org/index.php/Xo … tion_files
Offline
Good to know, thanks!
Offline
Pages: 1