Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 05-16-2005, 11:59 AM   #1
LQ Newbie
Registered: May 2005
Distribution: Debian
Posts: 7

Rep: Reputation: 0
Forcing xmodmap to be run on each restart

After some messing about trying to get my mx310 working correctly in x, I have followed a couple of guides and it seems to be working correctly.

However, at the minute i'm having to manually enter

xmodmap -e "pointer = 1 2 3 6 7 4 5"

after each restart to get my scrollwheel working correctly. In fedora I had an xmodmap file in /etc/X11/ that I could place this line into, but debian doesn't have it. Where can I put it to force it to be run each reboot?
Old 05-16-2005, 02:01 PM   #2
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,481

Rep: Reputation: 88
/etc/rc.local? (At least on Redhat 9, any shell commands you put in there get executed at each reboot).


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
/etc/X11/xinit/.Xmodmap; run level 4 won't init script Potatopopper Slackware 5 11-27-2005 08:37 PM
forcing program to run in root mode acidjuice Linux - Software 1 03-09-2005 08:17 AM
run script when restart ust Linux - Software 4 08-25-2004 04:13 PM
xmodmap won't run automatically txmjafg Linux - General 3 12-14-2003 10:44 PM
I wants to run the script(xx) while restart the system. help pls... fmohideen76 Linux - General 2 07-11-2002 02:15 PM

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