Xfce Forum

Sub domains
 

You are not logged in.

#1 2016-07-20 11:42:26

botaksaja
Member
Registered: 2016-06-09
Posts: 19

Problem with compositing window

hello, i want to active my compositing window manager but, my screen have anoying black line above plank.. how to clear it? its not broken screen..


  ipHcR3Ql.png

Offline

#2 2016-07-20 13:15:01

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

Re: Problem with compositing window

There are two ways to deal with this:

1. Uncheck "Show shadows under dock windows" in Settings Manager > Window Manager Tweaks > Compositor. However, this will remove all of the shadows from the panel as well.

2. xfwm4 shows shadows under dock windows of type _NET_WM_WINDOW_TYPE_DOCK. You can use devilspie to change the window type of plank so that it isn't affected by the shadow. Use the following ds file (in ~/.devilspie):

(if
(is (application_name) "plank")
(begin
(wintype "normal")
(above)
)
)

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 2016-07-21 12:16:19

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

Re: Problem with compositing window

And here is the fix for the pulseaudio plugin on your panel. Add the following snippet to ~/config/gtk-3.0/gtk.css (create the file if it doesn't exist):

/* Candara theme xfce4-panel GTK3 fix */
.xfce4-panel.panel {
	background-color: #f0f0f0;
}

.xfce4-panel.panel button.flat, .xfce4-panel.panel button.sidebar-button {
	-gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 1.0); 
}

.xfce4-panel.panel button.flat:hover, .xfce4-panel.panel button.sidebar-button:hover {
	-gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 1.0);
}

.xfce4-panel.panel button.flat:active, .xfce4-panel.panel button.sidebar-button:active, .xfce4-panel.panel button.flat:checked, .xfce4-panel.panel button.sidebar-button:checked {
	-gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 1.0);
}

...and restart the panel:

xfce4-panel -r

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

#4 2016-07-22 10:34:40

botaksaja
Member
Registered: 2016-06-09
Posts: 19

Re: Problem with compositing window

ToZ wrote:

And here is the fix for the pulseaudio plugin on your panel. Add the following snippet to ~/config/gtk-3.0/gtk.css (create the file if it doesn't exist):

/* Candara theme xfce4-panel GTK3 fix */
.xfce4-panel.panel {
	background-color: #f0f0f0;
}

.xfce4-panel.panel button.flat, .xfce4-panel.panel button.sidebar-button {
	-gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 1.0); 
}

.xfce4-panel.panel button.flat:hover, .xfce4-panel.panel button.sidebar-button:hover {
	-gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 1.0);
}

.xfce4-panel.panel button.flat:active, .xfce4-panel.panel button.sidebar-button:active, .xfce4-panel.panel button.flat:checked, .xfce4-panel.panel button.sidebar-button:checked {
	-gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 1.0);
}

...and restart the panel:

xfce4-panel -r

thank you very much for your help toz.. it's success


  Rs9YFAYl.png

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 533 KiB (Peak: 533.84 KiB) ]