LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-19-2008, 03:52 PM   #1
Daravon
Member
 
Registered: Mar 2006
Posts: 170

Rep: Reputation: 15
Keyboard layout in the shell--complicated


I'd like to know exactly how the system keyboard layout is controlled. I usually install Ubuntu with a US keyboard and layout. Then I change the keyboard layout within the gui or, on a buddiy's machine, with
Code:
 setxkbmap dvorak
However if I set the keyboard layout in the GUI, the login screen is still Qwerty. In this case adding

Code:
"Option" "Xkbvariant"  "Dvorak'
to the xorg.conf enables Dvorak layout in the login screen. However, if I hit Ctrl+Alt+F2 to get to the 'real' terminal, the keyboard layout is in Qwerty, I assume because it exists below the Xserver and I installed the system as US.

Now when I installed on my eeepc, I told the installer to use Dvorak keyboard layout. On this machine, to the best of my memory, the keyboard layout was Dvorak in the shell, the gui, and the login screen from the get-go. But since I never relabel my keys, what if I want to change the keyboard layout to Qwerty in the terminal, so my friend can help me work on my machine?

Is there any way to change the keyboard layout in the terminal?
 
Old 03-19-2008, 05:30 PM   #2
f000l
LQ Newbie
 
Registered: Mar 2008
Location: Sweden
Distribution: Slackware 13.0
Posts: 14

Rep: Reputation: 0
Code:
loadkeys us
Is the command to load the US keymap.

You can check out /usr/share/kbd/keymaps/i386/qwerty for diffrent keymaps.
 
Old 03-19-2008, 06:37 PM   #3
Daravon
Member
 
Registered: Mar 2006
Posts: 170

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by f000l View Post
Code:
loadkeys us
Is the command to load the US keymap.

You can check out /usr/share/kbd/keymaps/i386/qwerty for diffrent keymaps.
thanks for the help.

Code:
loadkeys us
doesn't do anything, command not found. And usr/share/keymaps is empty. At least on this machine.
 
Old 03-19-2008, 08:24 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,892
Blog Entries: 27

Rep: Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182
Hi,

Did you 'man loadkeys' from the cli?
 
Old 03-19-2008, 09:17 PM   #5
Daravon
Member
 
Registered: Mar 2006
Posts: 170

Original Poster
Rep: Reputation: 15
yes, after it was posted. I can't make make much of it since /usr/share/keymaps is empty, though.
 
Old 03-20-2008, 05:40 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,892
Blog Entries: 27

Rep: Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182Reputation: 2182
Hi,
Quote:
Originally Posted by Daravon View Post
yes, after it was posted. I can't make make much of it since /usr/share/keymaps is empty, though.
You can use 'LINUX MAN PAGES ONLINE '.
 
  


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
Switching keyboard layout - Mandriva2006 - K.D.E. Windows Layout! itz2000 Mandriva 3 08-13-2006 07:43 PM
KDE Keyboard Shortcuts with different Keyboard Layout hellblade Linux - Software 5 04-18-2006 01:40 AM
keyboard layout fckivanc Ubuntu 4 09-29-2005 04:00 AM
Changing my keyboard layout (language) globally by command (shell) Santorres Linux - Newbie 1 05-17-2004 03:04 PM
uk keyboard layout in X fateslack Linux - Newbie 1 02-28-2003 05:27 PM

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

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