Custom keyboard layouts fail to load
@zoqaeski
Submitted by Robbie Link to original bug (#738576)
Description
Created attachment 288584 The patched files I used for my custom layout.
I've been trying to emulate the custom keyboard layout I put together with XKB on GNOME, and it doesn't work, despite the layout working perfectly fine with setxkbmap and xkbcomp. The layout is a variation on the US one, with some extra third-level keys which I find useful. Adding the files in /usr/share/X11/xkb/symbols/ and amending the rules in /usr/share/X11/xkb/rules/{base,evdev}.{xml,lst} result in the layout showing up in the Input Sources settings, but the layout itself isn't applied.
Calling setxkbmap -layout <name> -variant <variant> -option <options>
in the terminal loads the layout, but if more than one Input Source is installed, switching to a different layout will result in you being unable to switch to your custom one. I'd like to be able to switch between my own layout and mozc (for Japanese input).
Setting the XKB strings manually in Dconf Editor has the same result as adding it via Input Sources.
The log viewer reports error messages warning that keyboard-plugin couldn't find XKB source '<name>
'.
Interestingly enough, it isn't just my custom layout that results in this behaviour (so you can confirm it without making the customisations I did!). If you add APL (all variants) as an input source, for example, you'll get the same results, albeit for a OOTB layout. Another layout I found to have this bug/issue/feature is EurKEY.
====================
System Details ++++++++++++++ OS/Distro: Arch Linux x86_64, Linux 3.16.4 GNOME version: 3.12.2
Attachment 288584, "The patched files I used for my custom layout.":
us-vim.tar.gz
Version: 3.12.x