Translate Gnome startup script to KDE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 just
for some eye candy. 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


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/
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux