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

On Wed, Aug 2, 2023 at 4:16 PM Ron Flory via users <
users@lists.fedoraproject.org> 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.bac...@rptu.de>
> >> 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.bac...@rhrk.uni-kl.de> <
> joachim.bac...@rhrk.uni-kl.de>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@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
> 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@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
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to