LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-24-2006, 04:51 AM   #1
seafish_69
LQ Newbie
 
Registered: Apr 2006
Posts: 12

Rep: Reputation: 0
Ctrl+Alt+K (Keyboard layout) question


Hello.
I have two keyboard layouts installed, English (US) and Russian (RU). The shortcut to switch between the two is ctrl+alt+k.
However, when I do the shortcutting, it only works half-way, i.e. it only switches from English to Russian. A second ctrl+alt+K does NOT switch it back from Russian to English, so I have to move the mouse pointer to the panel and left-click on the flag every time I need to switch from Russian to English.
This is inconvenient and I have not found a workaround, so any thoughts or suggestions are welcome and appreciated.

My system is SuSe 10.0
 
Old 04-25-2006, 03:21 PM   #2
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
It can be changed by the graphical server itself. I am switching between Danish and Russian - я-учитель русского языка - and I have edited the xorg.conf to accomodate this. I have a CoreKeyboard section ending with the following:
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "dk,ru"
Option "XkbOptions" "grp:shift_toggle,grp_led:scroll"

This means that I change encoding by pressing both Shift keys together. The ScrollLock light indicates which layout is active.
 
Old 04-27-2006, 01:48 AM   #3
seafish_69
LQ Newbie
 
Registered: Apr 2006
Posts: 12

Original Poster
Rep: Reputation: 0
thanks a lot, will give it a try.
yesterday I was told by a local Linux guru that the Ctrl+Alt+K combination is actually a KDE "bug" (an annoying feature the KDE dev team has not been able or willing to get rid of so far).

Спасибо, датский друг!
 
Old 04-30-2006, 11:50 AM   #4
seafish_69
LQ Newbie
 
Registered: Apr 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Hello again OSourceDiplomat,

are we talking /etc/X11/xorg.conf?
if yes, the part of this file that you were talking about looks like this:

...
# PLEASE DO NOT EDIT THIS FILE!
#

Section "ServerLayout"
Identifier "Layout[all]"
Screen "Screen[0]" 0 0
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "off"
EndSection


If I read you correctly, after I've added the lines as per your instructions, should it look like this?

# PLEASE DO NOT EDIT THIS FILE!
#

Section "ServerLayout"
Identifier "Layout[all]"
Screen "Screen[0]" 0 0
InputDevice "Keyboard[0]" "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "en,ru"
Option "XkbOptions" "grp:shift_toggle,grp_led:scroll"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "off"
EndSection
 
Old 04-30-2006, 05:25 PM   #5
ZoMBiE_KiLLeR
Member
 
Registered: Apr 2006
Posts: 34

Rep: Reputation: 16
I found some other shortcuts if you need them

KDE HotKeys
ALT-Tab Task List Selection
Ctrl-Tab Desktop Selection
Ctrl-Esc KDE System Gaurd
Alt-F1 Start Menu
Alt-F2 Run Command
Alt-F5 Desktop Icon Arrangement
Ctrl-Alt-F1 Exit to command prompt
Ctrl-Alt-F7 or F8 Takes you back to KDE desktop from command prompt
Alt-underlined letter: Performs task associated to the window menu panel
Tab To move from button to button
Crtl-Alt-Backspace Restart XWindows
Alt-(leftclick mouse) To hold on to the window/GUI and move it around
Ctrl-F Switch to desktop
Ctrl-Alt-Delete Log out (safely)
Ctrl-Alt-PgUp Reboot
Ctrl-Alt-PgDown Shutdown computer
Ctrl-Alt-L Lock Screen
Alt-F5 Show list of all windows
Alt-F1 Show K Menu (can also be the Windows key)
Ctrl-Alt-D Show desktop
Ctrl-Print Take screenshot (to clipboard, must paste it somewhere, e.g. konqueror)
Alt-Print Take screenshot of active window only
 
Old 05-01-2006, 02:42 AM   #6
seafish_69
LQ Newbie
 
Registered: Apr 2006
Posts: 12

Original Poster
Rep: Reputation: 0
ZoMBiE KiLLeR,

Thanks for the heads-up-- I've read about these in the SuSE Help :-)
My problem, as I have explained in the beginning, is that Alt+Ctrl+K shortcut, which is supposed to be a global toggle for keyboard layouts (which are set up via Control Center > Regional and Accessibility > Keyboard Layout), does not seem to work the way it is supposed to. It only works, if I may say so, half-way: when in the English layout, an Alt+Ctrl+K toggles to Russian. However, a repeated action does NOT revert the layout back from Russian to English. The result is, I have to reach for the mouse and make an extra move with the cursor, which is unconvenient. I am pretty sure the solution is somewhere there but I haven't figured it out yet.
I tried what OSourceDiplomat suggested but it did not seem to work for me (maybe I did something wrong).
 
  


Reply

Tags
encoding, xorgconf



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
X11 and keyboard: cannot use Alt-Ctrl-XX eddie.plan9 Linux - Software 2 04-17-2006 12:57 AM
dark screen when pressing Ctrl + Alt + Backspace or Ctrl + Alt F1-F6 in Gnome or KDE trinoo Slackware 5 01-28-2005 08:13 AM
Can't use the alt key on SUSE (personal) with a French Keyboard layout Red Alastor Linux - Newbie 2 05-22-2004 02:25 PM
Alt Keyboard Layout Setup esp Russian luegner Slackware 1 11-23-2003 01:22 AM
How to change the keyboard layout with Ctrl + Shift? geraldomanaus Linux - Newbie 1 12-12-2002 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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