LinuxQuestions.org
Help answer threads with 0 replies.
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 05-13-2011, 02:59 PM   #1
gusfagan
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Rep: Reputation: 0
changing keyboard layout from US to UK (GB)


I use Puppy Linux 5.1.1. My keyboard layout is US but I want it to be UK (GB). I have used the mouse/keyboard wizard (Choose keyboard layout for your country) in Setup and made all the right choices but nothing changes. In the 'Advanced Xorg keyboard configuration', when I choose 'layouts', I am told 'Your xorg.config file does not contain any Xkb layout options'.
What else can I do?
Gus

Last edited by gusfagan; 05-13-2011 at 03:00 PM.
 
Old 05-13-2011, 04:18 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello gusfagan, welcome to LQ,

If you have a directory /etc/X11/xorg.conf.d check if there is a file "??-keyboard-layout.conf" where ?? is any number. If the file isn't there but you have this directory, you may copy (as root or with sudo) the file from the /usr/share/X11/xorg.conf.d directory to the /etc/X11/xorg.conf.d/ directory. If you have the file there change the line
Code:
Option "XkbLayout" "de"
here it is "de" for germany, default is "us", put your countrycode, probably "uk" there.

If you don't have this directory, you may find a similar file in the /etc/hal/policy/fdi directory and can change the file, don't forget to restart the hald-daemon.

Another possibility is to change the .xinitrd in your home-directory with the line
Code:
setxkbmap uk
or whatever code UK has.

Markus
 
Old 05-14-2011, 04:19 AM   #3
gusfagan
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks Markus. I don't have a directory /etc/XII/xorg.conf.d and also don't have a directory /usr/share/XII/xorg.conf.d. I also don't find the file "??-keyboard-layout.conf" in /etc/hal/policy/fdi directory (on my computer it's /etc/hal/fdi/policy and the policy folder is empty). But thanks for your quick reply. Gus
 
Old 05-14-2011, 04:30 AM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
you may look in /usr/share/hal/fdi/policy/10osvendor/ if there is a predefined fdi file for the keyboard and copy it into the policy directory for hal in /etc/hal.....

Markus
 
Old 05-14-2011, 09:32 AM   #5
gusfagan
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks again Markus. There is no fdi file for the keyboard in usr/share/hal/fdi/policy/10osvendor/.
Gus
 
Old 05-14-2011, 09:37 AM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Well, did you try the solution with the .xinitrc? Note that you'll have to restart X in order to reread the .xinitrc. And if you don't have an .xinitrc, create one with a single line (the above command).

Markus
 
Old 05-14-2011, 01:27 PM   #7
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,713

Rep: Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525Reputation: 1525
The solution will depend on how you are using Puppy: live disk, frugal install, or full install. Puppy is so different from other types of Linux that only a Puppy user is going to be able to answer you. Do you belong to the Puppy forum? If not, see
http://www.murga-linux.com/puppy
 
Old 05-15-2011, 02:51 AM   #8
gusfagan
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks Markush and David. I wasn't aware of the Puppy forum. I'll try that.
Gus
 
  


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
Changing keyboard layout? crisostomo_enrico Solaris / OpenSolaris 2 02-21-2007 04:13 AM
changing keyboard layout Valkyrie_of_valhalla Linux - General 2 08-01-2006 03:12 AM
Changing Keyboard Layout? slacker9876 Linux - Software 2 05-10-2006 05:30 PM
need help changing my keyboard layout dgeenens Slackware 4 01-05-2006 01:28 PM
Changing keyboard layout? Eits0 Linux - General 2 08-13-2002 07:57 PM

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

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