LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-03-2003, 04:56 PM   #1
oasisbob
LQ Newbie
 
Registered: Aug 2003
Location: Bellingham, WA
Distribution: Gentoo!
Posts: 2

Rep: Reputation: 0
Angry Deadkeys and XF86config


I working on a new Gentoo install on my machine. (Redhat 7.2 upgraded to 8.0 upgraded to 9.0 just wasnt doing it for me anymore)

Heres my problem: Some keys on my keyboard do not work as expected. For example, the double quote key (to the left of the colon) accents the next character typed, eg é or ó or ú. I cannot get it to behave normally. (Notice the lack of apostrophes and double quotes in this post.)

I think this might be because I accidently enabled dead keys the first time I ran XF86config. I have rerun the program several times since (with various settings), and still cant get my keyboard to behave normally.

Here is the keyboard section out of my XF86Config file:

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Any ideas? Im assuming theres some setting somewhere that Im missing, but I really dont know where to look. Thanks.
 
Old 08-03-2003, 05:44 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Are you getting this problems under X? Because, if its under X, you might need to use the correct xmodmap to your keyboard layout. At /usr/share/xmodmap you have a list of maps. Then type:

xmodmap <your xmodmap here>

And see if it helps Mine is a swedish layout, so xmodmap xmodmap.se works fine for me.
I can't remember if after that, you can to copy you xmodmap to /etc/.Xmodmap or to your home directory or load it at the start up. Well, see if it helps first and I find where to put it for you

Good luck
 
Old 08-03-2003, 09:47 PM   #3
oasisbob
LQ Newbie
 
Registered: Aug 2003
Location: Bellingham, WA
Distribution: Gentoo!
Posts: 2

Original Poster
Rep: Reputation: 0
Bingo! That did the trick, but the change disappeared at restart. Anyone know how to make this change persistant? There's a variable for the keymap in /etc/rc.conf , but it's already set to US.
 
Old 08-04-2003, 05:36 AM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hi again oasisbob!!!

I'm glad it helped Now let's see if we can get it to work at start up. I'm not pretty sure how to make it starts automatically. But try this in this order, if does not work, try the next one, but do not delete what you've done previously. Perhaps some real Slackware fellow can help here .

1 - Try making a copy from your xmodmap at /home/user using this code:

Code:
cp  /usr/share/xmodmap/<your keyboard layout here> /home/user/.Xmodmap
Note: xmodmap has been renamed to .Xmodmap at your home directory. It's necessary, so stick with the code above

2 - If still not working, try this. Make a copy of your xmodmap to /etc/X11. This is an older procedure that is not necessary unless you have an older XFree86 (It can't be with Gentoo), yet, we never know how different distros works, so... Use this code:

Code:
cp  /usr/share/xmodmap/<your keyboard layout here> /etc/X11/initrc/.Xmodmap
3 - If still not working, before you get mad at me, this is the last thing to do..hehe . Open you xinitrc located at /etc/X11 and add a line with xmodmap < your keyboard layout here > right after the command which starts X. This is very personal, because I login in text mode, so maybe you have to put somewhere else if you start in graphical mode. Some peoples/distros have xinitrc at their home directory, so it's pretty much up to you where to add this line, at xinitrc or Xclients.

There's one problem using xmodmap though under Slackware. I don't know if you will face the same problem with Gentoo. After calling xmodmap, I'm unable to kill X using ctrl + alt + backspace. If you also face this problem and find a way around it please tell me heheh.

Good luck my friend. Hope this works

Last edited by Mega Man X; 08-04-2003 at 05:42 AM.
 
  


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
Deadkeys in WMaker? maginotjr Slackware 1 10-04-2005 10:59 PM
root@localhost:~# xf86config -bash: xf86config: command not found klemen Slackware 17 01-06-2005 02:56 AM
where can I find the XF86Config and XF86Config-4 files? souaw Mandriva 4 04-21-2004 09:30 AM
fluxbox deadkeys in gentoo bulliver Linux - General 3 10-02-2003 03:24 PM
accents without deadkeys in openoffice messenjah Linux - Software 1 09-19-2003 01:06 PM

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

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