In the future I guess it's meant for the windowmanagers to handle
transparency. Then we will hopefully see these functions and many other
now imposible function. This will however require you to wait untill this is
implemented in your favorite wm. This patch is a way of "scratching where it
itches", by creating a usefull integration with every windowmanager without
changing any wm-code. The "unix way" of doing it :)
download transset-df from this page
type: tar zxf transset-df-X.tar.gz where X is the versionnumber
type: cd transset-df-X/
type: make install (you have to be root-user here)
Since I find it tricky to keep track of all different config-files I use the program
e16keyedit to set keybindings from the gui. This is what I do:
click "New Keybinding"
in the upper right corner, click "Change"
press a key you don't use, for instance the left "window-key"
Choose "Run commmand" from the actions-list.
write "/usr/bin/transset-df -p -t 0.3" as parameter.
If everything worked as it should and you are running xcompmgr you can now press the
left window-button and the window where the cursor is will turn 30% transparent
Press again and it will switch back. If you started xcompmgr with the right flags
it will even automaticly fade in and out when switching :)
Another idea of how transset-df could be used is to bind it to the scrollwheel
Bind pressing alt + scrolling up to transset-df -p --inc 0.1 and
pressing alt + scrolling down to transset-df --min 0.1 -p --dec 0.2
The '--min'-flag makes sure you'll not be able to make windowses invisible
An example of how to bind to scrollwheel can be found here
Eutotrans is a small ruby-script that creates a opacity-follows-focus behaviur
in enlightenment 0.16. Which means that the focused window is always opaque
while all the other windowses are transparent. Eutotrans is a simple example
of what transset-df could be used for. It has also spurred some offsprings:
focustran.pl is a perl script that works with any windowmanager. Written by hacnslash.