特殊:Badtitle/NS100:CompositeManager/zh
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/CompositeManager }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/af | • {{#if: UbuntuHelp:CompositeManager|Afrikaans| [[::CompositeManager/zh/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/ar | • {{#if: UbuntuHelp:CompositeManager|العربية| [[::CompositeManager/zh/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/az | • {{#if: UbuntuHelp:CompositeManager|azərbaycanca| [[::CompositeManager/zh/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/bcc | • {{#if: UbuntuHelp:CompositeManager|جهلسری بلوچی| [[::CompositeManager/zh/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/bg | • {{#if: UbuntuHelp:CompositeManager|български| [[::CompositeManager/zh/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/br | • {{#if: UbuntuHelp:CompositeManager|brezhoneg| [[::CompositeManager/zh/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/ca | • {{#if: UbuntuHelp:CompositeManager|català| [[::CompositeManager/zh/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/cs | • {{#if: UbuntuHelp:CompositeManager|čeština| [[::CompositeManager/zh/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/de | • {{#if: UbuntuHelp:CompositeManager|Deutsch| [[::CompositeManager/zh/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/el | • {{#if: UbuntuHelp:CompositeManager|Ελληνικά| [[::CompositeManager/zh/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/es | • {{#if: UbuntuHelp:CompositeManager|español| [[::CompositeManager/zh/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/fa | • {{#if: UbuntuHelp:CompositeManager|فارسی| [[::CompositeManager/zh/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/fi | • {{#if: UbuntuHelp:CompositeManager|suomi| [[::CompositeManager/zh/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/fr | • {{#if: UbuntuHelp:CompositeManager|français| [[::CompositeManager/zh/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/gu | • {{#if: UbuntuHelp:CompositeManager|ગુજરાતી| [[::CompositeManager/zh/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/he | • {{#if: UbuntuHelp:CompositeManager|עברית| [[::CompositeManager/zh/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/hu | • {{#if: UbuntuHelp:CompositeManager|magyar| [[::CompositeManager/zh/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/id | • {{#if: UbuntuHelp:CompositeManager|Bahasa Indonesia| [[::CompositeManager/zh/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/it | • {{#if: UbuntuHelp:CompositeManager|italiano| [[::CompositeManager/zh/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/ja | • {{#if: UbuntuHelp:CompositeManager|日本語| [[::CompositeManager/zh/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/ko | • {{#if: UbuntuHelp:CompositeManager|한국어| [[::CompositeManager/zh/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/ksh | • {{#if: UbuntuHelp:CompositeManager|Ripoarisch| [[::CompositeManager/zh/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/mr | • {{#if: UbuntuHelp:CompositeManager|मराठी| [[::CompositeManager/zh/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/ms | • {{#if: UbuntuHelp:CompositeManager|Bahasa Melayu| [[::CompositeManager/zh/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/nl | • {{#if: UbuntuHelp:CompositeManager|Nederlands| [[::CompositeManager/zh/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/no | • {{#if: UbuntuHelp:CompositeManager|norsk| [[::CompositeManager/zh/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/oc | • {{#if: UbuntuHelp:CompositeManager|occitan| [[::CompositeManager/zh/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/pl | • {{#if: UbuntuHelp:CompositeManager|polski| [[::CompositeManager/zh/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/pt | • {{#if: UbuntuHelp:CompositeManager|português| [[::CompositeManager/zh/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/ro | • {{#if: UbuntuHelp:CompositeManager|română| [[::CompositeManager/zh/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/ru | • {{#if: UbuntuHelp:CompositeManager|русский| [[::CompositeManager/zh/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/si | • {{#if: UbuntuHelp:CompositeManager|සිංහල| [[::CompositeManager/zh/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/sq | • {{#if: UbuntuHelp:CompositeManager|shqip| [[::CompositeManager/zh/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/sr | • {{#if: UbuntuHelp:CompositeManager|српски / srpski| [[::CompositeManager/zh/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/sv | • {{#if: UbuntuHelp:CompositeManager|svenska| [[::CompositeManager/zh/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/th | • {{#if: UbuntuHelp:CompositeManager|ไทย| [[::CompositeManager/zh/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/tr | • {{#if: UbuntuHelp:CompositeManager|Türkçe| [[::CompositeManager/zh/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/vi | • {{#if: UbuntuHelp:CompositeManager|Tiếng Việt| [[::CompositeManager/zh/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/yue | • {{#if: UbuntuHelp:CompositeManager|粵語| [[::CompositeManager/zh/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/zh | • {{#if: UbuntuHelp:CompositeManager|中文| [[::CompositeManager/zh/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/zh-hans | • {{#if: UbuntuHelp:CompositeManager|中文(简体)| [[::CompositeManager/zh/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager/zh}}/zh-hant | • {{#if: UbuntuHelp:CompositeManager|中文(繁體)| [[::CompositeManager/zh/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:CompositeManager|:CompositeManager/zh|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :CompositeManager/zh/zh | | {{#ifexist: CompositeManager/zh/zh | | {{#ifeq: {{#titleparts:CompositeManager/zh|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:CompositeManager/zh|1|-1|}} | zh | | }}
Introduction
<!> Xgl is alpha software and AIGLX has only been available for two releases of Xorg, as of Xorg 7.2. Using them on a production machine is not recommended, but usually they should work. Some programs do not yet work well with composite managers. You have been warned. Recently, there has been a lot of interest in running 3D accelerated composite managers on X servers. This is commonly referred to as Xgl or Compiz, though both of these packages are really just means to an end (and can be replaced). There are two steps involved in setting up a 3d accelerated composite manager:
- Setting up an X server which supports it.
- Setting up the composite manager itself.
Instructions for each of these are found below.
X Server
Composite managers require an X server capable of making 3D acceleration available to the window manager. There are currently two options available to achieve this:
- CompositeManager/Xgl, which is a GLX based X server that currently runs on top of the Xorg server. More information about it here
- CompositeManager/AIGLX, which is a part of Xorg. More information about it here
AIGLX is the solution that works with the current architecture without too many intrusive changes to the server or drivers. Xgl is an alternate solution that leads into a long term solution. The plan is to have Xgl running directly on the kernel framebuffer and DRI interfaces with no Xorg layer in between, also known as Xegl. The current Xgl that runs on top of the Xorg server should be considered a technology preview.
Composite Manager
When running AIGLX or Xgl, all windows are rendered to an off-screen buffer. The composite manager is then responsible for drawing the windows to the screen, and has the opportunity to manipulate them, adding in cool effects such as transparency and wobbliness. There are currently three composite managers available.
- CompositeManager/Compiz - A basic combination of window manager and composite manager from Novell. Now referred to as Compiz Core.
- CompositeManager/Beryl - A fork of Compiz that adds a lot of additional features. It has been reunited with Compiz and discontinued as an independent project.
- CompositeManager/CompizFusion - Compiz plus additional features from Beryl. Includes and requires Compiz Core.
Known Issues & Troubleshooting
Some applications won't start or are displayed incorrectly
Some applications do not function properly when run along side a composite manager. If after enabling a composite manager you encounter an application that stops working entirely or is displayed incorrectly (often with unwanted transparency), please file a bug. In some cases, you can work around the problem by temporarily disabling alpha visuals for the application, by launching it from the terminal as such:
XLIB_SKIP_ARGB_VISUALS=1 nedit
Replace 'nedit' with the name of the application you are having issues with.
Further reading
- Beryl Forums & Community - This is generally a good resource.
- OpenSuse Compiz
- OpenSuse Xgl
- Wikipedia Xgl
- Freedesktop Xgl
- Fedora AIGLX