PDA

View Full Version : Compiz Fusion: Really long startup (login).


Ub1476
June 28th, 2007, 05:29 PM
First of, I installed Compiz Fusion using this nice guide: Linky (http://ubuntuforums.org/showthread.php?t=481615)

But now, when Ubuntu loads the startup elements (after typing in user/pasw) it takes way to long time. Like when I need to type in the password to get connected to my wireless network, it takes bout 2-3 minutes before the pop-up comes. Also the splash screen stays there for at least 1-2 minutes. No problems with this when I used Beryl.

Also the weirdest thing is that I haven't set CF to load at startup.

Besides that CF runs great with my ATI X1400.

Help would be appreciated:)

kpkeerthi
June 28th, 2007, 07:55 PM
I have noticed this too with my nvidia 7800gtx. Strange.. it however starts without a delay when I run from ALT+F2.

Ub1476
June 29th, 2007, 04:33 AM
Well, good to not be alone.

bump

sawjew
June 30th, 2007, 08:29 AM
Same problem here. I had no problems with the default compiz in feisty but since installing compiz-fusion my system hangs from the splash screen for a while until everything becomes active. Any ideas?

Ultra Magnus
June 30th, 2007, 12:48 PM
I've noticed starup takes a bit longer, I have an ATI X1400 aswell so I have to start up with XORG to get the desktop effects - Just wondering do you get a grey screen before going to the regular desktop with your ATI card?

coldstatue
June 30th, 2007, 02:22 PM
I'm with you. same issues here. Runs w/ Alt+F2 just fine. Trying to have it autostart causes about 5 minutes of waiting, resulting in decoration-less windows, but transparent menus and such. W/ Alt+F2, all is well.

EDIT: I have tried changing the priority in current session. No luck. Also, the other startups don't usually run until it does. If they do, there is no transparency (for the widgets.) But then, after they load, I get menu transparencies.

smithman89
June 30th, 2007, 02:29 PM
I have that problem too, for me when i log on, it seems to hang at when nautilus starts up. It even shows the Ubuntu startup splash on my screen well after i've started using programs. Once it disappears after like 3 minutes, then all my startup programs run. Oh, P4 3.04 GHz with Nvidia Geforce 6600, in case anyone is wondering.

jogebau
June 30th, 2007, 03:39 PM
Same probs here, anybody knows anything?

kevinbeard
June 30th, 2007, 03:48 PM
This worked for me:

I had to change the default window manager back to metacity

Open up gconf (alt-f2 or terminal and run gconf-editor) and navigate to /desktop/gnome/applications/window_manager and change the value of "default" to metacity

coldstatue
July 1st, 2007, 07:29 AM
This worked for me:

I had to change the default window manager back to metacity

Open up gconf (alt-f2 or terminal and run gconf-editor) and navigate to /desktop/gnome/applications/window_manager and change the value of "default" to metacity

Do you just type in "metacity", or do you have to put a path? If so, what is the complete path?
Thanks

sawjew
July 1st, 2007, 07:32 AM
I have resolved the issue by creating a startup script for compiz as follows;
#/bin/bash
sleep 10
compiz --replace
I placed this in /home/<USERNAME>/bin made it executable then under System>Preferences>Sessions created a new startup entry pointed to this script and it now starts faster than it ever has.

NumberOne
July 1st, 2007, 09:00 AM
So far I have tried your suggestions and encountered problems as well as other suggestions in this thread.

1. I do not have a /home/<UserName>/bin directory.
2. How do you make a script executable??


I am running Ubuntu 7.04.

As mentioned, there was an above thread that listed a directory that does not exixt on my system.

Is this a common problem?? Being relativly new to Linux, this gets furstrating and time consuming.

Thanks.
T.

walkerk
July 1st, 2007, 09:25 AM
i had this issue when i first installed c-fusion but i think it was because i hadn't removed the existing compiz software.. once i removed everything compiz/beryl related and i re-installed c-fusion this problem went away..

i also load compiz with a start-up script.. just like above..

sawjew
July 1st, 2007, 09:59 AM
Sorry for not going into more detail NumberOne, I was in a bit of a hurry when I typed that message earlier. Here goes for a little more detail.

By default you do not have a /home/<username>/bin directory, it is a directory I created in my home directory for any executable scripts I have created, it is also used by Crossover Office and some other applications for the scripts they create. You don't have to use that location for the script but it keeps everything in a convenient, easily located place in the system.

So you can just open your home directory with nautilus, right click anywhere in the window, select create folder and name it "bin".


open a terminal 'Applications>Accessories>Terminal'
in the terminal type

gedit ~/bin/startcompiz


In the text editor window paste

#/bin/bash
sleep 10
compiz --replace

Save and close the file, you should now have a file named startcompiz in /home/<username>/bin
To make the script executable type the following;

sudo chmod +x ~/bin/startcompiz

Or you can open /home/<username>/bin in Nautilus, right click on 'startcompiz', select 'Properties', in the window which opens select the 'Permissions' tab, check the box which says 'Allow executing file as a program'
Now go to the System menu, select System>Preferences>Sessions
Select the 'Startup Programs' tab
click the 'New' button
type in 'Start Compiz' for the name (or whatever you like)
then browse to your /home/<username>/bin/startcompiz script
next time you login compiz should start shortly after everything else has started


If you are still having problems you could try increasing the sleep time in the script, the original script I based this on used 30 but for my system 10 was quite adequate.

PS: You may already know this, but where I use <username> like this it means substitute in your own username here, for instance my username is 'stephen' therefore my /home/<username>/bin directory is actually /home/stephen/bin.

Hope this sorts the problem out for you.

smithman89
July 1st, 2007, 12:05 PM
I basically do the same thing, i made a script on my desktop that switches to compiz (basically i have 2 scripts, 1 for going to compiz, the other goes to metacity, i use it for when i want to run games). My only prob is that even though i get to the compiz theme, my startup is still hanging. Only after like 2 minutes, then all of my startup programs begin. Its a little annoying for me, but i think its a small price to pay for compiz-fusion :D

NumberOne
July 1st, 2007, 01:01 PM
I did what Walkerk suggested, Removing all instances relating to compiz and beryl, then reinstalling compiz-fusio, and now my system starts normally,
THANKS All for you help,
T.

Ub1476
July 1st, 2007, 03:02 PM
I had to delete the hidden .beryl folder in my home directory (ctrl+h to show hidden files).:p Works well now, and added the the command compiz --replace -c emerald for it to start with borders and all.

Thanks for all replies!

kevinbeard
July 1st, 2007, 05:07 PM
Do you just type in "metacity", or do you have to put a path? If so, what is the complete path?
Thanks

You probably don't have to but I put in the full path. It's the same path on mine. (/usr/bin)

You can always type "which metacity" in a terminal to make sure you have the correct path.