LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-19-2006, 06:07 PM   #1
qqcoisa
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Rep: Reputation: 0
Run Command on boot automatically


Hi
My left-mouse button doesn't work so I use the scrool embebed button as left button. To do this I do:
xmodmap -e "pointer 2 1 3 4 5 6 7" everytime I log in.
Is there any file I can edit so Mandriva 2006 always to that command automatically on boot up?

Thanks beforehand,
Pedro Vaz
 
Old 03-20-2006, 12:27 AM   #2
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
Don't know anout Mandriva, but Slack has an /etc/rc.d/rc.local that is run at the end of the boot process. Maybe there's something similar.

Cheers,
Eddie
 
  


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
How can a command/program be run automatically on boot? chuanweizuo Linux - Hardware 1 11-28-2005 10:36 AM
How to run a command automatically on start up TKD SUSE / openSUSE 6 11-03-2005 04:41 AM
How to automatically run a command when you open a Konsole shazam75 Linux - Software 3 11-30-2004 04:02 AM
How can I run a command automatically at startup? luwigie Linux - General 8 08-26-2004 09:05 PM
How do I get Fedora to automatically run a command during startup? jlsain Linux - Software 2 03-23-2004 04:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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