LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-12-2007, 11:01 PM   #1
seafish69
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
KDE: changing keyboard layout


Hello All,

My config is as follows:
Debian 4.0 Etch
Desktop Environment: KDE
Active layouts (Configure>KDE Control Module): U.S. English (default) and Russia

I need to be able to do just one simple thing: switch between (i.e, back and forth) English and Russian keyboard layouts by a keyboard combination Ctrl+Shift

That's it. Seems like very simple.

I presume the switching between layouts is controlled by the Xkb applet.
I spent a whole week playing with Xkb options and trying to see if one of them would work. No luck so far.

I have also found that this shortcut (found among KDE's so-called Global Shortcuts) - Ctrl+Alt+K - seems to be able to switch like this: US > RU. But I cannot switch back from RU to US by pressing Ctrl+Alt+K again - seems like it works just one way. Currently I have to use the mouse to switch back RU > US, which is a real PITA for a touch-typing person.

If anybody has experienced this, please share your thoughts - much appreciated!

Last edited by seafish69; 09-12-2007 at 11:03 PM.
 
Old 09-13-2007, 03:41 AM   #2
doc.nice
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Debian
Posts: 274

Rep: Reputation: 34
you could check the kde control panel after switching to RU, maybe the shortcut changes on a russian keyboard layout?

other idea: Where do you find the latin "K" on the russian keyboard? I don't think it is the same (physical) key as it is in the US layout, so you have to press
CTRL+Alt+<your new K location> to switch back.

third proposal: change the global shortcut ctrl+alt+k to something unambigous in both layouts, such as ctrl+alt+ArrowUp or something like that. Then you should be able to switch forth and back with the same key.

(my switching between US and DE works using ctrl+alt+K in both directions, that's where my first two ideas come from.)

HTH,
Florian
 
Old 09-13-2007, 09:06 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Sounds totally logical, please let us know what works.
 
Old 09-14-2007, 06:31 AM   #4
seafish69
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
you could check the kde control panel after switching to RU, maybe the shortcut changes on a russian keyboard layout?
where exactly should I be looking? Under "Keyboard Layout" or "Keyboard Shortcuts"?
Quote:
other idea: Where do you find the latin "K" on the russian keyboard? I don't think it is the same (physical) key as it is in the US layout, so you have to press
CTRL+Alt+<your new K location> to switch back.
nope, doesn't work
Quote:
third proposal: change the global shortcut ctrl+alt+k to something unambigous in both layouts, such as ctrl+alt+ArrowUp or something like that. Then you should be able to switch forth and back with the same key.
that's it. I assigned Cltrl+Alt_ArrowUp and it worked.
Thank you so much, you're a savior

That still leaves me wondering about the ways it works. Btw, I took the liberty of writing a message to the maintainer, hope he will be able to clarify the issue.

Thanks again, and have a great day!
 
Old 09-14-2007, 07:22 PM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Thanks for posting your answer.

And please post back if you get a response from the maintainer.
 
  


Reply

Tags
kde, keyboard, layout



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Key mapping reverts to default after changing keyboard layout in KDE @milan Linux - General 0 03-07-2007 06:18 AM
Changing Keyboard Layout? slacker9876 Linux - Software 2 05-10-2006 04:30 PM
changing keyboard layout in KDE/fluxbox tamor Linux - Newbie 1 04-09-2006 11:28 AM
need help changing my keyboard layout dgeenens Slackware 4 01-05-2006 12:28 PM
Changing keyboard layout SAC82 Linux - Software 5 10-18-2004 01:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration