LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-20-2009, 11:54 AM   #1
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
why does X overwrite my rc.keyb?


I have a perfectly good keyboard definition until I go into X windows.

Probems occurred because I started using a Spanish instead of UK keyboard. I just changed the rc.keyboard script in rc.d and everything was fine, as lon as I didn't "startx".

I delted all my previous .Xmodmap files, so that none would interfere. But when I am in X, the console profs I use (mrxvt) use a US keyboard by default.

It looks as if X wants absolutely nothing to do with the nonX environment.

My xorg.conf: I looked in there, doesn't offer me anything about the keyboard type.

Anybody with any useful advice?
 
Old 10-20-2009, 12:40 PM   #2
rg3
Member
 
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
rc.keymap sets the keyboard for virtual terminals. X handles the keyboard on its own. In Slackware 13.0, the standard procedure is to copy /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to /etc/hal/fdi/policy/ and edit the file in the second directory, changing the entry that sets input.xkb.layout to "es" in your case, as in:

<merge key="input.xkb.layout" type="string">es</merge>
 
Old 10-20-2009, 01:09 PM   #3
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Rep: Reputation: 35
Quote:
Originally Posted by rg3 View Post
rc.keymap sets the keyboard for virtual terminals. X handles the keyboard on its own. In Slackware 13.0, the standard procedure is to copy /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to /etc/hal/fdi/policy/ and edit the file in the second directory, changing the entry that sets input.xkb.layout to "es" in your case, as in:

<merge key="input.xkb.layout" type="string">es</merge>
I have yet to do this, to change from the default us to uk..., but why isn't this step as part of the install, or otherwise more simple?
 
Old 10-20-2009, 01:49 PM   #4
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438

Original Poster
Blog Entries: 5

Rep: Reputation: 32
Thanks rg3, but had no luck with that, I'm on slack v12.2 ... which I didn't expect to be a big deal (all HAL directories were there).

I think I'll just download an .Xmodmap from the web and stick it into my $HOME.
 
Old 10-21-2009, 08:37 AM   #5
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438

Original Poster
Blog Entries: 5

Rep: Reputation: 32
Actually while the suggestions <light sarcasm>flood in</light sarcasm>, I foudn a rather convenient tool
Code:
setxkbmap es
works fine .. have put it in my .bashrc.
 
Old 10-22-2009, 01:15 AM   #6
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Rep: Reputation: 35
Can someone please enlighten as to why this step is needlessly complex?

How come when setting the keymap, slack does not copy the appropriate HAL files so X is also set up correctly?
 
  


Reply



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
Kde 3.3 won't run keyb shortcuts? bruno buys Linux - Software 0 02-11-2005 07:01 AM
keyb shourtcuts in windowmaker??? bruno buys Linux - General 0 06-24-2004 12:59 PM
My own mapped keyb (?) erickFis Slackware 4 02-19-2004 10:53 AM
How to set keyb locale without X? Bamse123 Linux - Newbie 1 12-07-2003 06:33 AM
KDE 3.1 & Keyb Layout ..:eMa:.. Slackware 7 09-25-2003 10:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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