View Full Version : CompizFusion at startup in Ubuntu Feisty
luisjorge
October 9th, 2007, 08:24 AM
Hello! I just installed Compiz Fusion in Ubuntu Feisty 7.04, and everything works perfectly. The only problem is at startup, because I added the command "compiz --replace" or "compiz" to the startup programs in the session manager, but it doesn't load at startup. Also, I had gDesklets loading at startup, and they no longer do.
Any ideas on how to fix this?
Thanks in advance!
Luis Jorge.
Forlong
October 9th, 2007, 04:29 PM
You could use a script to delay the start of Compiz:
Open a text editor and type:
#!/bin/bash
sleep 5
compiz --replace &
sleep 5
gdesklets
Save the file under the name start-compiz in your home folder.
Then make it executable:
chmod +x start-compiz
And use it for the autostart.
luisjorge
October 13th, 2007, 06:10 AM
Hi! Sorry for taking so long to reply. Forlong, thanks very much for the tip. At first, it didn't work, but then I realized that Compiz was loading right when the panels were loading, so something was wrong there. I set the sleep time to a little more and worked! I now have AWN set in the same script. Compiz has failed to start properly just once in about 20 or so boots, and I think that one was something I did.
My script is this:
#!/bin/bash
sleep 16
compiz --replace &
sleep 10
avant-window-navigator
And to date, it works! Thanks!
Also, I got rid of gDesklets because they didn't seem to work properly with compiz, everything became more unstable and they were slowing down my boot time.
Fyda
October 14th, 2007, 06:21 AM
@babula: Your posts in this thread, along with responses from Forlong, have been moved to a new thread here. The original problem in this thread has been solved; please post in the new thread to continue discussing your problem. Thank you.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.