PDA

View Full Version : [ubuntu] [SOLVED] Where would you throw scripts that you want to startup automatically?



wardrich
October 28th, 2008, 08:35 AM
I want to write a script. or append a line to a file that loads up when the system starts... Really, all I want is for the system to automatically "xset -b"... because I'm sick of getting my ears blasted with a loud BEEP when I hit backspace too many times. lol.

billgoldberg
October 28th, 2008, 08:37 AM
Well, the system beep can be disabled in system, preferences, sound.

But to answer your question:

system, preferences, sessions is where you would put your scripts you want started at boot.

Rinzwind
October 28th, 2008, 08:39 AM
From memory:


sudo gedit /etc/modprobe.d/blacklist
Append this line:
blacklist pcspkr

To kill the speaker this time:

sudo modprobe -r pcspkr

wardrich
October 28th, 2008, 08:50 AM
Thanks guys! I can't believe I missed that option there to turn it off... :\

Xiong Chiamiov
October 28th, 2008, 08:55 AM
I learned today to add things to /etc/rc.local.