摘自 http://doc.gwos.org/index.php/BerylOnFeisty
BerylOnFeisty
From Ubuntu Document Storage Facility
Contents[hide] |
<script type="text/javascript"> if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } </script>
Introduction
Beryl is a set of packages which gives you a cool 3D desktop.
Check out this ubuntuforums.org thread for more guides on Beryl which may be more specific to your situation.
Warning: Beryl is beta software!!! This means that it is full of bugs. |
This method should work for all users, but it may not. You may find help at #ubuntu-xgl or #beryl (not ubuntu specific!) on irc.freenode.net if you have problems. As with all experimental software, though Beryl is relatively stable, it is best to back up all important data before installing.
Make sure your Ubuntu install is up to date before continuing:
Code: |
sudo aptitude update |
Install graphics drivers
The graphics card drivers included by default are not capable of running an accelerated desktop and providing all the cool Beryl effects. You will need to install the proper drivers for your card.
nVidia
NOTE: From 97xx on, nVidia display drivers no longer support some graphics cards, such as the Geforce 4 MX. Tf your driver installation fails (the log file will read: "version 97xx will ignore this gpu"), use Option 2, go to "Archive" and download the latest 96xx driver.
WIRELESS NOTE: Installing the nVidia driver will remove the linux-restricted-modules. These are required for a number of wireless cards to function, though some still work properly without them. The Beryl project provides custom restricted modules in an attempt to fix this problem. Your mileage may vary.
Option 1:
A new enough driver is already in Feisty, so you can just:
Code: |
sudo aptitude update |
Configure X to use the new driver and enable fun eye candy graphics:
Code: |
sudo nvidia-xconfig --add-argb-glx-visuals |
NOTE: If X will not load after restarting, run the following command to restore your previous xorg.conf settings:
Code: |
sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf |
Restart X using CTRL+ALT+BACKSPACE. You should see an nVida splash on restart. If you would like to disable this splash, edit your /etc/X11/xorg.conf to include the following line in the "Device" section for you graphics card:
Code: |
Option "NoLogo" |
Option 2:
If you would prefer to install the nvidia drivers from nvidia's script, you may simply download the NVIDIA drivers from: http://www.nvidia.com/object/unix.html into your home folder.
Then:
Code: |
sudo nano /etc/default/linux-restricted-modules-common |
and make the bottom line look like
Code: |
DISABLED_MODULES="nv" |
You should do the following in a tty1 by a "ctrl+alt+F1"
Code: |
sudo apt-get install linux-headers-`uname -r` build-essential gcc gcc-3.4 xserver-xorg-dev |
And restart your computer. The Nvidia script should change your xorg.conf to enable nvidia drivers, so this will work without any previous nvidia drivers.
Remember that following this method requires a reinstillation of them every time the kernel changes.
Intel
Install 3D enabled drivers.
Code: |
sudo nano /etc/X11/xorg.conf |
Add to Section "Device":
File:/etc/X11/xorg.conf |
Option "XAANoOffscreenPixmaps" "true" |
and at the end of the file:
File:/etc/X11/xorg.conf |
Section "Extensions" |
ATI
Radeon Driver
Ensure you have the open source radeon drivers installed.
Edit the device section in your xorg.conf to be like this :
File:/etc/X11/xorg.conf |
Section "Device" |
Radeon 9200 owners
If direct rendering doesn't work and you see in your /var/log/Xorg.0.log:
(WW) RADEON(0): [agp] AGP not available
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
You may need to add the following to your 'Section "Device"' block in your /etc/X11/xorg.conf to get Direct Rendering to work:
Option "BusType" "PCI"
(see https://bugs.freedesktop.org/show_bug.cgi?id=1700 for details about this bug)
Install Beryl
Beryl 0.2.1 is now in the Feisty repositories so you can just install:
Code: |
sudo aptitude install beryl emerald-themes |
Let's Go!
Code: |
beryl-manager |
Right-click on the Beryl icon in the tray to change themes and edit settings.
To start Beryl automatically with Gnome, go to System->Preference->Sessions. Under "Startup Programs" add 'beryl' and also 'emerald --replace' (without the quotes, obviously). Alternatively, you can just put beryl-manager in "Startup Programs". Each user who wants to run Beryl at startup will need to have the commands added to their own accounts.
More Information
For help, more detailed instructions, installation on other desktops, more options, artwork, troubleshooting, etc, head on over to the official Beryl wiki.