Running Scripts at startup

Archived topics about LMDE 1 and LMDE 2
Locked
Azati Prime
Level 2
Level 2
Posts: 57
Joined: Mon Jun 08, 2009 3:40 pm

Running Scripts at startup

Post by Azati Prime »

I'm trying to get Compiz working on my machine. Every time I start up I don't have all the cool compiz effects like wobbly windows and the desktop cube until I do compiz --replace or reload it with compiz fusion icon. I found this script but I'm having trouble getting it to run on boot. I saved it as /etc/init.d/compiz and ran chmod +x compiz. When I run update-rc.d compiz defaults here is what I get.
kevin@bluetux /etc/init.d $ sudo update-rc.d compiz defaults
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'K01mintsystem' missing LSB tags and overrides
insserv: warning: script 'K01compiz' missing LSB tags and overrides
insserv: warning: script 'compiz' missing LSB tags and overrides
insserv: warning: script 'mintsystem' missing LSB tags and overrides
Any ideas?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Azati Prime
Level 2
Level 2
Posts: 57
Joined: Mon Jun 08, 2009 3:40 pm

Re: Running Scripts at startup

Post by Azati Prime »

I found a much better way to accomplish what I was trying to do by following this guide but I'm still curious how to run stuff on startup.
vincent

Re: Running Scripts at startup

Post by vincent »

If you want to run certain commands at startup and with root privileges, just edit /etc/rc.local to your liking. Alternatively, you could use cron.
Locked

Return to “LMDE Archive”