GnomeDesktop-WARNING **: Failed to load XKB rules file
Submitted by Jonas G. Drange
Assigned to Desktop Maintainers
Link to original bug (#775364)
Description
Created attachment 340993 patch that uses XKB_CONFIG_ROOT if set, XKB_BASE if not.
Reproduce: We're using, on Ubuntu Core, gnome-xkb-info.h to produce a list of xkb input sources. Since / is mounted at /snap/… no list is produced and a warning is issued:
(process:11469): GnomeDesktop-WARNING **: Failed to load XKB rules file /usr/share/X11/xkb/rules/evdev.xml: Failed to open file '/usr/share/X11/xkb/rules/evdev.xml': No such file or directory
I've attached a patch.
Patch 340993, "patch that uses XKB_CONFIG_ROOT if set, XKB_BASE if not.":
patch.diff
Version: 3.18.x