Click to See Complete Forum and Search --> : HOW TO: Start-up scripts???


Disciple
08-06-2001, 10:37 PM
I've setup the Intellimouse Explorer to run properly all except for the startup script. I don't know where to start or read on how to do a script, but I do know that the all the script has to have in it is:

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

Any ideas on where maybe I can readup simple auto start scripts, or if one of you is willing, would you be as so kind to tell me where I need to put it and how to do it, that would be even better =/..thx D|s

Captain Penguin
08-06-2001, 10:45 PM
Originally posted by Disciple:
<STRONG>I've setup the Intellimouse Explorer to run properly all except for the startup script. I don't know where to start or read on how to do a script, but I do know that the all the script has to have in it is:

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

Any ideas on where maybe I can readup simple auto start scripts, or if one of you is willing, would you be as so kind to tell me where I need to put it and how to do it, that would be even better =/..thx D|s</STRONG>

THANK YOU! for saving me the trouble.. I was just about to post the exact same thing!

I also wanted to know how to automatically execute nvclock at startup as well, if someoen could tell me that'd be great!

(slackware 8.0 running KDE, FYI)

Malakin
08-06-2001, 11:00 PM
Things you want started up automatically when your system boots like nvclock you can put in your /etc/rc.local or link to the script you've written from there.

If it's something you would like run after x starts up and you're using kde you can put a link to it in $HOME/.kde/Autostart
(xmodmap would go here I think)

Disciple
08-06-2001, 11:18 PM
what about in GNOME...GNOME doesn't have a AUTOSTART dir.

teeitup
08-06-2001, 11:27 PM
I think you need to read this...
http://www.xfree86.org/current/mouse

This site will explain all you need to know.
You may need to read it more than once and try a few different configs.

I've never heard of a separate script for a mouse.

Good Luck,

Captain Penguin
08-07-2001, 06:00 PM
hmm.. I'm confused!

Autostart is a directory! What do I put in there?

Captain Penguin
08-08-2001, 12:47 AM
UP

Malakin
08-08-2001, 06:21 PM
Put links to whatever you would like started in the Autostart directory(it's just like the windows startup folder if you're from a windows environment). You can do this from the kde gui by dragging an executable file into there and clicking "link" instead of move or copy. Or you can do this from the command line, example: "ln /usr/local/bin/myprogram $HOME/.kde/Autostart -s"