Set window transparency in Gnome

13,801

Solution 1

There's another extension called Glassy Gnome that works with newer versions of gnome-shell.

For more details consult the included README.

Solution 2

You could change window opacity/transparency by changing property _NET_WM_WINDOW_OPACITY via xprop command.

Run:

xprop -format _NET_WM_WINDOW_OPACITY 32c -set _NET_WM_WINDOW_OPACITY 0x7FFFFFFF

and then click on window to set it to 50% opacity.

  • 0x7FFFFFFF - 50% opacity
  • 0xFFFFFFFF - 100% opacity

Set opacity via providing window id (obtained from xwininfo):

xprop -id 0x3a00006 -format _NET_WM_WINDOW_OPACITY 32c -set _NET_WM_WINDOW_OPACITY 0x7FFFFFFF
Share:
13,801
Zachscs
Author by

Zachscs

I graduated from California State University, Northridge with a degree in Computer Science. I work full time as a front end developer in Los Angeles. I also like working in other arenas and code in golang for personal projects. I like using vim or vscode for my projects. I play tennis and enjoy craft beer, classic rock and watching sports.

Updated on September 18, 2022

Comments

  • Zachscs
    Zachscs almost 2 years

    I'd like to make my IDE window partially transparent. I achieved this in Unity using compiz as described in the accepted answer to: How to make a window transparent in gnome. However I don't believe compiz will work for this with gnome unless I'm mistaken. There WAS a gnome extension for this but it has been abandoned and the github repo is gone. Anyone know of a way to achieve this? I'm on ubuntu 17.10

  • Zachscs
    Zachscs over 6 years
    Thanks I'll try it out when I get home tonight but looks promising!
  • lyuboslav kanev
    lyuboslav kanev about 4 years
    This allows me to see the windows below, but not the wallpaper. Can it be fixed? Is there a way to only see the wallpaper?