LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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: Fedora {latest}
Posts: 568

Rep: Reputation: 40
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: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
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
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,137

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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



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
shortcut to switch keyboard layout in KDE ihristov SUSE / openSUSE 2 04-07-2024 03:08 PM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:18 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