You are not logged in.

#1 2012-05-12 01:34:46

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

How do you load Compiz before Gnome Session?

I'd like for Compiz to load entirely before the Gnome 3 Desktop panels slide in. Is there a way to control in what order things load in Xorg or something?


joe@trusktr.io - joe at true skater dot io.

Offline

#2 2012-05-12 01:36:16

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: How do you load Compiz before Gnome Session?

Compiz is incompatible with GNOME 3.  Or are you not running a full 3 and rather just pieces?

Offline

#3 2012-05-12 07:43:49

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: How do you load Compiz before Gnome Session?

Compiz works just fine with Gnome 3 if you choose not to use Gnome Shell. wink I use Gnome 3's panels (i.e. the classic "Fallback Mode") along with Compiz. My Gnome 3 desktop looks just like Gnome 2, but with better features (i.e. GTK3 instead of GTK2). Panel applets run on DBus now (instead of Bonobo) and all we need to do is port over some of the best applets from Bonobo to DBus. Some of the awesome Gedit 2 plugins need to be ported to Gedit 3 too.

But anyways, I still want to figure out how to load Compiz before Gnome Panel slide-in animations are fired. I believe it might have to do with xorg.conf.

Last edited by trusktr (2012-05-12 07:51:59)


joe@trusktr.io - joe at true skater dot io.

Offline

#4 2012-05-12 10:05:24

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: How do you load Compiz before Gnome Session?

No, it doesn't. What are you using to start your session?

Perhaps the easiest way would be to use startx in combination with ~/.xinitrc. You can define the order of startup in there. Take a look at it in the Wiki:
https://wiki.archlinux.org/index.php/Startx

EDIT: specifically take a look at the far bottom of that page wink

Last edited by Unia (2012-05-12 10:08:04)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#5 2012-05-13 15:04:09

rufflove
Member
From: Holmfirth, UK
Registered: 2010-11-22
Posts: 96

Re: How do you load Compiz before Gnome Session?

Assuming you're loading the desktop environment via a GNOME .session file in /usr/share/gnome-session/sessions, gnome-session should load Compiz before gnome-panel, if the xdg .desktop files are setup correctly. /usr/share/applications/compiz.desktop should include the lines:

X-GNOME-Autostart-Phase=WindowManager
X-GNOME-Provides=windowmanager

There is one major caveat, though. As far as I'm aware, this only works correctly with Compiz 0.9.x. With 0.8.x it will cause a delay because Compiz doesn't send a signal to the session manager once it has initialised - or at least it didn't the last time I used Compiz 0.8.x, which was years ago...


"Its too big and too slow"

Offline

Board footer

Powered by FluxBB