Xwinwrap
From openSUSE
Contents |
Introduction
xwinwrap is a utility, written by David Reveman/Novell, that will make cool things happen on your desktop. You can run your screensavers, play movies etc, and it will look as if they are part of your background. These instructions have only been tested in GNOME.
How?
To make it happen, this is what you have to do:
Installation
Packages are available in the following repository:
http://software.opensuse.org/download/X11:/XGL/
zypper sa http://ftp.skynet.be/pub/software.opensuse.org/X11:/XGL/openSUSE_10.3/ xgl zypper install xwinwrap
If you like you can install compiz and beryl packages from the repository too.
To compile it yourself
- Install cvs, xorg-x11-devel, make and gcc
- Create and change to a directory of your choice, where the source code will be downloaded to.
- cvs -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/xapps co xwinwrap
- cd xwinwrap
- Then run make
On SLED 10 and SUSE Linux 10.1
- Edit the Makefile so that the LD line looks as follows then run make;
LDFLAGS+=-L/usr/X11R6/lib -lX11 -lXext -lXrender
If everything compiles properly, you should now have a binary called xwinwrap.
Run
If you installed the packages from the repository run the following in terminal window and follow the on screen instructions:
coolbg
Manually the following command can be run changing the relevant paths;
xwinwrap -ni -argb -fs -s -st -sp -a -nf -- /usr/lib/xscreensaver/glmatrix -window-id WID
This should run the Matrix screensaver in the foreground. To make it run in the background, change -a to -b.
More things to try:
xwinwrap -ni -o 0.6 -fs -s -st -sp -b -nf -- mplayer -wid WID -quiet movie.mpg
If you have the quake demo installed, you could try;
xwinwrap -ni -argb -fs -s -st -sp -b -nf -- q3demo -window-id WID
If you like to see the log messages scrolling on your desktop, run the following as root:
xwinwrap -ni -argb -fs -s -st -sp -b -nf -- /usr/lib/xscreensaver/phosphor -root -window-id WID -program 'tail -f /var/log/messages'
You can run any command in place of "tail" to display it's output on screen, see man phosphor.
Options
- FS
- fullscreen
- S
- sticky
- ST
- Skip Taskbar
- SP
- Skip Pager
- A
- Above
- B
- Below
- NF
- No Focus
- O
- Opaque
- NI
- No Input

