LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-04-2006, 02:07 AM   #1
raid517
Member
 
Registered: Feb 2002
Posts: 393

Rep: Reputation: 30
The impossibility of changing keybords?


Hi, can anyone please tell me how to go about changing the keyboard layout in Xubuntu? I assume, since it's Debian that the process should be the same for any flavour of Debian and Xubuntu - hence why I am appealing to Debian - and other users also.

Here is a list of what I have tried so far:

dpkg-reconfigure xserver-xorg (worked until reboot), kbd-config did nothing, dpkg-reconfigure console-data, went through configuration process - but had no end effect, I did 'setxkbmap gb' - but again, this didn't survive a reboot, I edited my xorg.conf file to read: "XkbLayout" to "gb", but once again, this worked only until a reboot. I also tried writing a little script with the following syntx:

Code:
#! /bin/sh

setxkbmap gb

exit 0
and pretty much adding this to every available spare slot on each run level - but again to no effect. (I have no idea if I got the script right though - as I know nothing about these kinds of things. (Although I did test it by running the script from the command line - and it worked without a hitch)

Can anyone suggest what might be going on and possibly how to fix it?

I wondered if perhaps GDM might have anything to do with it?

Edit:

Of course I just realised my silly mistake/typo in the title.

Sorry...

GJ

Last edited by raid517; 05-04-2006 at 02:13 AM.
 
Old 05-05-2006, 02:49 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Try plugging in:
setxkbmap gb

In your ~/.xinitrc file. If you are using GDM to login everytime, you can choose to use your system wide Xinit file if your system has one (on Fedora currently, so I can't exactly check out Debian):
/etc/X11/xinit/xinit-common

Note that this will effect every user on your system. A single user way is to use ~/.xinitrc OR ~/.xsession

HTH

Cool
 
Old 05-05-2006, 10:28 AM   #3
raid517
Member
 
Registered: Feb 2002
Posts: 393

Original Poster
Rep: Reputation: 30
No, I don't think you get it. That wouldn't have matterd - the guy who made this had written an almost bullet proof script and had stuck it in /etc/init.d (which is where debian runs it's start up scripts from), which made sure that it was very difficult for xorg.conf to be overwritten. (And hence very hard to alter the keyboard layout).

I would love to know why he did this - but there you are.

GJ
 
Old 05-05-2006, 11:42 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
The guy who made what, kubuntu? And stuck what exactly in /etc/init.d? If you are talking about changing the keyboard in X, using the X startup file is what you should be looking for, not the system startup file. X is not linux, the init scripts are for getting the OS running which may or may not have X installed. Then from there X uses it's config and init files to start, not the system /etc/init.d or /etc/rc.d files.

Cool
 
  


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
Problem changing the video adapter setting and changing the screen resolution habiblove Linux - General 3 02-18-2006 05:10 PM
Changing WM wellington Linux - Software 3 02-09-2005 01:40 PM
Changing BG in VC Krao Linux - General 0 09-03-2004 11:13 AM
Impossibility to use a Pinnacle DC10+ and a Pinnacle PCTV Pro at the same time vaisarger Linux - Hardware 1 08-27-2004 04:56 AM
Changing Hd rilians Linux - General 9 10-16-2003 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:40 PM.

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
Open Source Consulting | Domain Registration