LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 12-05-2003, 08:50 PM   #1
txmjafg
LQ Newbie
 
Registered: Oct 2003
Distribution: suse
Posts: 6

Rep: Reputation: 0
xmodmap won't run automatically


Hello,
I ocassionally need to type text in Spanish, so I edited the .Xmodmap file within my home directory including the line:

keycode 117 = Multi_key

I expected each time I logged in, the compose key was going to be activated automatically, but I need to invoke the xmodmap -e .Xmodmap each time and the multi_key activation won't last the entire session. I'm using SuSE 8.2.

Does anybody have ideas on how to fix this?

/Jaime
 
Old 12-06-2003, 12:41 AM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
can you put the xmodmap command that you use in your ~/.bashrc or ~/.bash_profile and see if that will work?
 
Old 12-11-2003, 08:18 PM   #3
txmjafg
LQ Newbie
 
Registered: Oct 2003
Distribution: suse
Posts: 6

Original Poster
Rep: Reputation: 0
Sorry for the delay. I was off for a while...

the command I use is:

xmodmap .Xmodmap

It works for a while, since I can type <Menu>'a and get an , for example. The funny thing is that, after some minutes, the compose key does not work as expected, so I need to retype

% xmodmap .Xmodmap

I don't know exactly how long the command's effect lasts, but I wonder what makes it to last.

Thanks/Jaime
 
Old 12-14-2003, 10:44 PM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
well the command stays in effect for the duration of your shell console session. that's why i was wondering if you put that command in your ~/.bashrc file if that would work for the duration of your login session as opposed to lasting only the duration of your shell console session.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc/X11/xinit/.Xmodmap; run level 4 won't init script Potatopopper Slackware 5 11-27-2005 08:37 PM
Forcing xmodmap to be run on each restart lazymanc Debian 1 05-16-2005 02:01 PM
How do I get /etc/rc.fw to run automatically upon boot? abefroman Linux - Networking 1 05-01-2005 12:02 AM
How would I have dldrconfig -a run automatically.... wcn Linux - Wireless Networking 3 12-10-2004 07:29 PM
How can I run a command automatically at startup? luwigie Linux - General 8 08-26-2004 10:05 PM


All times are GMT -5. The time now is 05:56 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration