Created attachment 32688 [details] [review] Patch that fixes that for me. I used to use 'setxkbmap dvorak,cz' to be able to have both Dvorak and Cz keyboard at the same time, switching using Alt+Shift. It ceased to work recently, and instead setxkbmap started reporting 'Error loading new keyboard description'. It seems to me that is down to xkb/rules/base, please see the attached patch. The patch modifies 2 things: - introduces 'dvorak' that is equivalent to 'us(dvorak)' as it used to be - changes the +%l[2]%(v[2]):2 fallback to +%l[2](basic):2 which I believe is more correct After those changes, 'setxkbmap dvorak,cz' works for me as before. Please have a look :-)
First, there is no layout 'dvorak', there is us(dvorak). But there are compatibility rules that are generated from rules/compat/* files. Also, it does not make sense to patch rules/base - it is composed of multiple files. Please check the source code. So, with this information, could you please provide the new version of the patch?
'setxkbmap us(dvorak),cz' was broken too, I tested that. Which git repo exactly contains this stuff, please?
Kendy, git repo is git://anongit.freedesktop.org/git/xkeyboard-config.
Ah, nice :-) - so when I installed the rules/base built from the git repo, it works nicely, the 'dvorak = us(dvorak)'-like rules are there for all the groups. So either the bug has been fixed in the meantime, or it is distro-specific bug, I'll have a closer look. Wrt. this report, closing as worksforme, sorry for the noise.
*** This bug has been marked as a duplicate of bug 8452 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.