You are not logged in.

#1 2013-05-04 19:00:10

instantaphex
Member
Registered: 2012-07-07
Posts: 67

[SOLVED] Can't start compiz with gnome

When I set up gnome initially, I used the following wiki guide:

https://wiki.archlinux.org/index.php/Co … k_Users.29

I had some issues after upgrading to gnome 3.8 that have now since been solved.  I wen't through quite a bit trying to fix it and now somehow compiz isn't starting with my gnome/compiz session.  It starts just fine if I run

$ compiz ccp --replace

after logging into the session.  I think I'm simply not understanding how this session that I've installed works (or .session files in general).

here is my /usr/share/gnome-session/sessions/gnome-compiz.session:

[GNOME Session]
Name=GNOME Compiz
RequiredComponents=compiz;cairo-dock;gnome-settings-daemon;
RequiredProviders=notifications;
DefaultProvider-windowmanager=compiz
DefaultProvider-notifications=notification-daemon

I tried removing cairo-dock from the above file just to make sure that this is the file actually being used and it did start up without the dock as I guessed.  Obviously this file is being used.  Why won't compiz start as well?  I also tried adding gnome-panel to the file and gnome-panel did not start.  Is this because it needs a .desktop file as well?  I assume so.

Here is my /usr/share/xsessions/gnome-compiz.desktop:

[Desktop Entry]
Encoding=UTF-8
Name=GNOME/Compiz
Comment=This session logs you into the GNOME desktop environment with Compiz and Cairo-Dock
Exec=/usr/bin/gnome-session --session=gnome-compiz
Icon=compiz
Type=XSession

and here is my /usr/share/applications/compiz.desktop:

[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Compiz
Exec=bash -c 'compiz --replace --sm-client-id $DESKTOP_AUTOSTART_ID --keep-desktop-hints ccp decoration'
NoDisplay=true
# name of loadable control center module
X-GNOME-WMSettingsModule=compiz
# autostart phase
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

Last edited by instantaphex (2013-05-04 20:59:44)

Offline

#2 2013-05-04 20:36:18

instantaphex
Member
Registered: 2012-07-07
Posts: 67

Re: [SOLVED] Can't start compiz with gnome

So I started to think that maybe compiz was actually starting up but the ccp argument wasn't taking.  I ran

 $ pgrep -l compiz 

and got no output.  So compiz really isn't starting at all.  What gives?

Offline

#3 2013-05-04 20:59:29

instantaphex
Member
Registered: 2012-07-07
Posts: 67

Re: [SOLVED] Can't start compiz with gnome

I was able to fix this by removing everything from $HOME/.config/autostart

Offline

Board footer

Powered by FluxBB