GDM and terminal default keyboard layout

Asked by Jan Kaláb

How may I change default keyboard layout in GDM login screen and virtual terminals from my local layout (Czech) to default English?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
debianmigrant
Solved:
Last query:
Last reply:
Revision history for this message
debianmigrant (debianmigrant) said :
#1

In Gnome go to System => Administration => Language support => You should see the option for default language

Hope that helps

Revision history for this message
debianmigrant (debianmigrant) said :
#2

Sorry misread your question

Revision history for this message
debianmigrant (debianmigrant) said :
#3
Revision history for this message
Jan Kaláb (pitel) said :
#4

Yeah, but is't he language which is displayed on the screen, and I want this to be Czech. But I just don't want to change default keyboard layout. I have it set after I log on, but GDM seems to use different settings. Oh, and Feisty here.

Revision history for this message
Jan Kaláb (pitel) said :
#5

The applet works fine, after I log on. An sorry for typo: I WANT to change keyboard layout of login screen (and virtual terminals)

Revision history for this message
Best debianmigrant (debianmigrant) said :
#6

I think you need to edit you xorg config:

sudo gedit /etc/X11/xorg.conf

And find section "InputDevice" and change Option to:

 Option "XkbLayout" "us"

Hope that helps

Revision history for this message
Jan Kaláb (pitel) said :
#7

Thanks, it solved the GDM keyboard! And now... what about virtual terminals?

Revision history for this message
debianmigrant (debianmigrant) said :
#8
Revision history for this message
Jan Kaláb (pitel) said :
#9

Ahem, I mean virtual terminals... when you press Ctrl+Alt+F1-6. Not Gnome terminals.

Revision history for this message
debianmigrant (debianmigrant) said :
#10

http://wiki.linuxquestions.org/wiki/Configuring_keyboards

I don't know if there's an easier way (GUI to do it in Ubuntu)

Revision history for this message
debianmigrant (debianmigrant) said :
#11

Actually that doesn't apply in Ubuntu.. Sorry

Revision history for this message
debianmigrant (debianmigrant) said :
#12

MULTIPLE KEYBOARDS:
You can use setxkbmap to do it. For example, to load 3 keyboards - english, german and italian (us, de, it) and to switch between them using BOTH SHIFTS, run this:

setxkbmap -option grp:switch,grp:shift_toggle us,de,it

Revision history for this message
Jan Kaláb (pitel) said :
#13

Thanks Nolongerhere, that solved my question.

Revision history for this message
Jan Kaláb (pitel) said :
#14

And about the terminal:

/etc/default/console-setup
XKBLAYOUT="us"

Revision history for this message
Arno Teigseth (arno-teigseth) said :
#15

If you would like a variant of a layout (like I want Norwegian dvorak, not regular Norwegian):

stick the lines
        Option "XkbLayout" "no"
        Option "XkbVariant" "dvorak"

into Section "InputDevice" of your /etc/X11/xorg.conf