Comments (1)
This is definitely desirable. For the current status, see the comment here:
Line 91 in d58fc90
I provide some additional details here on the problem, in case someone other than me reads this and wants to jump in.
First, the format of the "rules" file is described here: https://github.com/xkbcommon/libxkbcommon/blob/master/doc/rules-format.txt
Currently, the most used file is the "evdev" one, commonly found in /usr/share/X11/xkb/rules/evdev
. This file is built up using some scripts as can be seen here: https://cgit.freedesktop.org/xkeyboard-config/tree/rules
The problem is that the format is really inflexible about the number of layouts (groups), and so it hardcodes and repeats 1,2,3,4. Hence, if we just lift the limit, some unexpected things may start to happen starting from the 5th group.
Some ways to proceed, from most preferable to least preferable:
- Fix up the rules format to not need to hardcode to group numbers. The linked bug (https://bugs.freedesktop.org/show_bug.cgi?id=14372) suggests an
:all
syntax, which will work transparently for all groups. This will require changes in both of xkbcommon and xkbcomp's implementations. Also, if the change is not backward compatible, there might be some transitionary issues (a possible workaround is to use a new file instead of "evdev"). - Keep hardcoding the numbers, but hardcode higher, e.g. to 8. This might also need fixing to work; I didn't try.
- Just make the change to xkbcommon, disregarding the above issues. For some scenarios, it will work just fine, I expect (didn't try either). Testing here will be appreciated.
That's it - needs a small effort to push through.
from libxkbcommon.
Related Issues (20)
- Update keysyms HOT 1
- Create guidelines for repository contributors
- Determining required dead keys HOT 2
- Octal escape allows \0..\777
- Exporting keymap from `xkb_keymap` in XKM format? HOT 4
- Add iteration API for compose HOT 3
- Question about XkbToControl results HOT 5
- Segmentation fault when mixing with Blender HOT 8
- CapsLock change upon press instead of release option. HOT 6
- Hook up black in CI HOT 2
- [regression] FK20 override stopped working, always gets set to XF86AudioMicMute HOT 9
- Make tools/compose part of the xkbcli commands
- error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment whose length is between 1 and 16 characters HOT 5
- Test failure 7/24 in libxkbcommon / registry HOT 19
- [XKB-769] Abandoning keytypes file "(unnamed)" from .gitkeep HOT 6
- No way to list keymap component dependencies HOT 3
- xkbcommon chokes on UTF-8 BOM HOT 5
- xkbcommon supports no way for a prefix pattern to override a longer pattern matching the prefix HOT 7
- Keysyms removed without prior deprecation HOT 1
- Compose sequences which require shift have stopped working since 1.6.0 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libxkbcommon.