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

Re: /etc/default/keyboard XKBOPTIONS not read by X



I. wrote:
Dan B. wrote:
Raf Czlonka wrote:
On Wed, Nov 09, 2011 at 12:50:57AM GMT, Bob Proulx wrote:
Dan B. wrote:
I tried swapping the left Control key and Caps Lock key by modifying
the XKBOPTIONS value in /etc/default/keyboard, ...
...
XKBOPTIONS="ctrl:swapcaps"


...>
Hey, I just noticed that if I use startx ("startx -- :1") to start X (and
Gnome, etc), the Control key gets swapped;.

It's in the X session started (or use?) by GDM that the Control key
   ^If it's                           ^used
doesn't get swapped.


Actually, it varies in GDM, apparently depending on whether another X
server is still running:


I rebooted.


*In the original X server started automatically by/for GDM, Control was
not swapped (as I reported above).


I invoked "startx ..." to start another X server (and default Gnome
session).

*In that X server, Control was swapped (as I reported above).

I exited that Gnome session and X server (with Gnome's Log Out menu
item).


In the original GDM-starte X server and Gnome session, I logged out and
logged back in.

*In that X server, Control was not swapped (as for the previous
GDM-started X server).


Again, I started an X server with startx.

*In that X server, Control was again swapped (as for the previous
startx-started X server).


Without exiting that startx-started server, I went to GDM-started server,
logged out and back in.

*In that X server, Control *was* swapped (different than in the
previous two GDM-started X servers).


Something _really_ screwy seems to be going on here.



Daniel


Reply to: