View previous topic :: View next topic |
Author |
Message |
rmh3093 Advocate
Joined: 06 Aug 2003 Posts: 2138 Location: Albany, NY
|
Posted: Fri Dec 29, 2006 4:37 pm Post subject: Custom ATI XGL Sessions... The easy way! 3-Steps |
|
|
There are a lot of people that have issues with getting their desktop manager, XGL, their desktop environment (gnome,kde,xfce,etc.) and Beryl playing nicely... Here is a way to create custom xgl sessions which should work flawlessly with any system. NVIDIA users ignore this page and follow a AIGLX howto.
*The first thing you need to know is the command to type to start your desktop. For gnome the command is 'gnome-session' for Xfce4 the command is 'startxfce4'... you get the idea.
*The second thing that you need to do is create a script to start XGL. NOTE1: Don't forget to 'chmod +x' this file! NOTE2: Xgl will not read the configuration of FontPath in xorg.conf, thus it's better to append the font paths separated by comma with -fp option. You can also use this script to get all font paths automatically from xorg.conf:
Code: | grep -i fontpath /etc/X11/xorg.conf | egrep -v "[:space:]*#" | sed "s/.\+\"\(.\+\)\"/\1,/g" | xargs echo | sed "s/\ //g" | sed "s/,\$//" |
/usr/bin/startxgl.sh: | #!/bin/bash
Xgl -fullscreen :1 -audit 0 -ac -br -accel glx:pbuffer -accel xv:pbuffer -fp /usr/share/fonts/misc/,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi/,/usr/share/fonts/75dpi/&
sleep 2 && DISPLAY=:1 dbus-launch $1 |
*The third step is to create your custom session file. You need to modify this example below as needed. Don't forget to change the "Exec" line to start the command you picked out in step 1. NOTE: Don't forget to 'chmod +x' this file!
/usr/share/xsessions/xfce-xgl.desktop: |
[Desktop Entry]
Encoding=UTF-8
Name=XFCE-XGL
Comment=Start a Xfce session with XGL
Exec=/usr/bin/startxgl.sh startxfce4
Icon=
Type=Application
|
/usr/share/xsessions/gnome-xgl.desktop: |
[Desktop Entry]
Encoding=UTF-8
Name=GNOME-XGL
Comment=Start a Gnome session with XGL
Exec=/usr/bin/startxgl.sh gnome-session
Icon=
Type=Application
|
Thats it, you should be able to log out at log back into a new session with working xgl and beryl. _________________ Do not meddle in the affairs of wizards, for they are subtle and quick to anger. |
|
Back to top |
|
|
vladgrigorescu Guru
Joined: 11 Jan 2005 Posts: 360
|
Posted: Fri Dec 29, 2006 5:11 pm Post subject: It worked |
|
|
Yep, worked like a charm, thanks a lot! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|