Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-05-08 20:09:49

u9009
Member
Registered: 2015-12-11
Posts: 18

[SOLVED] How to change window opacity by mouse wheel or shortcut ?

I tried some advice here (https://ubuntuforums.org/showthread.php?t=2228495),
but it doesn't work. I want window opacity be changed on mouse wheel or on shortcut pressed (like in KDE).

Last edited by u9009 (2018-05-08 22:42:42)

Offline

#2 2018-05-08 20:37:14

alcornoqui
Member
Registered: 2014-07-28
Posts: 305

Re: [SOLVED] How to change window opacity by mouse wheel or shortcut ?

Offline

#3 2018-05-08 20:47:58

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,660

Re: [SOLVED] How to change window opacity by mouse wheel or shortcut ?

And if you're looking for a keyboard shortcut to toggle the transparency off and on, create a keyboard shortcut for the following command:

bash -c "[[ $(xfconf-query -c xfwm4 -p /general/frame_opacity) -gt 0 ]] && xfconf-query -c xfwm4 -p /general/frame_opacity -s 0 || xfconf-query -c xfwm4 -p /general/frame_opacity -s 100"

Offline

#4 2018-05-08 21:00:21

alcornoqui
Member
Registered: 2014-07-28
Posts: 305

Re: [SOLVED] How to change window opacity by mouse wheel or shortcut ?

Though I think it'd be cooler if we could make it with just one command/shortcut, making it a toggle... Try:

xfconf-query -c xfwm4 -p /general/zoom_desktop -T

Offline

#5 2018-05-08 21:01:22

alcornoqui
Member
Registered: 2014-07-28
Posts: 305

Re: [SOLVED] How to change window opacity by mouse wheel or shortcut ?

Oops, hi ToZ! Should've previewed wink

Offline

#6 2018-05-08 21:45:28

u9009
Member
Registered: 2015-12-11
Posts: 18

Re: [SOLVED] How to change window opacity by mouse wheel or shortcut ?

Thanks Member, works great !
alcornoqui thanks, that works also.
Moderator - not what I meat, I wanted the whole window to be transparent, not just titlebar, anyway thanks for attention.

Last edited by u9009 (2018-05-08 21:45:55)

Offline

#7 2018-05-08 22:03:30

alcornoqui
Member
Registered: 2014-07-28
Posts: 305

Re: [SOLVED] How to change window opacity by mouse wheel or shortcut ?

LOL
smile
great!

Offline

#8 2018-05-08 22:37:57

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,660

Re: [SOLVED] How to change window opacity by mouse wheel or shortcut ?

u9009 wrote:

Moderator - not what I meat, I wanted the whole window to be transparent, not just titlebar, anyway thanks for attention.

In that case, if you have access to transset-df (look in your distro's repositories) you can use this shortcut command:

transset-df -at 0.15

...the last number is a float to indicate the transparency level from 0.0 (transparent) to 1.0 (opaque) of the currently active window.

Offline

Board footer

Powered by FluxBB