You are not logged in.

#1 2011-01-26 16:20:32

TFB
Member
Registered: 2010-02-27
Posts: 22

Compiz on start up

I did a re-install because of other issues and for the life of me, I cannot get Compiz to start when I boot my machine.  I have to pull up the icon and then it starts.  I am using compiz with gtk-window-decorator instead of Emerald.

This is what my startup looks like:

[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Compiz
Exec=/usr/bin/compiz ccp  #Make sure ccp is included so that Compiz loads your previous settings.
NoDisplay=true
# name of loadable control center module
X-GNOME-WMSettingsModule=compiz
# autostart phase
##-> the folloing line cause gnome-session warning and slow startup, so try not to enable this
# X-GNOME-Autostart-Phase=WindowManager 
X-GNOME-Provides=windowmanager
# name we put on the WM spec check window
X-GNOME-WMName=Compiz
# back compat only
X-GnomeWMSettingsLibrary=compiz

Pretty much straight from the wiki.

But for some reason, it won't start on boot since I did a full reinstall.  None of the desktop effects work.  Rotating the cube, zoom, etc.    If I use the compiz icon, then it will work.

I'm completely stuck.

Offline

#2 2011-01-26 23:47:10

andrewthomas
Member
Registered: 2010-05-08
Posts: 52

Re: Compiz on start up

Here is what I have:

[andrew@asus ~]$ cat /usr/share/applications/compiz.desktop 
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Compiz
Exec=bash -c 'compiz ccp decoration --sm-client-id $DESKTOP_AUTOSTART_ID'
NoDisplay=true
X-GNOME-WMSettingsModule=compiz
X-GNOME-Provides=windowmanager
X-GNOME-WMName=compiz
X-GnomeWMSettingsLibrary=compiz

Then make sure you set compiz as the required windowmanager (as a user)

$ gconftool-2 --set -t string /desktop/gnome/session/required_components/windowmanager compiz 

If you haven't done the second step, then compiz will not automatically start.

Last edited by andrewthomas (2011-01-26 23:47:30)


If this helped you, please take the time to rate the value of this post:
http://rate.affero.net/andrewthomas/

Offline

#3 2011-01-27 00:04:56

TFB
Member
Registered: 2010-02-27
Posts: 22

Re: Compiz on start up

The second line solved the problem.  I've never done the second step.  I don't know why I needed to now.

Anyway, Thanks for the help.  It works now!

Offline

#4 2011-04-02 12:11:01

niclasc
Member
Registered: 2008-09-08
Posts: 42

Re: Compiz on start up

I have the same problem. Unable to start Compiz on start up. It works if I run fusion-icon after i've logged in.

I did:
$ gconftool-2 --set -t string /desktop/gnome/session/required_components/windowmanager compiz

And now Compiz start but I have no borders on my windows. If I start with fusion-icon I have borders

What do I need to do?

Offline

#5 2011-04-02 16:59:49

AurosGamma
Member
From: San Cristobal,Venezuela
Registered: 2011-02-22
Posts: 132

Re: Compiz on start up

niclasc wrote:

I have the same problem. Unable to start Compiz on start up. It works if I run fusion-icon after i've logged in.

I did:
$ gconftool-2 --set -t string /desktop/gnome/session/required_components/windowmanager compiz

And now Compiz start but I have no borders on my windows. If I start with fusion-icon I have borders

What do I need to do?

Make sure that you have installed compiz-decorator-gtk

$ pacman -S compiz-decorator-gtk

Then go to fusion icon and set window decorator to gtk window decorator OR put the following text on terminal

$ gtk-window-decorator --replace

If you have problems let me know

Offline

#6 2011-04-13 16:32:42

niclasc
Member
Registered: 2008-09-08
Posts: 42

Re: Compiz on start up

AurosGamma wrote:
niclasc wrote:

I have the same problem. Unable to start Compiz on start up. It works if I run fusion-icon after i've logged in.

I did:
$ gconftool-2 --set -t string /desktop/gnome/session/required_components/windowmanager compiz

And now Compiz start but I have no borders on my windows. If I start with fusion-icon I have borders

What do I need to do?

Make sure that you have installed compiz-decorator-gtk

$ pacman -S compiz-decorator-gtk

Then go to fusion icon and set window decorator to gtk window decorator OR put the following text on terminal

$ gtk-window-decorator --replace

If you have problems let me know

Did that and still no Compiz on startup. When I start Compiz Fusion Icon I get the wrong theme. If I switch to Emerald then it looks ok. I want to use Emerald


I must be doing something wrong. But what?

Offline

#7 2011-04-13 16:46:29

dodo3773
Member
Registered: 2011-03-17
Posts: 814

Re: Compiz on start up

Here is what I used to get it working for me.

compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering

Using Gnome desktop.

Offline

#8 2011-04-13 16:52:56

niclasc
Member
Registered: 2008-09-08
Posts: 42

Re: Compiz on start up

dodo3773 wrote:

Here is what I used to get it working for me.

compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering

Using Gnome desktop.

Tried that and compiz seem to start at login but i get no boarders

How do I undo that command?

Offline

#9 2011-04-13 17:00:31

dodo3773
Member
Registered: 2011-03-17
Posts: 814

Re: Compiz on start up

niclasc wrote:
dodo3773 wrote:

Here is what I used to get it working for me.

compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering

Using Gnome desktop.

Tried that and compiz seem to start at login but i get no boarders

How do I undo that command?

Not sure what you mean by "undo that command" to go back to metacity type

metacity --replace

By the way I am using Emerald for my window borders. I also have that in my start up as

emerald --replace

They are two different start up commands that I put in System -> Preferences -> Startup Applications.

Offline

Board footer

Powered by FluxBB