-   Linux - Newbie (
-   -   How to set "change key layout" (

konzo 09-29-2010 12:04 PM

How to set "change key layout"
Hi all,

I am using Debian and I want to set Ctrl + 1,2,3 key combination for the three layouts I use. In System/Preference there are some combinations but no custom that I can set Ctrl+1,Ctrl+2, etc.

Is there a way to do that through command line? I can't find anything in google.

quanta 09-30-2010 09:31 PM

What layouts do you mean?

konzo 10-06-2010 04:14 PM

lol, I forgot to mention keyboard...
I mean keyboard layout. I want to change languages with Ctrl+1 Ctrl+2 etc. instead Ctrl+Shift...

DavidMcCann 10-06-2010 06:04 PM

Try attaching the key combinations to commands like "setkxbmap us". You don't say what window manager you have, but with the Gnome configuration program you need to go to apps-metacity-global_keybindings and apps-metacity-keybinding_commands.

PS Your shortcuts may not be a good choice, as those combinations may be used by some programs. I'd advise the Super key (akak Windows key).

All times are GMT -5. The time now is 09:50 PM.