LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2010, 01:04 PM   #1
konzo
Member
 
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230

Rep: Reputation: 33
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.
 
Old 09-30-2010, 10:31 PM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
What layouts do you mean?
 
Old 10-06-2010, 05:14 PM   #3
konzo
Member
 
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230

Original Poster
Rep: Reputation: 33
lol, I forgot to mention keyboard...
I mean keyboard layout. I want to change languages with Ctrl+1 Ctrl+2 etc. instead Ctrl+Shift...
 
Old 10-06-2010, 07:04 PM   #4
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,166

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
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).

Last edited by DavidMcCann; 10-06-2010 at 07:06 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Atheros error "set encode" (AR9285). Can't set an encryption key ansichart Linux - Networking 4 06-04-2010 03:26 PM
"Set Encode" (8B2A) error while trying to add WEP key dahouse Linux - Wireless Networking 20 04-30-2007 12:41 PM
gnome-window-properties doesn't change "movement key" OR13 Fedora 2 01-02-2007 01:42 AM
I cant set WEP key! "Operation not supported" ??? EcceVery Linux - Wireless Networking 3 11-19-2006 01:06 PM
kde "keyboard shortcuts": can't change modifiers & says no windows key peb Linux - Newbie 0 01-02-2004 05:41 PM


All times are GMT -5. The time now is 08:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration