Opacify Windows

UUID: opacify@anish.org
Last edited:
3 months ago 2022-08-18, 15:48
Last commit: [c525eee5] Merge pull request #414 from Alan01/patch-36

Fade out the current window that the user is resizing or dragging.

Log In To Comment!

19 Comments

davie38
davie38-2 months ago
Linux Mint 21 Cinnamon 5.4, with many applications (like firefox, the update manager, nemo, ...) the fade out effect show the desktop background, not others windows behind. https://github.com/linuxmint/cinnamon-spices-extensions/issues/417
kendoori
kendoori-8 months ago
I wonder if there's a way to make this extension permanently Opacify a window? I have a specific app that I'd like to use as a widget of sorts, and I wish I could Opacify that Window.
Zhao Zuohong
Zhao Zuohong-9 months ago
Linux Mint 20.3 with Cinnamon 5.2.7, Extension version 2021-09-25. After dragging window to the edge of the screen and release mouse, the window remains transparent.
Christopher McAllister
Yeah, I'm still seeing this issue. It's actually a deal breaker for me. I'd be using it if this is viewed as a bug and is fixed, or at least made configurable
Wareocraft
Wareocraft -1 year ago
It worked in linux mint and i loved to have this package in my linux desktop
Cvetan Šimšić
Cvetan Šimšić-1 year ago
Doesn't work with Linux Mint 20.1
MaxBaktBrood
MaxBaktBrood-1 year ago
Would it be possible to just change the transparency of the title bar? I would reallly like such a feature. Just like Windows 7
Dam1ran
Dam1ran-1 year ago
28.02.21 small dev bug line 68-73 in onEndGrabOp functions { Tweener.addTween(actor, { opacity: 255, time: settings.beginTime/1000, transition: settings.beginEffect }); } should be: { Tweener.addTween(actor, { opacity: 255, time: settings.endTime/1000, transition: settings.endEffect }); } END time and end effect
Juan-Lutz
Juan-Lutz-1 year ago
Excellent ! It works for LM 20.1 Cinnamon Beta. Very Good Thank you.
ivanaponi
ivanaponi-2 years ago
Windows sometimes get stuck transparent and have to be re clicked to see them
ben2talk
ben2talk-2 years ago
The issue I have is that the extension doesn't now see the event if you drag a window to the edge of the screen - maximising that way leaves it transparent. I guess this option is missed in the settings .json - though it's hard to understand much of what's going on there. I must use the keyboard 'super' key to snap windows to the sides/corners which avoids opacify... and avoid letting the window snap. Using mouse gestures helps (Easystroke is King) - to vertically maximise, I draw a 'lightning' and to horizontally maximise, a horizontal lightning... so I can drag a window to snap to the side of the screen, then do 'lightning' gesture to vertically maximise it - or go to the keyboard and hit super to put the window in a 'quarter' or 'half' screen which loses the decoration also (using mouse gestures also means not needing to go to/use the titlebar).
ben2talk
ben2talk-2 years ago
Dirty fix for 'settings' is to dive into .local/share/cinnamon/extensions/opacify@anish.org edit 'metadata.json' to directly edit settings, or edit 'metadata.json' and replace, or append, your cinnamon version (4.4.8 for me). The 'settings' now works, but doesn't affect opacity staying on when the window is dragged to maximise or tile.
ak1dd
ak1dd-2 years ago
Please give us an update. I really like this extension. It does seem to work on 19.3 (although maximizing a window with focus is sometimes transparent) It would also be reassuring not to see a "you might break your system" when you install it.
mh67
mh67-3 years ago
Valery Kravtsov: You can configure transparency value by the help of following quick-and-dirty workaround: - install Opacity Windows extension to Cinnamon (tested on Mint 19.2) - activate this extension (ignore warning) - in some text editor (vim, mcedit, nano....) open this file: ~/.local/share/cinnamon/extensions/opacify@anish.org/extension.js - in the onBeginGrabOp() function change the line, beginning with "opacity:" - replace content with your raw desired opacity value - may be in range 0..255, in my case the value 220 seems optimal - restart Cinnamon (e.g. login/logout...) Just look at this example (copy from my PC): function onBeginGrabOp(display, screen, window, op) { let actor = window.get_compositor_private(); if (!actor) { return; } if ((op == Meta.GrabOp.MOVING) || (op == Meta.GrabOp.KEYBOARD_MOVING) || (op == Meta.GrabOp.RESIZING_E) || (op == Meta.GrabOp.RESIZING_N) || (op == Meta.GrabOp.RESIZING_NE) || (op == Meta.GrabOp.RESIZING_NW) || (op == Meta.GrabOp.RESIZING_S) || (op == Meta.GrabOp.RESIZING_SE) || (op == Meta.GrabOp.RESIZING_SW) || (op == Meta.GrabOp.RESIZING_W) || (op == Meta.GrabOp.KEYBOARD_RESIZING_E) || (op == Meta.GrabOp.KEYBOARD_RESIZING_N) || (op == Meta.GrabOp.KEYBOARD_RESIZING_NE) || (op == Meta.GrabOp.KEYBOARD_RESIZING_NW) || (op == Meta.GrabOp.KEYBOARD_RESIZING_S) || (op == Meta.GrabOp.KEYBOARD_RESIZING_SE) || (op == Meta.GrabOp.KEYBOARD_RESIZING_SW) || (op == Meta.GrabOp.KEYBOARD_RESIZING_W)|| (op == Meta.GrabOp.KEYBOARD_RESIZING_UNKNOWN)) { Tweener.addTween(actor, { // **** force raw opacity value **** opacity: 220,. time: settings.beginTime/1000, transition: settings.beginEffect }); } }
Christiano Marques
Christiano Marques-3 years ago
Configurations button is always disabled on Linux Mint 19.1and Cinnamon 4.0.10.
Valery Kravtsov
Valery Kravtsov-3 years ago
Need an ability to configure transparency value.
Sadi Yumuşak
Sadi Yumuşak-3 years ago
works fine with cinnamon 4.0!
ACinnamonUserInUK
ACinnamonUserInUK-5 years ago
Unfortunately this lovely extension gets disabled by the new, beta (3.4) version of Cinnamon.