[compiz] Using Compiz in KDE

Diogo Ferreira diogo at underdev.org
Sun Aug 5 11:29:12 PDT 2007


On Sun, 2007-08-05 at 21:25 +0300, Dotan Cohen wrote:
> I have had a rather hard time enabling Compiz on my Dell laptop, as it
> has an ATI X1400 video card. I found a tutorial which helped me
> configure Compiz in Gnome, but I'm not about to switch to Gnome. I
> hope that someone here can help me translate the scripts used in the
> tutorial to start KDE instead of Gnome. I myself have been unable to
> do so, after a good day googling the subject.
> 
> These are the scripts:
> 
> /usr/share/xsessions/xgl.desktop:
> [Desktop Entry]
> Encoding=UTF-8
> Name=Xgl
> Comment=Start an Xgl Session
> Exec=/usr/local/bin/startxgl
> Icon=
> Type=Application
> 
> 
> /usr/local/bin/startcompiz:
> #!/bin/bash
> # # Start beryl-manager within gnome-session #
> if (( `ps -A -o comm | grep -c '^Xgl$'` == "1" )); then  DISPLAY=:1
> gnome-settings-daemon &  DISPLAY=:1 compiz --replace  else echo "${0}:
> Error: compiz not launched. Xgl not running?" fi
> 
> 
> /usr/local/bin/startxgl:
> #!/bin/sh
> Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &
> sleep 4
> export DISPLAY=:1
> exec gnome-session

Hi, provided you have the ati driver setup correctly, which I think you
do because you enabled it on gnome, you just have to replace that last
line "exec gnome-session" with "exec startkde".
> 
> 
> This is the address of the original tutorial:
> http://blog.stephanbuys.com/2007/04/compiz-and-ubuntu-feisty-fawn-ati-x1400.html
> 
> Thanks in advance.
> 
> Dotan Cohen
> 
> http://lyricslist.com/
> http://what-is-what.com/
> _______________________________________________
> compiz mailing list
> compiz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/compiz

Diogo Ferreira



More information about the compiz mailing list