After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 727214 - GDM disables XkbOption ctrl:nocaps from /etc/X11/xorg.conf.d/10-evdev.conf
GDM disables XkbOption ctrl:nocaps from /etc/X11/xorg.conf.d/10-evdev.conf
Status: RESOLVED OBSOLETE
Product: gdm
Classification: Core
Component: general
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-28 07:57 UTC by Tassilo Horn
Modified: 2018-05-24 11:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tassilo Horn 2014-03-28 07:57:09 UTC
Like many of us, I use a single-user laptop.  Since I use the German Dvorak TypeII keyboard layout, I want to have it configured globally.  For the X11 part of it, I have this entry in my /etc/X11/xorg.conf.d/10-evdev.conf:

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "XkbLayout"      "de"
        Option "XkbVariant"     "dvorak"
        Option "XkbOptions"     "ctrl:nocaps"
EndSection

It works in so far that in fact, the correct German Dvorak layout is enabled globally even in GDM.  However, the XkbOption "ctrl:nocaps" is NOT enabled, and I need to type "setxkbmap -option ctrl:nocaps" every time I log into GNOME.

First, I've thought it's an X issue, but then I switched from GDM to LightDM for testing, and with that, the option is enabled after logging into GNOME.  So it seems GDM disables it somehow.

I don't have any input sources configured in the GNOME settings.  I'm the only user, so I have no need to configure them on a per-user basis.  It should just use what's configured globally.

I'm happy to provide any details you might need.
Comment 1 Jesse 2014-04-26 22:03:30 UTC
I can confirm this is still an issue for GDM 3.12.1. I've set the same option in xorg.conf.d/10-evdev.conf, but GDM ignores it.

I also tried `sudo -u gdm dconf-editor` and added 'ctrl:nocaps' to org.gnome.desktop.input-sources.xkb-options - it didn't help.

It seems GDM is working very hard to toss out your keyboard configuration, regardless of how you try to tell it what you want.
Comment 2 Tassilo Horn 2014-10-02 07:01:37 UTC
Indeed, when I enable Typing > Ctrl key position > CapsLock as Ctrl in the Tweak Tool which sets org.gnome.desktop.input-sources.xkb-options, it also doesn't help as Jesse already mentioned.
Comment 3 Tassilo Horn 2014-10-02 07:07:14 UTC
This is probably the cause of why org.gnome.desktop.input-sources.xkb-options has no effect: https://bugzilla.gnome.org/show_bug.cgi?id=699123
Comment 4 GNOME Infrastructure Team 2018-05-24 11:00:59 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdm/issues/188.