LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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-25-2008, 12:20 PM   #1
Anonymous1993
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
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
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.)
Code:
# 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.
XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT="dvorak"
XKBOPTIONS="lv3:ralt_switch"
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.

refs:
http://www.ibiblio.org/pub/Linux/doc.../Serbian-HOWTO
... 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
Anonymous1993
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
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

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


Reply

Tags
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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration