keyboard layout switcher

Aaron J. Seigo aseigo at kde.org
Sat Nov 19 23:35:35 UTC 2011


hi ...

a step in making the keyboard a little more internationalization friendly is 
being able to switch the layouts. to this end, i added a push button on the 
right underneath the move button when there is more than one layout there. 
(putting it beneath the move button keeps the other two buttons in their 
previous locations while also providing lots of room between close and change 
layout)

i'm unconvinced a button is the best approach here, but it was easy :) and it 
allowed me to at least get the feature written (which was really the big 
part).

to be able to reflect changes in the active layouts when the configuration 
changes, one needs commit 26fc223 to kde-
workspace/kcontrol/keyboard/keyboard_daemon.cpp in the master branch.
(and to restart kded4 after that patch is built and installed ..)

feedback welcome ... you can see the feature in plasma-mobile in the 
keyboardlayouts branch.

next steps include the ability to long-press on a key that has multiple 
possibilities (e.g.: u, ü, ú, ...) and get a popup that shows them.

p.s. i am increasingly unhappy with the amount the keyboard currently relies 
on xkb and the KDE integration with it via kxkb. it may be nicer to have 
everything done via the xml config files as far as layout definition is 
concerned...

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/active/attachments/20111120/05acc9d8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/active/attachments/20111120/05acc9d8/attachment.sig>


More information about the Active mailing list