You are not logged in.
I've configured my gnome setup to autostart with compiz-fusion following the wiki:
GNOME Autostart (without "fusion-icon")
1) Create /usr/share/applications/compiz.desktop containing the following:
[Desktop Entry] Type=Application Encoding=UTF-8 Name=Compiz Exec=compiz ccp 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
Note: If that doesn't work try:
Exec=compiz ccp --indirect-rendering
Instead of:
Exec=compiz ccp
2) Set a GConf parameter using the gconftool-2 command in a terminal window:
gconftool-2 --set -t string /desktop/gnome/session/required_components/windowmanager compiz
This works fine, but there are times when I want to altogether disable the 3d effects. If I fire up fusion-icon or simply run a
metacity --replace
it causes X (or gnome) to crash and I'm sent back to GDM after X restarts.
What I would like to have is 2 different sessions to choose from in GDM: metacity, and compiz-fusion. Can someone help me out?
Thanks,
Shane
Last edited by sjb933 (2009-06-10 20:13:11)
Offline
Well, thanks to everyone whom apparently looked at this thread. I guess I stumped a few. I did however come up with a solution:
First I created 2 executable files in /usr/local/bin
#!/bin/bash
gconftool-2 --set -t string /desktop/gnome/session/required_components/windowmanager compiz
exec gnome-session
#!/bin/bash
gconftool-2 --set -t string /desktop/gnome/session/required_components/windowmanager metacity
exec gnome-session
Then I modified the Desktop entry for GNOME, and created my own for Compiz
[Desktop Entry]
Encoding=UTF-8
Name=GNOME
Comment=This session logs you into GNOME
Exec=/usr/local/bin/gnome-start-boot
TryExec=gnome-session
Icon=
Type=Application
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=GNOME Compiz
Exec=/usr/local/bin/compiz-start-boot
Icon=
Type=Application
Now when each of my scripts is run (by selecting a desktop session), it sets the appropriate window manager before firing up Gnome.
-Shane
Last edited by sjb933 (2009-06-10 20:14:54)
Offline
oh, nice. I'll try this one now. I was searching for a clean way to choose compiz through gdm (not just replacing it after startup).
:: i wanna see movies of my dreams
Offline
Ok I've tested it, it loads compiz just fine, but somehow it doesn't load emerald. I have windows decorations enabled and if I use the fusion-icon emerald loads up properly. Should I force emerald in the session?
EDIT: Fully working now. I forgot to create the compiz desktop entry. x-x
Last edited by p0ft (2009-09-08 05:02:38)
:: i wanna see movies of my dreams
Offline