You are not logged in.
Pages: 1
Hi guys,
Can anybody please explain me why the following command works but the corresponding .conf entry does not?
setxkbmap -layout "us,pl,de" -option "grp:alt_shift_toggle"
[orschiro@thinkpad ~]$ cat /etc/X11/xorg.conf.d/01-keyboard-layout.conf
Section "InputClass"
Identifier "keyboard"
MatchIsKeyboard "yes"
Option "XKBMODEL" "pc105"
Option "XkbLayout" "us,pl"
Option "XkbVariant" "altgr-intl,"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection
When using the .conf entry simply nothing happens.
Regards
EDIT
I was able to identify my problem. See the following:
The above .conf does not work since Gnome seems to fetch a default US keyboard layout from somewhere which I cannot figure out where it is. Without any invocation from my side Gnome assumes this US keyboard. However, I do not want to us the default US keyboard layout but the altgr-intl option.
So as a workaround I have to run setxkbmap -layout us -variant altgr-intl after Gnome had started. But I would like to understand how Gnome assigns the default keyboard layouts.
Last edited by orschiro (2013-06-26 07:57:29)
Offline
I still do not understand where the default keyboard layout is taken from. However, I use a workaround and created a file .keyboard in my home directory which is launched after startup of Gnome and changes the layouts according to my setkxbmap settings.
Regards
Offline
Pages: 1