Where do keyboard layouts come from?
New install, old /home. My keyboard switcher flummy reports "err" when I try
to switch to the Greek keyboard.
Running the command manually, I get "Error loading new keyboard description."
I tried to figure out what file is missing with strace:
$strace -eopen setxkbmap -model pc104 -layout gr -variant basic
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/usr/X11R6/lib/libxkbfile.so.1", O_RDONLY) = 3
open("/usr/X11R6/lib/libX11.so.6", O_RDONLY) = 3
open("/lib/tls/libc.so.6", O_RDONLY) = 3
open("/lib/tls/libdl.so.2", O_RDONLY) = 3
open("/home/silvan/.Xauthority", O_RDONLY|O_LARGEFILE) = 4
open("./rules/xorg-C.lst", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
open("./rules/xorg.lst", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
open("/usr/X11R6/lib/X11/xkb/rules/xorg-C.lst", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/usr/X11R6/lib/X11/xkb/rules/xorg.lst", O_RDONLY|O_LARGEFILE) = 4
open("/usr/X11R6/lib/X11/xkb/rules/xorg-C", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open("/usr/X11R6/lib/X11/xkb/rules/xorg", O_RDONLY|O_LARGEFILE) = 4
Error loading new keyboard description
Assuming that xorg.lst will do as a substitute for xorg-C.lst or xorg-C, then
I don't appear to be missing anything. I'm not sure on this point.
Anyway, it feels like I just missed installing something-xorg or x-something,
but I don't know what. I did have a weird X install initially, that caused
GLX not to have direct rendering enabled. I had to install some missing
bits.
Clue? Feels like one of those things that only shows up on a new install, vs.
doing an upgrade.
--
D. Michael 'Silvan' McIntyre ---- Silvan <dmmcintyr@users.sourceforge.net>
Linux fanatic, and certified Geek; registered Linux user #243621
Author of Rosegarden Companion http://rosegarden.sourceforge.net/tutorial/
Reply to: