You are not logged in.

#1 2017-09-03 09:16:59

mr_ubik
Member
Registered: 2017-09-03
Posts: 2

Xwayland apps do not detect xorg keyboard configuration settings

Hello, fellow Arch users, I call upon your wisdom in this time of need.

I am running the latest Gnome in the default Wayland + Xwayland server, everything seems to work fine excepts that it seems that the Xwayland server is not loading my custom keyboard configuration. Originally I setup some custom XkbOptions via Gnome Tweak Tools, however, I soon noticed that those changes only applied to native Wayland Gnome Apps or my whole system but only after Disabling and Enabling them back on. I figured that in order to enable my options in the applications running on Xwayland I needed to follow the usual steps for Xorg. I thus set my both a /etc/X11/xorg.conf.d/00-keyboard.conf and /etc/default/keyboard

cat /etc/X11/xorg.conf.d/00-keyboard.conf
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us,colemak,it"
        Option "XkbVariant" ",,"
	Option "XkbOptions" "lv3:ralt_switch,shift:both_shiftlock,eurosign:5,rupeesign:4,caps:swapescape,grp:win_space_toggle,lv3:lalt_switch"
EndSection
cat /etc/default/keyboard 
XKBMODEL="pc105"
XKBLAYOUT="us,colemak,it"
XKBVARIANT=",,"
XKBOPTIONS="lv3:ralt_switch,shift:both_shiftlock,eurosign:5,rupeesign:4,caps:swapescape,grp:win_space_toggle,lv3:lalt_switch"

It worked until I rebooted my system. What am I missing here?

Offline

#2 2017-09-05 16:25:48

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: Xwayland apps do not detect xorg keyboard configuration settings

Wayland is not X and does not read Xorg configuration files. I am not aware of a /etc/default keyboard in Archlinux. Wayland does not rely on configuration file on its own. It's the job of the Desktop environment to configure everything correctly, in your case Gnome. So you need to setup your keyboard from within Gnome via the Gnome setting. Note that you speak of Xwayland, I don't think you can configure it separately either (but I may be wrong).

Last edited by olive (2017-09-05 16:38:31)

Offline

#3 2017-09-06 10:47:07

mr_ubik
Member
Registered: 2017-09-03
Posts: 2

Re: Xwayland apps do not detect xorg keyboard configuration settings

In my mind, considering what I read about the Xwayland server, the configuration should be set as the normal Xorg, indeed this worked fine before I rebooted the PC.

Offline

Board footer

Powered by FluxBB