On Fri, 28 Jun 2019 12:24:25 -0400
Bob Goodwin <bobgoodwin(a)fastmail.us> wrote:
J am a poor typist and usually disable Caps Lock in a script with:
/usr/bin/xmodmap -e 'keycode 66=Shift_L'
That no longer works as it should in Fedora-30 for whatever reason,
now it just locks Caps Lock on and all I can get is caps unless I
hold a Shift key which is inconvenient to say the least ...
What can I use instead of "Shift_L" to make it simply do nothing?
After reading the man page for xmodmap, I'm surprised that your command
worked. There, it calls the fact it doesn't work a known bug. Try the
following to make the caps_lock the left_shift.
/usr/bin/xmodmap -e 'remove Lock = Caps_Lock'
/usr/bin/xmodmap -e 'keysym Caps_Lock = Shift_L'
/usr/bin/xmodmap -e 'add Lock = Caps_Lock'
I think using NoSymbol instead of Shift_L will do nothing if you want
that.