[compiz] Using Compiz in KDE

Dotan Cohen dotancohen at gmail.com
Sun Aug 5 12:52:47 PDT 2007


On 05/08/07, Diogo Ferreira <diogo at underdev.org> wrote:
> 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".

That works, thank you!

Dotan Cohen

http://lyricslist.com/
http://what-is-what.com/


More information about the compiz mailing list