Linux: image viewer with transparent window?

2

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?

sdaau

Posted 2011-08-17T18:06:33.907

Reputation: 3 758

1Considering that most programs want to be "well-integrated" there isn't going to be a DE/WM-agnostic solution that doesn't look as ugly as Squidward's head. – digitxp – 2011-08-18T02:43:08.390

Thanks for the comment @digitxp - I was suspecting that was the case, but good to have it confirmed... – sdaau – 2011-08-22T09:06:21.170

Answers

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.

strangeronyourtrain

Posted 2011-08-17T18:06:33.907

Reputation: 156

Thanks for that @strangeronyourtrain - I was suspecting that is the case, but good to have it confirmed... I actually like the Compiz method, worked quite nice for me - but a lot of times, I'd have to boot into a USB-key based OS, which may not necessarily have Compiz.. In such cases, it would be nice to have a WM agnostic solution. Thanks again - cheers! – sdaau – 2011-08-22T09:09:19.230

1

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

Posted 2011-08-17T18:06:33.907

Reputation: 111

granted, you do need to have compositing enabled first. I use MATE as my desktop, and just use the simple compositor built into it. – LaXDragon – 2015-01-27T17:08:43.910

0

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

See also this question.

pbhj

Posted 2011-08-17T18:06:33.907

Reputation: 76

-1

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

Posted 2011-08-17T18:06:33.907

Reputation: 148

This isn't really an answer. The user seems to know how to use compositing, but seems to interested in an image viewer with a minimal edge that can be overlaid against another window of like type. – killermist – 2015-01-27T17:13:06.620