You are not logged in.

#1 2016-08-15 20:23:46

zaxdan69
Member
Registered: 2016-06-04
Posts: 271

Xorg keyboard config ignored

Hello,
I cannot set a global key combination for changing keyboard layout.  I've set the 00-keyboard.conf file in /etc/X11/xorg.conf.d:

# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "gr,us"
        Option "XkbModel" "pc105"
        Option "XkbVariant" "qwerty"
        Option "XkbOptions" "grp:alt_shift_toggle"
EndSection

both manually and with localectl, but it seems that is ignored.
I used this way for years in linux distros without problem and I could change the keyboard layout with the above combination in any desktop enviroment, login manager or vte. But now there is a problem in most situations, and also I cannot change layout in virtual consoles.

localectle output is:

System Locale: LANG=el_GR.UTF-8
       VC Keymap: us
      X11 Layout: gr,us
       X11 Model: pc105
     X11 Variant: qwerty
     X11 Options: grp:alt_shift_toggle

but setxkbmap -print -verbose 10:

Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules:      evdev
model:      pc105
layout:     us
Trying to build keymap using the following components:
keycodes:   evdev+aliases(qwerty)
types:      complete
compat:     complete
symbols:    pc+us+inet(evdev)
geometry:   pc(pc105)
xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwerty)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete"	};
	xkb_symbols   { include "pc+us+inet(evdev)"	};
	xkb_geometry  { include "pc(pc105)"	};
};

shows only us.

Offline

Board footer

Powered by FluxBB