Updating KDE default layout switching key-binding

Question: How do one change his default keyboard layout switching key-bindings (in KDE, of course!) from the default Ctrl+Alt+K to Alt+Shift-Left ?

Problem: Well, using the KDE Control Panel should be the way but the thing is that this utility won't accept the pressing of Alt + Shift. Probably it expects some "real" key presses, not modifiers or the like.

Answer: Solution is to edit by hand the file which holds the information about your key bindings.

  • Edit ~/.kde/share/config/kdeglobals
  • Find the line which starts with "Switch to Next Keyboard Layout" and back it up (I think that duplicating it where putting "#" in the beginning of one of the lines is good enough for KDE [hoping that "#" is a comment marker. so far so good :-)])
  • On the newly created line, change the right part of the equation to Alt+Shift_L

The thing that I was missing was the file to edit. Now that I have it, the old key binding i doomed :-)

Boaz.

HI Alon, Well, yes, I am

HI Alon,

Well, yes, I am working with the Teac slim illuminated keyboard (model num written on its back is K5390EL). Gee, getting it to work was a long time ago (something like a year now).
Maybe that worths a separate small blog post. I think it'll worth it. Will do soon.
I'll post a comment here when its done.

Boaz.

Shalom Boaz, I think you

Shalom Boaz,

I think you figured out how to make a TEAC "Slim illuminated" keyboard.
(and noted your xset solution to turn on the light)
Did you figured how to make the multimedia button work ?

Beside I'd like to get to know you (via email) mine is goalain@gmail.com as we are in a close business, see http://www.linkedin.com/in/goalain

Regards,
Alon

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.