特殊:Badtitle/NS100:CompositeManager/Beryl/Edgy:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
 
第1行: 第1行:
{{From|https://help.ubuntu.com/community/CompositeManager/Beryl/Edgy}}
#REDIRECT [[UbuntuHelp:CompositeManager/CompizFusion]]
{{Languages|UbuntuHelp:CompositeManager/Beryl/Edgy}}
BERYL IS OBSOLETE, use [[UbuntuHelp:CompizFusion|CompizFusion]]
== Introduction ==
== 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).  
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).  
第142行: 第142行:
<pre><nowiki>beryl-manager
<pre><nowiki>beryl-manager
</nowiki></pre>
</nowiki></pre>
----
[[category:CategoryCleanup]] [[category:CategoryCleanup]]
{{From|https://help.ubuntu.com/community/CompositeManager/Beryl/Edgy}}
{{Languages|UbuntuHelp:CompositeManager/Beryl/Edgy}}


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

2008年4月23日 (三) 11:13的最新版本

BERYL IS OBSOLETE, use CompizFusion

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|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. BerylOnEdgy?action=AttachFile&do=get&target=beryl-session.png 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

{{#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 | | }}