Desktop Effect for ATi Graphics Card


This is not about Beryl!!!! only Desktop effect in Feisty

First Thanks to Thanks to Kittypee's Blog to show us how  to configure my Ubuntu fo enable Desktop Effects and without any changes in Gnome

Resolutions

1.  Install  ATi  Driver : sudo apt-get install xserver-xorg-video-ati

2. Configure /etc/X11/xorg.conf // add following lines if not

Section "Device"
Identifier "ATI Technologies, Inc. ATI Default Card"
Driver "fglrx"
Option "DesktopSetup" "horizontal"
BusID "PCI:1:0:0"
EndSection
Section "Extensions"
Option "Composite" "0"
EndSection  

3. Verify that Driver is working Properly by use command : glxinfo|grep direct // the result should be Yes

4. Install Xgl  : sudo apt-get install Xgl

5. Activate Xgl.

5.1  This is Different from  The Ubuntu Site This is use Xsession instead by editing /etc/X11/Xsession.options add the following lines : use-xgl

5.2  Save the following script in /etc/X11/Xsession.d/91Xgl

# This file is sourced by Xsession(5), not executed.

STARTXGL=
XGL="/usr/bin/Xgl"
XGL_OPTIONS=":1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer"

if grep -qs ^use-xgl "$OPTIONFILE"; then
if [ -x "$XGL" ]; then
STARTXGL=yes
fi
if [ -r /tmp/.X1-lock ]; then
xglpid=`cat /tmp/.X1-lock`
if [ -d /proc/$xglpid ]; then
echo "Xgl already running"
STARTXGL=
fi
fi
fi

if [ -n "$STARTXGL" ]; then
$XGL $XGL_OPTIONS &
DISPLAY=:1
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
xauth -i add :1 . “$cookie”
fi

# vim:set ai et sts=2 sw=2 tw=80:

7. Now You can use Desktop Effect by logout and change session to Xclient script and Enjoy

Note!!!!

        I can't solve how to add The Shutdown and Restart buttons because it's disappeared and I have no idea how to bring them back so got any ideas? Please comment Thank you.

คำสำคัญ (Tags): #ubuntu#ati#desktop effect#feisty
หมายเลขบันทึก: 113148เขียนเมื่อ 20 กรกฎาคม 2007 19:50 น. ()แก้ไขเมื่อ 11 กุมภาพันธ์ 2012 19:33 น. ()สัญญาอนุญาต: จำนวนที่อ่านจำนวนที่อ่าน:


ความเห็น (2)

แหง่ว

ยังมีปัญหาอยู่เหรอ ทำไมพี่ใช้ได้ไม่มีปัญหาล่ะ เหลือแค่ปุ่ม Restart Shutdown นี่ยังแก้ไม่ได้นะ ที่เหลือใช้ได้ตามปกติเลยอ่ะ 

พบปัญหาการใช้งานกรุณาแจ้ง LINE ID @gotoknow
ClassStart
ระบบจัดการการเรียนการสอนผ่านอินเทอร์เน็ต
ทั้งเว็บทั้งแอปใช้งานฟรี
ClassStart Books
โครงการหนังสือจากคลาสสตาร์ท