4

I would like to display a fully opaque image (e.g. PNG RGB8) on the desktop in an image viewer - but such that I can set the window (showing the image) to be, say, 50% transparent (so I could see through and compare with other windows below). It would be even better if the viewer just shows a "panel" instead of a "window" (i.e. I'd prefer just the image shown, possibly with a border - instead of a full blown window with menubar, titlebar etc).

I'm aware that in Compiz, it should be possible to run a plugin, and have any window you want transparent - but I was hoping for a solution (viewer) that would not be Compiz-specific (and even more preferred, if it is neither Gnome nor KDE specific - but I'm not sure that is possible). ...

Any suggestions for an image viewer like this?

Gareth
  • 19,080
sdaau
  • 6,008

4 Answers4

7

I use transset, you can make any window whatever level of opacity you want. Since it is command line you can write scripts that call it.

example:

transset -n "Window Title" 0.5
LaXDragon
  • 171
1

To my knowledge, window transparency is the job of the window manager. I'm pretty sure--but someone please correct me if I'm wrong--that the only way to accomplish this is by using a window manager, such as Compiz, that supports transparency.

How come you don't want to use Compiz? If you're just trying to avoid Gnome and KDE, you can use Compiz independently of your desktop environment.

0

qiv with the -p flag will show an image over the desktop that can work like an overlay.

See also this question.

pbhj
  • 164
0

Compiz is a bit overkill for this usage, since it's a window manager as well as a compositing manager. You only need to compositing part.

The classic standalone compositing manager is xcompmgr, which will happily run alongside an existing window manager and should be in most distros' package managers. More recently it's been forked into Compton, to fix a few bugs.

See https://wiki.archlinux.org/index.php/xcompmgr for more info (it's not Arch-specific).

Warbo
  • 158
  • 4