Xgl & Compiz (and Beryl)

News

20061014

xgltools-start confirmed to work with Beryl 0.1.0 on Xgl with multiple X sessions!

20061013

Updates, oh wow! ;)

20060930

Beryl has been released, please update to Beryl and Xorg 7.1 and you won't need to do any of this HowTo anymore ;)

20060917

Development halted again due to time constraints.

20060913

xnest-run may be obsolete now that a java drawing patch is included (with at least quinnstorm's) compiz.

It will remain in the repository for now.

20060904

Compatibility change: start-compiz renamed to start-xgltools

20060903

Development has restarted.

20060823

This project will be On Hold until I can use Xgl/Compiz on my Debian/sid system.

20060818

Tagged 20060818-BASESCRIPTS over in Projects, please check it out if you're setting up a new system, or following tags instead of trunk.

20060817

Reworked start-compiz and added a few scripts like fix-shift-bkspace

20060815

xgl-base-start redesigned, be aware!

20060807

Lots more added, scripts taking shape. Program descriptions added, and explanation for various scripts added.

20060730

Initial work started.

Preface

Here are some tips and tricks (and scripts) I use with Xgl & Compiz.

I've seen alot of these ideas around, but none really implemented. So, here is my implementation. Enjoy.

Script Descriptions

Script Description
xgltools-start Starts up Beryl and all associated stuff.
find-base-xserver Finds the base Xserver of your Xgl session and echos it, used for other scripts.
xgl-base-start Start up kwin on a base Xserver, used for running OpenGL applications and other applications problematic to the Xgl overlay. This is called in start-xgltools.
xgl-base-run Start up a program on an already initiated xgl-base-start
xnest-run Start up a program in an Xnest session, good for Java Swing applications and such.
argb-skip-run Start up a program skipping ARGB visuals, a fix for GTK 1.2 programs and other problems.
fix-shift-bkspace Called in start-xgltools, fixes Xgl crash on Shift-Backspace.
find-free-x Used mostly by xnest-run, but quite useful, finds an open X handle and echos.
Script Description
…various program scripts Program override scripts to fix them for Xgl, mostly working with above scripts.

Others should be self explanatory.

These scripts are all built to work together (mostly) and you should install them (and their depend(ing/ant) scripts) in your $PATH or /usr/local/bin

Check the xglscripts project page for trunk and stable tags of these tools!

Specific Script Help

xgl-base-start and run

This is meant to be used with kwin setup properly.

You must also be initializing Xgl with -xorgAc

(Yes, GNOME-ites, you need to install kwin and possibly kcontrol, unless you know of another way to edit it's settings..)

kwin should be setup as described:

In Kcontrol → Desktop → Window-Specific Settings → New:

Under Window:

Option My Setting
Description Xglx
Window Class xglx (exact match)

Under Geometry:

Option My Setting
Fullscreen Force [X]

Under Preferences:

Option My Setting
Keep Below Force [X]
No Border Force [X]
Skip Taskbar Force [X]
Skip Pager Force [X]

Under Workarounds:

Option My Setting
Block Global Shortcuts Force [X]

Now, using these scripts, you should be able to execute programs properly on the base Xorg with Xgl.

Comments

Comments, constructive criticism, etc.. are all welcome to meff@pobox.com .. thanks!

 
howtos/xglcompiz.txt · Last modified: 2007/03/11 00:07 (external edit) · []
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki