特殊:Badtitle/NS100:CompositeManager/Beryl/Edgy
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/CompositeManager/Beryl/Edgy }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/af | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|Afrikaans| [[::CompositeManager/Beryl/Edgy/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/ar | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|العربية| [[::CompositeManager/Beryl/Edgy/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/az | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|azərbaycanca| [[::CompositeManager/Beryl/Edgy/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/bcc | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|جهلسری بلوچی| [[::CompositeManager/Beryl/Edgy/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/bg | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|български| [[::CompositeManager/Beryl/Edgy/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/br | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|brezhoneg| [[::CompositeManager/Beryl/Edgy/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/ca | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|català| [[::CompositeManager/Beryl/Edgy/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/cs | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|čeština| [[::CompositeManager/Beryl/Edgy/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/de | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|Deutsch| [[::CompositeManager/Beryl/Edgy/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/el | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|Ελληνικά| [[::CompositeManager/Beryl/Edgy/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/es | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|español| [[::CompositeManager/Beryl/Edgy/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/fa | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|فارسی| [[::CompositeManager/Beryl/Edgy/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/fi | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|suomi| [[::CompositeManager/Beryl/Edgy/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/fr | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|français| [[::CompositeManager/Beryl/Edgy/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/gu | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|ગુજરાતી| [[::CompositeManager/Beryl/Edgy/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/he | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|עברית| [[::CompositeManager/Beryl/Edgy/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/hu | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|magyar| [[::CompositeManager/Beryl/Edgy/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/id | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|Bahasa Indonesia| [[::CompositeManager/Beryl/Edgy/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/it | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|italiano| [[::CompositeManager/Beryl/Edgy/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/ja | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|日本語| [[::CompositeManager/Beryl/Edgy/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/ko | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|한국어| [[::CompositeManager/Beryl/Edgy/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/ksh | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|Ripoarisch| [[::CompositeManager/Beryl/Edgy/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/mr | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|मराठी| [[::CompositeManager/Beryl/Edgy/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/ms | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|Bahasa Melayu| [[::CompositeManager/Beryl/Edgy/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/nl | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|Nederlands| [[::CompositeManager/Beryl/Edgy/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/no | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|norsk| [[::CompositeManager/Beryl/Edgy/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/oc | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|occitan| [[::CompositeManager/Beryl/Edgy/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/pl | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|polski| [[::CompositeManager/Beryl/Edgy/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/pt | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|português| [[::CompositeManager/Beryl/Edgy/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/ro | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|română| [[::CompositeManager/Beryl/Edgy/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/ru | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|русский| [[::CompositeManager/Beryl/Edgy/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/si | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|සිංහල| [[::CompositeManager/Beryl/Edgy/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/sq | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|shqip| [[::CompositeManager/Beryl/Edgy/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/sr | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|српски / srpski| [[::CompositeManager/Beryl/Edgy/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/sv | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|svenska| [[::CompositeManager/Beryl/Edgy/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/th | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|ไทย| [[::CompositeManager/Beryl/Edgy/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/tr | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|Türkçe| [[::CompositeManager/Beryl/Edgy/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/vi | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|Tiếng Việt| [[::CompositeManager/Beryl/Edgy/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/yue | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|粵語| [[::CompositeManager/Beryl/Edgy/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/zh | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|中文| [[::CompositeManager/Beryl/Edgy/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/zh-hans | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|中文(简体)| [[::CompositeManager/Beryl/Edgy/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy | UbuntuHelp:CompositeManager/Beryl/Edgy | {{#if: | :}}CompositeManager/Beryl/Edgy}}/zh-hant | • {{#if: UbuntuHelp:CompositeManager/Beryl/Edgy|中文(繁體)| [[::CompositeManager/Beryl/Edgy/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:CompositeManager/Beryl/Edgy|:CompositeManager/Beryl/Edgy|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :CompositeManager/Beryl/Edgy/zh | | {{#ifexist: CompositeManager/Beryl/Edgy/zh | | {{#ifeq: {{#titleparts:CompositeManager/Beryl/Edgy|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:CompositeManager/Beryl/Edgy|1|-1|}} | zh | | }}
Introduction
Beryl is a fork of Compiz created by Quinn Storm and the developers on the compiz.net forums. This guide shows how to get it running on Ubuntu 6.10 (edgy).
Card Support
Please make sure your card is supported for accelerated graphics. In a terminal type:
glxinfo | grep direct
If you get this output back, your card should work.
direct rendering: Yes
If you get a "no" from this test, please install the correct driver "nvidia" or "radeon" from the appropriate section on this article.
Driver install
NVIDIA
Beryl Repository
Add the repository:
deb http://ubuntu.beryl-project.org edgy main
Then, authenticate, update your repository listing, and install the driver:
wget http://nvidia.limitless.lupine.me.uk/ubuntu/[email protected] -O- | sudo apt-key add - sudo aptitude update sudo aptitude install nvidia-glx
Configure X to use the new driver and enable fun eye candy graphics:
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:
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:
Envy
You may use Envy, a Python script that eases installation of the official Nvidia and ATI drivers. Please see http://albertomilone.com/nvidia_scripts1.html (>=9631 driver needed...)
Binary install
Alternatively you may install from the binary .run availiable at nvidia.com
ATI
If you have ATI Radeon 9500 or above try [[[UbuntuHelp:BinaryDriverHowto/ATI]]].
Please ensure X is set to use the "radeon" driver. Please make also sure that the package xorg-driver-fglrx is NOT installed, as it overwrites /usr/lib/libGL.so from the libs/libgl1-mesa-glx package. If you do not get direct rendering even after switching to the radeon driver, please do the following:
sudo apt-get remove --purge xorg-driver-fglrx
This should restore your original libGL. If you want to be 100% sure reinstall the following packages:
libgl1-mesa-glx libgl1-mesa-dri
Enable compositing in X
To make Beryl work correctly we have to make the following changes to your /etc/X11/xorg.conf
:
NVIDIA
Type:
sudo nvidia-xconfig --add-argb-glx-visuals
Intel
Make the following changes to xorg.conf:
Add to Section "Device"
Option "XAANoOffscreenPixmaps" "true"
At the end of the file add the following:
Section "Extensions" Option "Composite" "true" EndSection
ATI
Ensure you have the open source radeon drivers installed.
Add the following to xorg.conf in the "Device" section:
Option "AGPMode" "4" Option "DisableGLXRootClipping" "true" Option "AddARGBGLXVisuals" "true" Option "AllowGLXWithComposite" "true" Option "XAANoOffscreenPixmaps" "true" Option "EnablePageFlip" "true" Option "DRI" "true" Option "AccelMethod" "EXA" Option "EXANoOffscreenPixmaps" Option "ColorTiling" "on" Option "EnablePageFlip" "true" Option "RenderAccel" "true"
Not all video cards should have fastWrite turned on (my mobility radeon 9600 caused x to crash on startup) but if your card can handle this also add this to the "Device" section:
Option "AGPFastWrite" "on" Option "AGPFastWrite" "true" #which one is the working one? I use "true"
Add the "AIGLX" option in the "ServerLayout" section:
Option "AIGLX" "true"
Optionally, install driconf and enable HyperZ to help performance
sudo apt-get install driconf driconf
Add third-party Beryl repository
Add this repository using the Add Repositories HOWTO
deb http://ubuntu.beryl-project.org edgy main
Run this commands to add Lupine's key to your trusted keys for repositories.
wget http://ubuntu.beryl-project.org/[email protected] -O- | sudo apt-key add -
Don't forget to run an update to get the latest repositories.
sudo apt-get update
Install Beryl
sudo apt-get install beryl emerald-themes
Run Beryl
Alt+F2 then Enter
beryl-manager
click the beryl icon top right and select the beryl window manager.
Add beryl to your session startup
Please only do this step if beryl loaded correctly in the previous step.
Go to System->Preferences->Sessions, click the "Startup Programs" tab, click the "Add" button, and in the dialog that pops up put "beryl-manager" in the "Startup Command" text box.
Now logout and then login again and beryl-manager should load. Click on the gem next to your click, go to "Select Window Manager", make sure Beryl is chosen.
Troubleshooting
If the changes to the Startup Programs did not change, there was a permission error to the configuration file. Execute the following and repeat the above steps.
sudo chown -R username:usergroup /home/username/.config/
Replace username and usergroup with your username.
beryl 0.1.5 issue: if beryl-settings doesn't work, you need to install additional packages
sudo apt-get install librsvg2-2 librsvg2-bin librsvg2-common python-gtk2
Special situation: PPC
highly experimental
On ppc, an endianess bug is in edgy's xserver-xorg-core. i'd build a patched one, and beryl/emerald debs. If supported, activate 3D rendering in xorg.conf. Change
Driver "ati"
to
Driver "radeon"
Deb(s) are on that repository:
deb http://mental-ppc.tuxfamily.org/dists edgy-mppc main incoming
Add it in your sources.list. Then run:
sudo aptitude update && sudo aptitude dist-upgrade
sudo aptitude install beryl emerald-themes
restart X and run
beryl-manager