Difference between revisions of "Compiz Fusion"

From ArchWiki
Jump to: navigation, search
m (Additional Resources: How to set up link)
m (rm wanted template)
 
(57 intermediate revisions by 30 users not shown)
Line 1: Line 1:
[[Category:Eye candy (English)]]
+
#REDIRECT [[Compiz]]
[[Category:Desktop environments (English)]]
 
[[Category:HOWTOs (English)]]
 
 
 
{{i18n_links_start}}
 
{{i18n_entry|English|:Compiz Fusion}}
 
{{i18n_entry|Português de Brasil|:Compiz Fusion (Português)}}
 
{{i18n_entry|简体中文|Compiz Fusion(简体中文)}}
 
{{i18n_links_end}}
 
 
 
= Installation =
 
Basic installation can be done using community as repo ( see below ).
 
 
 
The second way is using nesl's git packages. See [[Compiz_Fusion_Git]] for more information.
 
 
 
 
 
== Install from Community ==
 
 
 
Make sure the Community repository is enabled and run this command as root to install everything:
 
pacman -S compiz-fusion
 
Run this if you only want gtk-based packages installed:
 
pacman -S compiz-fusion-gtk
 
or this if you only want kde-based packages installed:
 
pacman -S compiz-fusion-kde
 
 
 
If you want select personally the packages, here is a list:
 
=== List of packages by group ===
 
 
 
TODO
 
 
 
=== Fusion effects ===
 
 
 
You need to install
 
 
 
* compiz-fusion-plugins-main
 
* compiz-fusion-plugins-extra
 
 
 
to get the full panel of fusion-compiz effects, like cube reflexion, expo, ...
 
 
 
pacman -S compiz-fusion-plugins-main compiz-fusion-plugins-extra
 
 
 
= Starting Compiz Fusion =
 
 
 
== Manual (with "fusion-icon") ==
 
 
 
Launch the Compiz Fusion tray icon:
 
 
 
  fusion-icon
 
 
 
note: if it fails, you may try it with dbus-launch
 
 
 
dbus-launch "fusion-icon"
 
 
 
Right click on the icon in the panel and go to 'select window manager'. Choose "Compiz" if it isn't selected already, and you should be set.
 
 
 
If this fails you can start compiz-fusion by using the following commands
 
 
 
  fusion-icon
 
  emerald --replace
 
  compiz-manager
 
 
 
== KDE ==
 
 
 
=== Manual (without "fusion-icon") ===
 
 
 
Launch Compiz with the following command once installation is done :
 
 
 
  compiz --replace ccp &
 
 
 
Start new settings manager:
 
  ccsm &
 
 
 
Select all the plugins you like including “decoration” plugin, Add
 
  kde-window-decorator --replace
 
as command string under ‘decoration’ plugin.
 
 
 
<!-- We need some more consistency with the autostart guides. The KDE version suggests starting compiz directly while the GNOME version tells you to use fusion-icon. -->
 
 
 
=== Autostart (with "fusion-icon") ===
 
 
 
You should add a symbolic link to the fusion-icon executable in your KDE Autostart directory (generally located on ~/.kde/Autostart):
 
 
 
  ln -s /usr/bin/fusion-icon ~/.kde/Autostart/fusion-icon
 
 
 
Next time you start KDE it will load fusion-icon automatically.
 
 
 
=== Autostart (without "fusion-icon") ===
 
 
 
==== Method 1 - Autostart Link ====
 
 
 
* You can ensure that Compiz Fusion will always start at login by appending a desktop entry to the KDE autostart directory. Create the file ''~/.kde/Autostart/compiz.desktop'' with the following contents:
 
 
 
  [Desktop Entry]
 
  Encoding=UTF-8
 
  Exec=compiz --replace ccp
 
  StartupNotify=false
 
  Terminal=false
 
  Type=Application
 
  X-KDE-autostart-after=kdesktop
 
 
 
