Bug 26088 - 'setxkbmap dvorak,cz' does not work
Summary: 'setxkbmap dvorak,cz' does not work
Status: RESOLVED DUPLICATE of bug 8452
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-17 18:16 UTC by Jan Holesovsky
Modified: 2011-10-28 02:18 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch that fixes that for me. (1.82 KB, patch)
2010-01-17 18:16 UTC, Jan Holesovsky
Details | Splinter Review

Description Jan Holesovsky 2010-01-17 18:16:01 UTC
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 :-)
Comment 1 Sergey V. Udaltsov 2010-01-18 17:01:23 UTC
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?
Comment 2 Jan Holesovsky 2010-01-19 01:06:48 UTC
'setxkbmap us(dvorak),cz' was broken too, I tested that.  Which git repo exactly contains this stuff, please?
Comment 3 Stefan Dirsch 2010-01-19 01:43:23 UTC
Kendy, git repo is git://anongit.freedesktop.org/git/xkeyboard-config.
Comment 4 Jan Holesovsky 2010-01-19 02:20:06 UTC
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.
Comment 5 Stefan Dirsch 2011-10-28 02:18:26 UTC

*** 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.