LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 12-03-2004, 05:09 PM   #1
kmeehl
Member
 
Registered: Feb 2004
Posts: 30

Rep: Reputation: 15
xmodmap not working in .xinitrc


I am using xmodmap to remap my mouse buttons. The command works fine if i issue it manually, but I am unable to get X to issue it upon startup. Here is my .xinitrc file:

Code:
#!/bin/sh

xmodmap -e "pointer = 1 2 3 6 7 4 5 8"
And yes, its executable...

Thanks for any help.

-kM
 
Old 12-03-2004, 06:14 PM   #2
Slovak
Member
 
Registered: Oct 2004
Location: North Olmsted, Oh
Distribution: Slackware 10
Posts: 206

Rep: Reputation: 30
Looks to me as if it is a script within xinitrc, remove the "#!/bin/sh". Open xinitrc as root in an editor of your choice, and put this in there BEFORE the startkde line.

# xmouse config
xmodmap -e "pointer = 1 2 3 6 7 4 5 8"

Save the file, and restart "x"
 
  


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
xmodmap chrismiceli Linux - Software 2 06-29-2006 04:18 AM
xmodmap help pitt30 Slackware 11 01-14-2005 05:54 AM
xmodmap snt Linux - Software 0 11-15-2004 09:59 AM
xinitrc won't execute xmodmap! carboncopy Slackware 1 03-17-2004 04:26 AM
xinitrc not working and mozilla fails to download AlteZza2k2 Linux - Software 5 10-05-2003 02:57 AM


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