LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-16-2005, 10:59 AM   #1
lazymanc
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, 01:01 PM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

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


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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