Difference between revisions of "Xcompmgr"

From ArchWiki
Jump to: navigation, search
m (Introduction)
m (Introduction)
Line 6: Line 6:
 
Xcompmgr is a simple [http://en.wikipedia.org/wiki/Compositing_window_manager composite window manager], capable of rendering drop shadows and, with the use of the <tt>transset</tt> utility, primitive window transparency. Designed solely as a proof-of-concept, xcompmgr is a lightweight alternative to Compiz Fusion and similar composite managers.
 
Xcompmgr is a simple [http://en.wikipedia.org/wiki/Compositing_window_manager composite window manager], capable of rendering drop shadows and, with the use of the <tt>transset</tt> utility, primitive window transparency. Designed solely as a proof-of-concept, xcompmgr is a lightweight alternative to Compiz Fusion and similar composite managers.
  
Because it does not replace the any existing window manager, it is an ideal solution for users of [[Openbox]] and [[Fluxbox]] seeking a more elegant desktop.
+
Because it does not replace any existing window manager, it is an ideal solution for users of [[Openbox]] and [[Fluxbox]] seeking a more elegant desktop.
  
 
= Prerequisites =
 
= Prerequisites =

Revision as of 16:22, 22 September 2007


Introduction

Xcompmgr is a simple composite window manager, capable of rendering drop shadows and, with the use of the transset utility, primitive window transparency. Designed solely as a proof-of-concept, xcompmgr is a lightweight alternative to Compiz Fusion and similar composite managers.

Because it does not replace any existing window manager, it is an ideal solution for users of Openbox and Fluxbox seeking a more elegant desktop.

Prerequisites

Xcompmgr requires the following:

  • Xorg must be installed, configured and running
  • Composite must be enabled via graphics drivers, AIGLX, or Xgl

Installation

Both xcompmgr and the transparency tool transset, are available from the standard repositories:

# pacman -S xcompmgr transset

Configuration

To load xcompmgr, simply run:

$ xcompmgr -c

To have it load every time X starts, add the following to your ~~/.xinitrc:

xcompmgr -c &

Instead of -c you can experiment with the other switches to modify the drop-shadows or even enable fading. Below is common example:

xcompmgr -c -t-5 -l-5 -r4.2 -o.55 &

For a full list of options, run:

$ xcompmgr --help

Window Transparency

Although its practical use is limited, due to its slow performance, the transset utility can be used to set the transparency of individual windows.

To set the transparency of a program window, make sure the desired program is already running, then execute:

transset n

.. where n is a number from 0 to 1, zero being transparent and 1 being opaque.

Once executed, the mouse cursor will transform to a crosshair. Simply click the desired window and the transparency will change to the value specified. For example, transset .25 will set the target window to 75% transparency.

Troubleshooting

fglrx

ATI owners using the fgrlx proprietary driver will need to enable compositing with Xgl.

Fluxbox windows won't raise

This is fixed in fluxbox CVS after 0.9.10. See [1] for more info.
A workaround in 0.9.10 is to set the layer of the Slit to "Desktop" (flux menu -> Configure -> Slit -> Layer -> Desktop).

Mozilla Firefox crashes when entering a Flash site

You can fix it by either creating a executable file in /etc/profile.d called flash.sh including this line:

export XLIB_SKIP_ARGB_VISUALS=1

Or adding the line into line 184 of /opt/mozilla/bin/firefox.

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
  • Xcompmgr -- A simple composite manager capable of drop shadows and primitive transparency
  • Beryl -- A composite/window manager forked from Compiz (since merged to become Compiz Fusion)
  • Compiz -- The original composite/window manager from Novell (since merged to become Compiz Fusion)
  • Wikipedia: Compositing Window Managers