Setting up Beryl on Linux Mint
From Linux Mint
From Cassandra Beryl/Compiz is included by default. The part about installing is therefore obsolete, section 1 and 4, but the configuration advice is still valid (per September 2007)
The need for this seems to be gone with Daryna as it has Compiz and the xorg.conf is preconfigured
This section appeared first in the forums http://www.linuxmint.com/forum/viewtopic.php?t=1036
Some minor modifications are done.
You should have the driver "nvidia" not "nv" if you use a nVidia card.
For an ATI it's more complicated This may help [1]
First open a terminal, you will not need it yet, but you will need it in a minute.
Contents |
[edit] Add new repositories
Now open mintMenu and go to Administration > Software Sources, when that has opened go to the “Third Party” tab and click on the “Add” button. Copy and paste the following sources in the box that pops up one at a time.
Code:
deb http://ubuntu.beryl-project.org/ edgy main
deb-src http://ubuntu.beryl-project.org edgy main
(only add the next one if you want unsupported experimental packages)
deb http://3v1n0.tuxfamily.org edgy beryl-svn
After adding those but before closing the Software Sources window change to the terminal and copy and paste the following command (it does not have to be done this way but it does stop it complaining when you close the window)
Code:
sudo wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | apt-key add -
You may have to put sudo before apt-key add - the need for that seems oddly enough to vary.
if you added the experimental packages do the same with the next command
Code:
sudo wget http://3v1n0.tuxfamily.org/DD800CD9.gpg -O- | apt-key add -
Once you have done that close the software sources and choose to update the package list.
[edit] Edit xorg.conf
You may want to copy xorg.conf first as a precaution. Next type the following command in to the terminal
Code:
sudo gedit /etc/X11/xorg.conf
this will launch a text editor and open your xorg.conf file in it scroll down until you find the Section “Module”. You need to check that the following lines are there and not prefixed with a '#' symbol.
Code:
Load "dri" Load "dbe" Load "glx"
Next scroll down until you find the Section “Device” for your graphics card and add the following line to the end of the section.
Code:
Option "XAANoOffscreenPixmaps"
Then add the following sections at the end of the file if they do not exist anywhere else in it.
Code:
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Finally save the file and close the editor.
[edit] Restart the X-server
You now need to restart the X-server by pressing Ctrl+Alt+Backspace after closing any open windows.
[edit] Install the beryl packages
When you have logged back in open a terminal and type
Code:
sudo aptitude install beryl
which will install the latest version of beryl along with all recommended packages which include themes and some plugins.
[edit] Open the beryl manager
Once that has finished installing type
Code:
beryl-manager
to start beryl and the beryl manager. Once beryl has started go to mintMenu > Preferences > Sessions and click on the “Startup Programs” tab, once there click the add button and type
Code:
/usr/bin/beryl-manager
this will make the beryl manger start every time you login.
[edit] A solution for nVidia cards when beryl falsely believes the card is in 32 bit mode.
I got an error stating that my video card was in 32 bit mode (which beryl doesn't support) even though it was actually in 24 bit mode. I fixed this by adding the following two lines to the "Screen" section of /etc/X11/xorg.conf:
Option "AddARGBGLXVisuals" "True" Option "DisableGLXRootClipping" "True"

