Re: Disable Caps Lock -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 28 Jun 2019 12:24:25 -0400
Bob Goodwin <bobgoodwin@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux