"sticky" xkb options ?

Peter Hutterer peter.hutterer at who-t.net
Sat Aug 20 21:12:47 PDT 2011


On 21/08/11 03:28 , Matthieu Herrb wrote:
> In order to keep the oldctrl+alt+backspace sequence killing X by
> default, I'm looking for the best place to place the configuration
> option. I'd like to put it in /etc/X11/xorg.conf.d/00-killserver or
> similar.
>
> Unfortunatly, at least with xserver 1.9 or 1.10,
> 'Option "XkbOption" "terminate:ctrl_alt_bksp"' doesn't stick.
> Any other 'Option "XkbOption" "..."' parsed later will clear the
> already set options.
>
> The same is true for any initialisation done inside the xserver code
> itself via add_option().
>
> Is there a way to set a sticky xkbOption ?

not really, at least not without hacking the server. We use the same 
configuration in Fedora, but once the user is logged in, the user's 
settings overwrite the option as well. the "solution" to this is 
convince the user to update their configuration, sorry.

Cheers,
   Peter



More information about the xorg mailing list