Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-22-2010, 01:03 AM   #1
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 445

Rep: Reputation: 18
linux keyboard layout problem

Hello every body
I add a keybord layout to my linux except US language and add keyboard layout switching key . first of all why this key switching does not work in most linux distribution (fedora 8) and super ubuntu 8.04 and ubuntu 9.10 then when linux goes to stand by and locked the keyboard layout goes to it's second (non english) layout that I can not change it to entering my password in english to login. how does it work or how can i fix it. I have this problem on fedora ubuntu and debian.

Thanks for any help.
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-23-2010, 10:00 AM   #2
Senior Member
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
I am using openSuSE, i don't face such problem. I can easily switch between US keyboard and my local lang keyboard.
Tell us how you added keyboard layout. how you are switching ? are you using SCIM ?
Old 02-23-2010, 02:21 PM   #3
LQ Newbie
Registered: Feb 2010
Location: Tallahassee, FL
Distribution: Gentoo
Posts: 7

Rep: Reputation: 1
I found this on ArchWiki :

You can edit xorg.conf

To change the keyboard layout, use the XkbLayout option in the keyboard InputDevice section. For example, if you have a keyboard with English layout:

Option "XkbLayout" "us, se"
Option "XkbOptions" "grp:caps_toggle"

This makes your Caps Lock key switch between the different layouts. This is mainly useful if you do not run a Desktop Environment which takes care of keyboard layouts for you.

I also use "setxkbmap en" or "setxkbmap tr" to change the keyboard layout.(en is for english, tr is for turkish... list of keyboard layouts :/usr/share/X11/xkb/rules/xorg.lst)
If you are using KDE or Gnome it is much simpler and you can have an applet near the clock for this purpose. I also experienced that in KDE4 you can assign key combination to switch keyboard layout. For example you can assign windows-key for this operation. it is very useful when you only need to switch to the second layout temporarily. It is like a shift key.
2 members found this post helpful.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with scandinavian keyboard layout Sordo Linux - Software 1 04-26-2009 05:17 AM
XDMCP Keyboard Layout Problem TennesseeFred Linux - Software 1 04-18-2007 07:40 PM
Switching keyboard layout - Mandriva2006 - K.D.E. Windows Layout! itz2000 Mandriva 3 08-13-2006 06:43 PM
IBM/Lenovo Thinkpad problem: SuSE Linux 10.1 - wrong keyboard layout arne123 Linux - Laptop and Netbook 7 07-07-2006 04:08 PM
Keyboard layout problem theonebeyond Linux - General 22 12-13-2004 01:38 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration