[Hampshire] Lucid - startup scripts

Top Page

Reply to this message
Author: Rob Malpass
Date:  
To: Hampshire LUG Discussion List
Subject: [Hampshire] Lucid - startup scripts
Hi all



Can anyone tell me where to put a script which I need to run once gnome has
initialised? Essentially my problem is as follows:



Not sure if they've fixed it yet but lucid had a problem with wheel mice
where when browsing in Firefox (not sure if other browsers were affected) if
you scrolled up with your wheel, Firefox would interpret this as a "Back"
operation so when you were trying to scroll back up your webpage you'd be
sent rapidly back through your browsing history. The good news is:



sudo rmmod psmouse && sudo modprobe psmouse rate=100 proto=imps



fixes this. So I need this run at some point during the boot process.
I'm so old that my first thoughts were .profile but this would require the
su password which is irritating and surely /etc/init.d/somewhere would
execute before gnome had initialised.



So could someone please suggest where I put this? Presume I can't just put
it in the Session thing in Gnome because it needs su permission to run?



Cheers

Rob

--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------