I've written a small script that flashes my caps-lock LED when I get new mail as I run Evolution on a different desktop to my main working / browser desktop.
I'm after having this script start when my system is booted and stops when the system shuts down. Apart from writing an init script, is there any other/better way to start the script?
I did think of running it from the .bashrc file, but was unaware that this fires every time I open a new terminal window. Additionally, the script calls setleds, which needs to be run from the console (i.e. Ctrl+Alt+F1 etc...).
Any help much appreciated.
Nick