Hi,
If my desired layout can be specified as:
$ bash setxkb.sh '5ca gb ks'
resulting in show-xkb.sh output:
••• DreymaR's Show XKB info script (by GadOE, 2014) •••
••• Output from 'xprop -root | grep "XKB"': •••
_XKB_RULES_NAMES(STRING) = "evdev", "pc105angle", "gb(cmk_ed_ks)", "", "misc:extend,lv5:caps_switch_lock,grp:shifts_toggle,compose:menu,misc:cmk_curl_dh"
••• Output from 'gsettings list-recursively org.gnome.libgnomekbd.keyboard': •••
org.gnome.libgnomekbd.keyboard layouts @as []
org.gnome.libgnomekbd.keyboard options @as []
org.gnome.libgnomekbd.keyboard model ''
••• Output from 'setxkbmap -print': •••
xkb_keymap {
xkb_keycodes { include "evdev(pc105angle)+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+gb(cmk_ed_ks)+inet(evdev)+group(shifts_toggle)+compose(menu)+level5(caps_switch_lock)+extend(basic)+colemak(cmk_ed_dh)" };
xkb_geometry { include "pc(pc105angle)" };
};
What would my
/etc/default/keyboard
file have to look like to represent the same setup?
It currently looks like this:
XKBMODEL=pc105angle
XKBLAYOUT=gb,gb
BACKSPACE=guess
XKBVARIANT=,cmk_ed_dh
I'd rather set my keyboard file directly as using the setxkb.sh mucks up having multiple keyboard layouts available as drop-down options top right of screen in ubuntu
That keyboard file (I think) represents two available layouts, a qwerty one and a colemak-dh one.
In a perfect world I'd have the qwerty on a pc105 layout and the colemak-dh on pc105angle. Is that even possible?
Note that using the setxkb script seems to break things a little bit, i.e. after executing it I can no longer C-x C-f to open a file in emacs, I get an error:
C-x <XF86Back is undefined