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

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
 
(未显示同一用户的1个中间版本)
第25行: 第25行:
</nowiki></pre>
</nowiki></pre>
If ccsm is not found its installable from the  compizconfig-settings-manager package.
If ccsm is not found its installable from the  compizconfig-settings-manager package.
Alternatively, for Ubuntu: System -> Preferences -> !CompizConfig Settings Manager
Alternatively, for Ubuntu: System -> Preferences -> ![[UbuntuHelp:CompizConfig|CompizConfig]] Settings Manager
And for Kubuntu: KMenu -> Settings -> !CompizConfig Settings Manager
And for Kubuntu: KMenu -> Settings -> ![[UbuntuHelp:CompizConfig|CompizConfig]] Settings Manager
or KMenu -> Settings -> Advanced Desktop Effects Settings
or KMenu -> Settings -> Advanced Desktop Effects Settings
You can select different themes with the emerald-theme-manager tool.
You can select different themes with the emerald-theme-manager tool.
第70行: 第70行:
== Troubleshooting ==
== Troubleshooting ==
Under Kubuntu, some settings in the Compiz Settings Manager may not be selectable unless you  enable the "Flat-File Configuration Backend"
Under Kubuntu, some settings in the Compiz Settings Manager may not be selectable unless you  enable the "Flat-File Configuration Backend"
Under the CCSM tool -> Preferances -> (Backend drop down menu)  
Under the CCSM tool -> Preferences -> (Backend drop down menu)  
If you ran nvidia-settings, then your xorg.conf lost some info.
If you ran nvidia-settings, then your xorg.conf lost some info.
To fix your compiz window decorations (titlebars) with an nVidia graphics card, run  
To fix your compiz window decorations (titlebars) with an nVidia graphics card, run  
第80行: 第80行:
<pre><nowiki>
<pre><nowiki>
metacity --replace
metacity --replace
# Alternate syntax if you receive: 'Window Manager error: Unable to Open X display'
# when using the above command.  The correct --display= value can be determined by
# issuing the 'who' command and noting the values in parenthesis at line-end.
metacity --display=:0.0 --replace
</nowiki></pre>
</nowiki></pre>
Or for Kubuntu
Or for Kubuntu
第89行: 第96行:
This display default may be fixed by turning off the "Legacy Fullscreen Support" in the "workaround" plugin, opening your programs which were displayed improperly, and turning the "Legacy Fullscreen Support" option back on. For more details see [http://www.moleculargeek.net/blog/compiz-fusion-workarounds-for-workarounds.html This Link]  
This display default may be fixed by turning off the "Legacy Fullscreen Support" in the "workaround" plugin, opening your programs which were displayed improperly, and turning the "Legacy Fullscreen Support" option back on. For more details see [http://www.moleculargeek.net/blog/compiz-fusion-workarounds-for-workarounds.html This Link]  
----
----
[[category:CategoryDocumentation]]


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

2009年11月17日 (二) 18:48的最新版本

{{#ifexist: :CompositeManager/CompizFusion/zh | | {{#ifexist: CompositeManager/CompizFusion/zh | | {{#ifeq: {{#titleparts:CompositeManager/CompizFusion|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:CompositeManager/CompizFusion|1|-1|}} | zh | | }}

Introduction

Compiz is a 3D desktop for your computer. Compiz Fusion is the new name for the plugins and tools from Beryl. This guide shows how to get it running on Ubuntu and Kubuntu 7.10 (Gutsy). For Kubuntu 8.04 you should use the installer KMenu -> System -> Desktop Effects. The following link shows a few demonstrations of Compiz Fusion:

Install Compiz & Compiz Fusion plugins

From Ubuntu:

sudo apt-get install compiz compizconfig-settings-manager

If you are running Kubuntu then use this command to install the most commonly needed packages.

sudo apt-get install  compiz compizconfig-settings-manager  compiz-kde compiz-fusion-plugins-main compiz-fusion-plugins-extra  emerald librsvg2-common

If you are missing the window decorations, then you most likely need the compiz-kde, or emerald packages.

Run Compiz

To run Compiz for the current session, hold Alt, then press F2, then enter the following command, or for better trouble shooting, open up a Terminal window and use the following command.

compiz --replace

Configure

To configure Compiz and associated plugins, hold Alt, then press F2, then enter the command, or use any Terminal.

ccsm

If ccsm is not found its installable from the compizconfig-settings-manager package. Alternatively, for Ubuntu: System -> Preferences -> !CompizConfig Settings Manager And for Kubuntu: KMenu -> Settings -> !CompizConfig Settings Manager or KMenu -> Settings -> Advanced Desktop Effects Settings You can select different themes with the emerald-theme-manager tool. To download the themes for emerald You must first install subversion, then activate the theme repositories.

sudo apt-get install subversion
svn ls https://svn.generation.no/emerald-themes

You can then use the "Fetch GPL'd themes" button of The "emerald-theme-manager" tool.

Window Decorators

Information on the 3 window decorators can be found at http://wiki.compiz-fusion.org/Plugins/Decoration Currently there are 3 choices in what window decorator to use. They work with compiz to give your windows the various borders, and widgets. For kde one normally uses the command

kde-window-decorator --replace

For Gnome the command

gtk-window-decorator --replace

If you perfer somthing different , the emerald decorator is worth checking out, Use it with.

emerald --replace

Add Compiz Startup (optional)

For Ubuntu

Go to System -> Preferences -> Desktop Effects and click 'Enable Desktop Effects'

For Kubuntu

Open Konsole (KMenu -> System -> Konsole) and type in these commands:

echo "compiz --replace" > ~/.kde/Autostart/startcompiz.sh
chmod +x ~/.kde/Autostart/startcompiz.sh

This creates a 'startcompiz.sh' script in the ~/.kde/Autostart directory, if you wish you may also want to have the script start up 'emerald --replace' or other window decorator for your system, such as in this example.

$ cat ~/.kde/Autostart/startcompiz.sh
compiz --replace  &
emerald --replace &

Information on the 3 window decorators can be found at http://wiki.compiz-fusion.org/Plugins/Decoration

Troubleshooting

Under Kubuntu, some settings in the Compiz Settings Manager may not be selectable unless you enable the "Flat-File Configuration Backend" Under the CCSM tool -> Preferences -> (Backend drop down menu) If you ran nvidia-settings, then your xorg.conf lost some info. To fix your compiz window decorations (titlebars) with an nVidia graphics card, run

sudo nvidia-xconfig --add-argb-glx-visuals -d 24

then restart X by logging out and back in again and selecting "Restart X Server" from the login menu. If you want to stop Compiz and start the old window manager (metacity or kwin), just press Alt+F2 and put in the following for Ubuntu

metacity --replace

# Alternate syntax if you receive: 'Window Manager error: Unable to Open X display'
# when using the above command.  The correct --display= value can be determined by 
# issuing the 'who' command and noting the values in parenthesis at line-end.

metacity --display=:0.0 --replace

Or for Kubuntu

kwin --replace

Fullscreen windows bug

It may happen that windows of specific programs might fully cover the desktop including the taskbar. This is due to a bug in the "workaround" plugin. This display default may be fixed by turning off the "Legacy Fullscreen Support" in the "workaround" plugin, opening your programs which were displayed improperly, and turning the "Legacy Fullscreen Support" option back on. For more details see This Link