Getting AIGLX+Beryl to Work on Gentoo

First off you need Xorg 7.1 so need to update your xorg if haven’t done so.

So these lines to add to /etc/portage/package.keywords

#Modular X 7.1
Then it's a good idea to update your portage by emerge --sync
afterwards just use emerge --update xorg-x11 xorg-server xf86-input-evdev xf86-input-mouse xf86-input-keyboard xf86-video-vga xf86-video-vesa
to update xorg.  You might want to try adding aiglx to your use flags in /etc/make.conf
Afterwards edit your /etc/X11/xorg.conf and add these lines
Section "DRI"
Group 0
Mode 0666
EndSection

Section "ServerLayout"
Option         "AIGLX" "true"
EndSection

Section "Extensions"
Option         "Composite"   "Enable"
EndSection

Section "Device"
Option      "XAANoOffscreenPixmaps" "true"
Option      "DRI"     "true"
EndSection
And that ends the aiglx part off this tutorial
Read on for Beryl
Beryl! 
First go to the /usr/local/portage folder by entering cd /usr/local/portage into the terminal (if it's not there just create it with mkdir /usr/local/portage in root)
in terminal use
svn co http://svn.xgl-coffee.org/xgl-coffee/trunk xgl-coffee
if you dont have svn you always get it with emerge subversion;
Now throw this line
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/xgl-coffee"
into your /etc/make.conf
Ok now to unmask beryl dependencies
go to /etc/portage/package.keywords and add this
#Beryl Core
x11-wm/beryl
x11-wm/beryl-core
x11-plugins/beryl-plugins
x11-plugins/beryl-dbus
x11-misc/beryl-manager
x11-misc/beryl-settings
x11-wm/emerald
x11-misc/emerald-themes
x11-apps/xlsclients
x11-apps/xvinfo
x11-libs/libwnck
and for  /etc/portage/package.unmask add this line 
x11-libs/libwnck
now to emerge beryl!
emerge libwnck beryl
once that done try out beryl-manager in terminal or if you have kdm you change the window manager in /etc/env.d/99kde-env to beryl by adding this
KDEWM=beryl-manager

Anyways Good Luck Gentoo Fans

References:
http://gentoo-wiki.com/Beryl
http://gentoo-wiki.com/HOWTO_AIGLX
http://gentoo-wiki.com/HOWTO_XGL

Leave a Reply