Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-04-14 05:59:29

sonycdr
Member
Registered: 2009-01-30
Posts: 130

shadows from Gtk3 application

Since GTK 3.16 :
I am looking how to disable shadows from Gtk3 application
do not pay attention the black background, it's just the superposition of virtualbox "seamless" mode. The theme has no problem. I would like to just disable shadows.
Compositor is enabled, but shadows options are disabled.

bH82d1pl.png

Edit: found it
~/.config/gtk-3.0/gtk.css:

.window-frame {
  box-shadow: none;
  margin: 0;
}

via http://unix.stackexchange.com/a/168924

This seems just to hide the shadows and not turn it off. Small as it may be, expect a decrease in performance.
I would like to be able to disable the shading globally and it seems obvious that GTK3 applications are beyond the control of the compositor.
I am almost forced to disable compositor and lose functionality which depends to disable shadows.

Last edited by sonycdr (2015-04-14 06:25:59)

Offline

#2 2015-04-14 15:07:23

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: shadows from Gtk3 application

there is no way to turn them off, except if you disable the composite manager - also the whole fix becomes obsolute with gtk 3.16 since they renamed(broke the whole csd stuff again)

also a way to reduce them to 1px:

3.14: https://github.com/sixsixfive/Glare/blo … en.css#L28
3.16: https://github.com/sixsixfive/Glare/blo … en.css#L28

Offline

#3 2015-04-14 17:14:58

sonycdr
Member
Registered: 2009-01-30
Posts: 130

Re: shadows from Gtk3 application

thanks for the tip
but currently ".window-frame {box-shadow: none; margin: 0;}" does the trick, at least in my case.

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: 523.57 KiB (Peak: 530.85 KiB) ]