Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-10-08 17:13:39

ahmeteid
Member
Registered: 2022-08-15
Posts: 65

[SOLVED] How i can make active windows in xfce transparent?

in the tweak window manger, i can make opacity for inactive window , but  there is no option for opacity to active window, is there way in xfce to make active windows transparent?

Last edited by KBar (2022-10-09 05:26:48)

Offline

#2 2022-10-08 19:40:42

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [SOLVED] How i can make active windows in xfce transparent?

There is no built-in setting for this, but you can use the devilspie program to achieve this. Install devilspie, create a ~/.devilspie directory, and within that directory, create the following 2 files:

opacity.ds

(begin (opacity 70))

...adjust the 70 (percent) to suit. This will affect all windows.

xfdesktop.ds

(if (is (application_name) "xfdesktop") (begin (opacity 100)))

...this is necessary to keep the desktop from becoming transparent (which causes graphical artifacts). You may need to create a similar file for "xfce4-panel" if you don't want it to be transparent as well.

Edit: You also need to run:

devilspie -a

...for the transparency to take effect. If it works, add the command to your application autostart.

Last edited by ToZ (2022-10-08 19:45:46)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2022-10-08 22:14:48

ahmeteid
Member
Registered: 2022-08-15
Posts: 65

Re: [SOLVED] How i can make active windows in xfce transparent?

ToZ wrote:

There is no built-in setting for this, but you can use the devilspie program to achieve this. Install devilspie, create a ~/.devilspie directory, and within that directory, create the following 2 files:

opacity.ds

(begin (opacity 70))

...adjust the 70 (percent) to suit. This will affect all windows.

xfdesktop.ds

(if (is (application_name) "xfdesktop") (begin (opacity 100)))

...this is necessary to keep the desktop from becoming transparent (which causes graphical artifacts). You may need to create a similar file for "xfce4-panel" if you don't want it to be transparent as well.

Edit: You also need to run:

devilspie -a

...for the transparency to take effect. If it works, add the command to your application autostart.

[solved]

thank u very much, it is worked good, but how i can make task menu(zorinmenulite) take different opacity  more than  the others(xfdesktop)?

Last edited by ahmeteid (2022-10-09 00:30:50)

Offline

#4 2022-10-08 22:36:13

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [SOLVED] How i can make active windows in xfce transparent?

zorinmenu isn't really an "app" in the way that devilspie and X11 see it. Try using transset instead. Try this in a terminal window to see if it helps:

xfce4-popup-zorinmenulite & sleep .5 && transset -a

...adjust the sleep value to a lower value to make the transition less apparent.

If it works. then you'll need to create a launcher to launch this command instead of the actual zorinmenu plugin, but you still need to keep the zorinmenu plugin on the panel for the command to work (maybe create another panel with only the zorinmenu on it, stick in the corner and set it to always hide so its not visible).

There doesn't seem to be an easy way to make the zorinmenu transparent. Perhaps you can ask the developer to add the option?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2022-10-09 00:28:12

ahmeteid
Member
Registered: 2022-08-15
Posts: 65

Re: [SOLVED] How i can make active windows in xfce transparent?

thank u very much for that info, i tried that way and worked good, but sleep does not manage the degree of opacity, it's good but it will better if i can manage the degree of opacity, but anyway that good, instead of make launcher on panel, i tried the hotcorner plugin to launch the menu in the same place of icon of menu, and worked good.
I will suggest and ask  the developer to add the opacity option to the zorinmenulite plugin. thank u again

Offline

#6 2022-10-09 00:36:58

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [SOLVED] How i can make active windows in xfce transparent?

You can add the opacity as a parameter to transset. For example:

xfce4-popup-zorinmenulite & sleep .5 && transset -a 0.25

...the value needs to be between 0 and 1.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2022-10-09 00:45:54

ahmeteid
Member
Registered: 2022-08-15
Posts: 65

Re: [SOLVED] How i can make active windows in xfce transparent?

that very good, thank u very much, i can now manage the degree of opacity i make it .95 and i make sleep .1
it worked well with hotcorner

Offline

#8 2022-10-23 03:43:55

ahmeteid
Member
Registered: 2022-08-15
Posts: 65

Re: [SOLVED] How i can make active windows in xfce transparent?

ToZ wrote:

...this is necessary to keep the desktop from becoming transparent (which causes graphical artifacts). You may need to create a similar file for "xfce4-panel" if you don't want it to be transparent as well.


...for the transparency to take effect. If it works, add the command to your application autostart.

sorry how i can do that? do u mean i make file desktop.ds and xfc4-panel.ds? and what should i type in it?

Last edited by ahmeteid (2022-10-23 03:45:29)

Offline

#9 2022-10-23 11:46:51

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [SOLVED] How i can make active windows in xfce transparent?

ahmeteid wrote:
ToZ wrote:

...this is necessary to keep the desktop from becoming transparent (which causes graphical artifacts). You may need to create a similar file for "xfce4-panel" if you don't want it to be transparent as well.


...for the transparency to take effect. If it works, add the command to your application autostart.

sorry how i can do that? do u mean i make file desktop.ds and xfc4-panel.ds? and what should i type in it?

If you are going to use devilspie, then yes. Create the two files with the content listed in my initial post above. Put the files in ~/.devilspie. Start devilspie.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#10 2022-10-23 12:43:19

ahmeteid
Member
Registered: 2022-08-15
Posts: 65

Re: [SOLVED] How i can make active windows in xfce transparent?

there is recording shadow for the previous opened pop up windows in the background of desktop, is there way to avoid it
https://imgur.com/i9DrNjf.png

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.013 seconds, 7 queries executed - Memory usage: 558.92 KiB (Peak: 575.77 KiB) ]