Autostart Compiz-Fusion in the login window

De WikiMar
La revisió el 13:17, 25 jul 2008 per Marti (discussió | contribucions) (Pàgina nova, amb el contingut: «With this system, the user can specify in the login screen either to start with Compiz or not. /usr/share/xsessions/kde.desktop Create: ...».)
(dif.) ← Versió més antiga | Versió actual (dif.) | Versió més nova → (dif.)
Salta a la navegació Salta a la cerca

With this system, the user can specify in the login screen either to start with Compiz or not.


/usr/share/xsessions/kde.desktop

Create:

                     compiz-fusion-myprofile.desktop

With:

[Desktop Entry]
Encoding=UTF-8
Type=XSession
Name=Compiz-Fusion
Exec=/usr/bin/compiz-fusion-myprofile.desktop
Icon=
Type=Application

then do:

chmod 644 compiz-fusion-myprofile.desktop

Optionally create

/usr/bin/compiz-fusion-myprofile.wrapper

with:

#!/bin/sh
/usr/bin/compiz --replace  (and all other Compiz parameters you want)

And create

/usr/bin/compiz-fusion-myprofile.sh

with:

#!/bin/sh
export KDEWM=compiz-fusion-myprofile.wrapper

and do:

chmod 755 compiz-fusion-myprofile*