Opacify Windows

UUID: opacify@anish.org
Last edited:
1 month ago 2019-10-21, 19:27 UTC
Last commit: [73e0faf4] Added Italian translation.

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

Log In To Comment!

5 Comments

mh67
mh67-2 months 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-2 months ago
Configurations button is always disabled on Linux Mint 19.1and Cinnamon 4.0.10.
Valery Kravtsov
Valery Kravtsov-5 months ago
Need an ability to configure transparency value.
Sadi Yumuşak
Sadi Yumuşak-10 months ago
works fine with cinnamon 4.0!
ACinnamonUserInUK
ACinnamonUserInUK-2 years ago
Unfortunately this lovely extension gets disabled by the new, beta (3.4) version of Cinnamon.