I'm working with many GIS applications under Gnome. It sometimes is very convenient to place one map over another to quickly spot differences.
There used to be a KDE trick to make any window (not just a terminal!) transparent, thereby allowing me to make one map semi-transparent and place it on the window of the other mapping software. Is there a similar trick for Gnome?
I am not sure about Gnomw itself, but in Compiz, there is a plugin called "Opacity, Brightness and Saturation adjustments", which allows you control transparency of windows any way I can imagine, including Alt + {sroll} as Andrea Lazzarotto said.
For newer versions of Gnome (Gnome 3/Gnome Shell), you can use this extension to make windows transparent:
EDIT: To install in Gnome 3.14+
Gnome extensions have a file containing which version of Gnome they are compatible with - this is not always correct as the extension may work for other versions not specified in the file, so you need to get the extension from outside the gnome extension site, and modify the file and install it manually - this works a lot of the time with other extensions.
Extract it, and modify the
shell-version
line in the/transparentwindows-master/transparentwindows@ellen/metadata.json
file to make sure it includes your shell version (e.g.3.14
):You can find your shell version if needed using
gnome-shell --version
~/.local/share/gnome-shell/extensions
, so it looks like this:r
+Enter, and enable it in Gnome Tweak Tool or similar.Also note that you can do a issue/bug report to the developer to ask for the extension the Gnome Extension site to be updated - in this case there is one here. You can also make your own commit to the extension to include 3.14+ versions.
Gnome extensions are OK, but if someone want use opacity/transparency occasionally - it is better use
xprop
command.Run:
and then click on window to set it to 50% opacity.
0x7FFFFFFF
- 50% opacity0xFFFFFFFF
- 100% opacitySet opacity via providing window id (obtained from
xwininfo
):Hold down the Alt key and then scroll with your mouse wheel.