Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-25-2008, 12:20 PM   #1
LQ Newbie
Registered: Nov 2007
Posts: 12

Rep: Reputation: 0
Can't change keyboard layout in Ubuntu 8.04 login screen

I have just upgraded from Gutsy to Hardy and before I could login I ran onto a problem, please help. Not so long ago,I thought I will never have to boot XP again, but I was wrong. My default keyboard layout in Gutsy was
Serbian(Latin), but I also had Serbian(Cyrillic) as my secondary layout.
These letters are quite different, so I can't type my username and password in the login screen, because since the upgrade the default layout is switched to Serbian(Cyrillic) and I can type my username and password correctly only if a Latin keyboard layout is configured(this includes English, German, etc.) Since I can't do it from the login screen( or so I think), is there any other alternative to it?
Thank you.
P.S. Sorry for bad English.

Last edited by Anonymous1993; 04-25-2008 at 12:24 PM.
Old 04-26-2008, 05:20 AM   #2
Simon Bridge
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
The login screen uses a different configuration script to the main part. To change the keyboard layout it uses you have to edit the configuration file. (I had the same issue changing to dvorak).

To get the gdm login screen to recognise the your layout,

sudo gedit /etc/default/console-setup

... add the XKBVARIANT="$your-layout"
in the correct place. (eg. see mine below.)
# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.
You'll need to put the sr_CS in the right place.

Note - I have been harassing native English speakers for months about writing decent English. Yours is perfect. (i.e. your English is better than most natives.) Relax.

... an old serbian howto - I did not see the login config in there - but it does give a good overview as to how locales work.
Old 04-26-2008, 06:44 AM   #3
LQ Newbie
Registered: Nov 2007
Posts: 12

Original Poster
Rep: Reputation: 0
The problem is that I can't even login with Serbian(Cyrillic) keyboard set as default in GDM. Anyway, thanks for the advice, both for the layout and English.
Old 04-26-2008, 08:31 AM   #4
Simon Bridge
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Yes - you will have to edit the file from a live session.


keyboard, layout, login, screen, ubuntu

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
Cannot change keyboard layout mikerobinson Linux - Hardware 10 04-20-2009 03:54 PM
how to change boot screen,splash screen,login themes while custmzing ubuntu cd project_sap Linux - Newbie 1 04-07-2008 07:12 AM
How to change keyboard layout abd_bela Solaris / OpenSolaris 11 01-30-2008 03:26 AM
KDE login screen keyboard layout Julkku Linux - Software 0 03-28-2005 05:21 AM
How do i change the keyboard layout? ArmedCoder Linux - Hardware 0 11-20-2003 06:25 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:55 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
Open Source Consulting | Domain Registration