On Fri, 28 Jun 2019 12:24:25 -0400
Bob Goodwin <bobgood...@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.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to