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..

[url=http://i.imgur.com/ipHcR3Q.png]
  ipHcR3Ql.png
[/url]

Offline

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

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

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,000

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

[url=http://i.imgur.com/Rs9YFAY.png]
  Rs9YFAYl.png
[/url]

Offline

Board footer

Powered by FluxBB