LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-20-2010, 11:05 AM   #1
DBabo
Member
 
Registered: Feb 2003
Distribution: Scientific Linux 6
Posts: 384

Rep: Reputation: 33
switch keyboard shortcut


hello,
I run KDE 3.X and for the life of it, can't figure out how to assign the "ALT+SHIFT" to switch between keyboard layouts? The default AL+SHIFT+K switches from EN to second one and after that it (obviously) doesn't work.
saw a few posts (http://www.linux-archive.org/gentoo-...alt-shift.html), but the flag is not changing in the tray.

I also tried to go thru "Keyboard shortcuts", but for whatever reason, it doesn't want to accept the combination of "alt+shift" and expects another key ( i guess).

I'm using Centos 5.2 and the the keyboard model is "MS natural keyboard pro" with US and two Cyrillic layouts - one of them is phonetic.

Please advise.
Andrew
 
Old 12-22-2010, 08:11 AM   #2
DBabo
Member
 
Registered: Feb 2003
Distribution: Scientific Linux 6
Posts: 384

Original Poster
Rep: Reputation: 33
after some frustrating hours:
1. Disable the xkb
2. In Control Center-> REgional and Accessibility ->Keyboard shortcuts : I was finally able to change the behavior to right cntrl + menu.
Well, it's not what i wanted, but at least smth.
I also noticed that it ( this shortcut accepting dialog) is thinking that right shift has a different code ( Other_Region) then the left one ( Shift_L). It's strange because the hev reports the same codes :

Code:
KeyPress event, serial 28, synthetic NO, window 0x1800001,
    root 0x11e, subw 0x0, time 241804533, (91,-8), root:(1000,390),
    state 0x10, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x1800001,
    root 0x11e, subw 0x0, time 241804613, (91,-8), root:(1000,390),
    state 0x11, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 31, synthetic NO, window 0x1800001,
    root 0x11e, subw 0x0, time 241813044, (91,-8), root:(1000,390),
    state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x1800001,
    root 0x11e, subw 0x0, time 241813156, (91,-8), root:(1000,390),
    state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

Last edited by DBabo; 12-22-2010 at 09:25 AM.
 
Old 12-22-2010, 11:48 AM   #3
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,128

Rep: Reputation: 793Reputation: 793Reputation: 793Reputation: 793Reputation: 793Reputation: 793Reputation: 793
You could take a key you never use, like Pause or Scroll Lock, and turn it into ISO_Next_Group. I also have the shifted version as ISO_Prev_Group. I do this by editing the keyboard driver files, but you could do it with xmodmap.
 
  


Reply

Tags
keyboard, layout, switch


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
how to switch to command line from GUI using keyboard shortcut tj_linux Linux - Newbie 16 05-16-2010 07:29 AM
Keyboard shortcut to switch between screens in Gnome? opc Linux - Desktop 3 04-02-2010 09:29 PM
Keyboard Shortcut to switch between multiple monitors FractalTheorem Linux - General 2 03-08-2009 09:06 PM
Keyboard shortcut to switch desktops in KDE? EtherGhost Linux - General 3 11-03-2006 11:49 AM
shortcut to switch keyboard layout in KDE ihristov Suse/Novell 0 10-23-2004 12:11 PM


All times are GMT -5. The time now is 01:04 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration