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

Re: gdm3 cancels/ignores Control/CapsLock swap



On Mon, 23 Apr 2012 16:00:58 +0000, Camaleón wrote:

> On Mon, 23 Apr 2012 10:44:37 -0400, Dan B. wrote:

(...)

>> However, when I start gdm3, then in the X11 display managed started by
>> gdm3, the keys are _not_ swapped any more.  (That's both initially
>> (when gdm3 prompts for username and password) and later (with the GNOME
>> environment displayed).)
> 
> Do you have GNOME installed? If so, have you tried to set this option
> from GNOME keyboard configuration? It has to be under layout → advanced
> settings or something similar.
> 
> Another option, if GNOME is not installed, would be setting this
> manually using gconf or by tweaking the equivalent place/file... sorry,
> I don't know where the gdm3 settings for keyboard are defined.

And after a bit more of digging, I couldn't find any documented setting 
for the gretter to enable that option... gee, the old GDM2 was -by far- 
more user-friendly and more easy to tweak :-/

I remember I had to do something similar to what you are seeking for 
enabling the touchpad "tap" action at GDM3 but IIRC (I'm not in front of 
my netbook where I have Wheezy with GDM3 installed) I had to edit one of 
the Xorg configuration files that I had to copy from "/usr/share/X11..." 
to "/etc/X11/xorg.conf.d/synapctic.conf" (or something like that) and 
then add a line to enable tapping at the login screen (don't ask me for 
the exact key, I don't remember...).

So maybe you can do the same for the "ctrl:swapcaps" by editing the 
keyboard configuration file (it must be under /etc/X11/xorg.conf.d/
*edev.conf) and put the option there, inside the keyboard input class, 
which, speaking from memory, it should be similar to:

Section InputClass
... keyboard stanza
... more options
Option "XkbOptions" "ctrl:swapcaps"
EndSection

And relogin to check. 

I can't test it right now but this worked fine at least to enable the 
tapping.

Greetings,

-- 
Camaleón


Reply to: