How to add Beryl to Wolvix
This how-to works on Wolvix 1.1.0, BOTH cub and Desktop Edition
Introduction
Warning: Beryl is beta and
there is no guarantee this how-to will not trash your Wolvix HD install. Beryl is not officially supported in Wolvix as of yet.
1. I personally boot the Wolvix CD, configure Beryl, then HD install.
2. This how-to is written for Nvidia cards.
To run beryl you will need to install xorg 7. You do not need to remove xorg 6, and in fact if you do be prepared for additional difficulties. This how-to is a compilation of several sources and is specific to Wolvix.
In this how to I suggest you download the packages to ~/src/xorg7 and ~/src/beryl
Download
xorg 7
I have tried the pinki build
http://sourceforge.net/project/showfiles.php?group_id=177157∞ , but I did not like it and it took some tweaking to run.
The thoughtbit packages are much better and seem more Slackware oriented ...
You will need all the packages from here (save them to ~/src/xorg7):
http://thoughtbit.com/xorg-build/packages/x/∞
Beryl and Dependencies
I collected these files from various locations and truth be told I do not know where or how I found some of these packages. The primary source was Slackware Current, although not all the packages from Slackware Current were in working order.
You will need all the packages from here (Beryl + Dependencies for Beryl) save them to ~/src/beryl
ftp://ftp.wolvix.org/Development/Beryl∞
Note : Had to downgrade beryl-settings to version 0.2.1 Version 0.3 uses Python 2.5 and I could not get beyond the error message "gtk module not found"
Nvidia Driver
Download the kernel-source and nvidia driver to ~/src/nvidia
You will need to re-install the Nvidia Driver after you install xorg 7. ( I did not try re-loading the Wolvix Nvidia Module) Save to ~/src/nvidia
Nvidia 9755 :
I used 9755 :
http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9755/NVIDIA-Linux-x86-1.0-9755-pkg1.run∞
Kernel-source :
ftp://wolvix.org/wolvix/development/kernel-source-2.6.20.3-noarch-2wlv.tgz∞
System prep
First we are going to move a few system directories. Except for installing the Nvidia driver, you can do all this within X (at a terminal).
1. Move /etcX11 /usr/X11 and /usr/X11R6 (allows the xorg 7.1 packages to configure xorg.conf) :
mv /etc/X11 /etc/X11.org
mv /usr/X11 /usr/X11.org
mv /usr/X11R6 /usr/X11R6.org
I moved them to .org for original.
2. Update path ~ change all instances of X11R6 to X11R7 in :
/etc/profile (2 changes)
/etc/ld.so.conf (1 change)
Install xorg 7
cd into the directory where you saved the xorg files (~/src/xorg7 is the location I used)
cd ~/src/xorg7
installpkg *.tgz
Post install links
1. /usr/share/aclocal
Note : the first CD is CRITICAL !!
cd /usr/share/aclocal
for i in `ls /usr/X11R7/share/aclocal/`;do ln -s /usr/X11R7/share/aclocal/$i .;done
2. Links in /usr :
ln -s /usr/X11R7 /usr/X11
ln -s /usr/X11R7 /usr/X11R6
ln -s /usr/X11R7/bin /usr/bin/X11
ln -s /usr/X11R7/include/X11 /usr/include/X11
ln -s /usr/X11R7/lib/X11 /usr/lib/X11
3. Restore missing system files from /etc/X11.org
cp -Ri /etc/X11.org/* /etc/X11/
* ANSWER NO TO ALL OVERWRITE REQUESTS ! *
Install Nvidia driver
You will need to drop out of X to do this. You can Ctrl-allt-Backspace.
Log in at tty1 if needed.
1. Install kernel headers
cd ~/src/nvidia
installpkg kernel-source-2.6.20.3-noarch-2wlv.tgz
2. Install Nvidia driver
sh NVIDIA-Linux-x86-1.0-9755-pkg1.run
Allow the Nvidia driver to configure xorg.conf (as the script finishes)
3. Restart X (so you may copy-paste the next section to xorg.conf)
4. Configure xorg (nano /etc/X11/xorg.conf) and add these lines :
Section "Device"
Option "TripleBuffer" "true"
Section "Screen"
Option "RenderAccel" "TRUE"
Option "AllowGLXWithComposite" "TRUE"
Option "AddARGBGLXVisuals" "true"
Option "DisableGLXRootClipping" "True"
Add this section (if needed)
Section "Extensions"
Option "Composite" "Enable"
EndSection
5. Restart X : Ctrl-Alt-Backspace
You can type X to test the basic configuration (Ctrl-Alt-Backspace to exit)
You can type startx to get to xfce (you can not run beryl on fluxbox)
You can type slim to get to the log in screen
Install Beryl
This is easy :
cd ~/src/beryl
installpkg *.tgz
Start Beryl
Open a terminal and, if needed, become root (I can not run beryl as a user, not sure why ?)
You should see some output in your terminal and then a red gem will appear in the upper right corner.
If needed, Right click on the gem -> "Select Window Manager" -> beryl
Caveats
When logging out of XFCE de-select "save Session for Future logins"
If you forget, you may not have a window manager when you log in. To fix this, open a terminal (it is tricky but it can be done, hint your mouse is invisible, right click on the screen and use the keyboard).
Move the invisible mouse to terminal ... enter
Screen Shot
Small:
http://img513.imageshack.us/my.php?image=screenshot2007050723431av4.png∞
Large :
http://img513.imageshack.us/img513/4583/screenshot2007050723431av4.th.png∞
Referances
Many thanks to the authors on these sites :
thoughtbit wiki :
http://wiki.thoughtbit.com/linux:slackpkg:xorg-7.1∞
Beryl Wiki :
http://wiki.beryl-project.org/wiki/Install_Beryl_on_Slackware∞
http://web.tiscali.it/meskalamdug/aiglx-en.html∞
Categories
CategoryGuide
Enjoy
There are no comments on this page. [Add comment]