Opacify Windows

UUID: opacify@anish.org
Last edited:
3 months ago 2019-12-19, 20:56 UTC
Last commit: [c6dcd708] opacify@anish.org: add tr.po

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

Log In To Comment!

8 Comments

ben2talk
ben2talk-2 days 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 days 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 months 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-6 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-6 months ago
Configurations button is always disabled on Linux Mint 19.1and Cinnamon 4.0.10.
Valery Kravtsov
Valery Kravtsov-8 months ago
Need an ability to configure transparency value.
Sadi Yumuşak
Sadi Yumuşak-1 year 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.