* If you want to use the optional <tt>fusion-icon</tt> application, launch ''fusion-icon''. If you log out normally with ''fusion-icon'' running, KDE should restore your session and launch ''fusion-icon'' the next time you log in if this setting is enabled. If it doesn't appear to be working, ensure you have the following line in ''~/.kde/share/config/ksmserverrc'':
 
 
 
  loginMode=restorePreviousLogout
 
 
 
==== Method 2 - export KDEWM (avoid KWIN) ====
 
 
 
Using this method will load Compiz-Fusion as the default window manager instead of KWIN from the start. This method is faster then loading Compiz-Fusion in the ~/.kde/Autostart/ (method 1) because it avoids loading KDE's default WM (kwin) first. This way also stops that annoying black screen flicker you might see using other methods (when kwin switches to Compiz on KDE's desktop loading screens).
 
 
 
As root you must create a short script by doing the following in your terminal.  This will allow you to load compiz with the switches because doing it directly via export KDEWM="compiz --replace ccp --sm-disable" doesn't seem to work.
 
 
 
  echo "compiz --replace ccp --sm-disable &" > /usr/bin/compiz-fusion
 
  chmod +x /usr/bin/compiz-fusion
 
 
 
Now just edit your ~/.bashrc and add the following so KDE will load compiz (via the script you just created) instead of loading kwin.
 
 
 
export KDEWM="compiz-fusion"
 
 
 
NOTE: If you use /usr/local/bin directory it may not work. In that case you should export the script with the path, i.e. export KDEWM="/usr/local/bin/compiz-fusion".
 
 
 
NOTE: The elegant way for above mentioned method is to include
 
 
 
KDEWM="compiz-fusion"
 
 
 
line in the ~/.kde/env/compiz.sh or /opt/kde/env/compiz.sh (system wide).
 
 
 
== GNOME ==
 
 
 
=== Autostart (without "compiz-fusion") ===
 
 
 
TO DO
 
 
 
=== Autostart (with "compiz-fusion") ===
 
 
 
To start Compiz fusion automatically when starting a session add
 
  "Compiz Fusion" (Name:)
 
and
 
    "fusion-icon" (Command:)
 
to the applications that start with your session. You can do this by going to:
 
 
 
  [System] -> [Preferences] -> [Sessions] -> [Startup Programs]
 
Adding "Compiz Fusion" to the list might be a good idea too so you can switch back to Metacity if need be.
 
 
 
== Xfce ==
 
 
 
=== Xfce autostart (without "compiz-fusion") ===
 
 
 
TO DO
 
 
 
=== Xfce autostart (with "compiz-fusion") ===
 
 
 
Start "Autostarted Applications"
 
 
 
Add
 
  (Name:) Compiz Fusion
 
and
 
  (Command:) fusion-icon
 
 
 
= Troubleshooting =
 
 
 
* make sure that the environmental variable $XLIB_SKIP_ARGB_VISUALS is not set
 
 
 
See [[Compiz_Troubleshooting]]
 
 
 
= Additional Resources =
 
*[[AIGLX]]
 
*[[Xgl]]
 
*[[Composite]] -- A Xorg extension required by composite managers
 
*[[Compiz Fusion]] -- A composite and window manager offering a rich 3D accelerated desktop environment
 
*[[Compiz]] -- The original composite/window manager from Novell
 
*[[Xcompmgr]] -- A simple composite manager capable of drop shadows and primitive transparency
 
*[[Beryl]] -- <strike>A composite/window manager forked from Compiz</strike> (since merged to become [[Compiz Fusion]])
 
*Wikipedia: [http://en.wikipedia.org/wiki/Compositing_window_manager Compositing Window Managers]
 
*How to set up Compiz Fusion: [http://forlong.blogage.de/article/2007/8/29/How-to-set-up-Compiz-Fusion]
 

Latest revision as of 05:44, 22 January 2010

Redirect to: