Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-03-2004, 04:09 PM   #1
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:


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

Thanks for any help.

Old 12-03-2004, 05:14 PM   #2
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"


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

All times are GMT -5. The time now is 02:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration