Re: Help needed: disabling system wide the Caps lock key in GNOME/Xwayland

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

 



#!/bin/sh
setxkbmap -option caps:ctrl_modifier

On Wed, Aug 2, 2023 at 4:16 PM Ron Flory via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
On 8/2/2023 10:42 AM, Thomas wrote:
> Hello,
>
> I had that issue recently, the way I sorted it was with gsettings/dconf:
>
> gsettings set org.gnome.desktop.input-sources xkb-options "['ctrl:nocaps']"
>
> I suspect this is what gnome-tweaks does. Actually as far as I know, Wayland still sources xkb files, it's not very much documented but I recall having found a few places suggesting that (I use stock F38 with Gnome and Wayland).
>
> And thus see: man xkeyboard-config for a list of options which can be set, which is a bit wider than what gnome-tweaks propose.
>
> On Wed, 2 Aug 2023, at 15:56, murph nj wrote:
>> Gnome tweaks has a simple solution to this.
>>
>> Install Tweaks through "Software" or
>> dnf install gnome-tweaks
>>
>> Run Tweaks and go to the "Keyboard and Mouse" section.
>> The 4th option down is an "Additional Layout options" button.
>> There are many things you can remap the CapsLock key to, like Esc, ctrl, or
>> my preference a Super key, since I usually use an IBM model M keyboard
>> which does not have one.
>>
>> No need to revert back to X11, or any kind of hardware solution.
>>
>>
>>
>> On Tue, Aug 1, 2023 at 3:31 PM Joachim Backes <joachim.backes@xxxxxxx>
>> wrote:
>>
>>> Hi gys,
>>> I'm running F38 with *Gnome/X-Wayland*, and in my environment I do not need (hate it) the *Caps Lock* key.Question: How to realize the disabling system wide, and how to get it working again?
>>>
>>> Regards
>>>
>>> Joachim Backes
>>>
>>> --
>>>
>>> Fedora release 38 (Thirty Eight)
>>> 6.4.7-200.fc38.x86_64
>>>
>>> Joachim Backes <joachim.backes@xxxxxxxxxxxxxx> <joachim.backes@xxxxxxxxxxxxxx>https://www-user.rhrk.uni-kl.de/~backes/
>>>
>>>

  (hmmm, much top-posting up there)

  Since nobody else has mentioned this (apologies if this does not
address your needs, and you *really* hate the presence of the Caps-Lock
key), but most motherboard BIOS's have a setting for startup "numlock
state".  I always set mine to "Disabled" and it keeps the unwanted Caps
keys away unless/until I explicitly (temporarily) enable them by hitting
the Caps-Lock key.

ron

_______________________________________________
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
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue


--
Those who don't understand recursion are doomed to repeat it
_______________________________________________
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
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[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