joeklow n00b
Joined: 23 Jan 2011 Posts: 46
|
Posted: Mon May 12, 2014 9:40 am Post subject: Xorg - layout switching - alternatives to XKB-only methods? |
|
|
Hi all.
So guys at the office have switched to Linux and for some reason they don't like our straightforward CapsLock layout switching method, and they found a problem for me to solve..
All XKB-based switchers (these, who use setxkbmap to set hotkeys) tend to mess the things badly when operating with Ctrl-Shift / Alt-Shift combinations; Ctrl-Shift-P in Firefox is a good example of affected keyboard shortcut - not only it does opens new window, but also changes layout.
AFAIK, the chain of keypress handling involves at least these:
evdev (input source)
Xorg's XKB (can switch layout)
window manager - keyboard hooks
I remember some four-letter named keyboard layout manager (iicb, uucb or something alike), what is it's name? Are there other possible options for layout switching?
Also, I remember that KDE3.2 has its own switcher (well.. a hotkey for changing XKB layouts) which had no such problem.. _________________ Commit code back to ALSA, save your latency and CPU: rm /usr/bin/pulseaudio;touch /usr/bin/pulseaudio;chattr +i /usr/bin/pulseaudio |
|