Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm a Java programmer who's rather new to Linux. I'm on Suse / Gnome and I need to create a window which:

  • Is visually translucent/transparent. This is the usual alpha blending that composes a foreground image with a background image, while allowing the background image to be visible "through" the foreground image.
  • Is transparent to mouse events, in other words the window accepts no mouse events and all such event are passed through to whatever lies underneath.

I successfully got the visual transparency but not the mouse event transparency. When I test the environment translucency capabilies with Java I got that:

 - TRANSLUCENT = false

The compositing is activated. I changed compositing type from OpenGL to XRender and vice versa. But it didn't change anything. Do I have to change of Window Manager or activate some options?

share|improve this question
Did you ever find the solution? – nilsge Apr 7 '14 at 22:52

Transparency to mouse events you will have to program as window behavior. Visualy transparent is something the windowing system you select provide.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.