View Full Version : get rid of shadows on panels
brt
March 3rd, 2007, 01:57 PM
i already searched the forum, no luck :(
is there a way to disable shadows on gnome-panels?
MacSlow
March 3rd, 2007, 09:19 PM
i already searched the forum, no luck :(
is there a way to disable shadows on gnome-panels?
Just a guess here, as I did not look into this in detail myself yet, but would the new regex-plugin together with the window-matching be applicable on the decorator to exclude the panels from getting a drop-shadow?
Best regards...
MacSlow
gnumdk
March 4th, 2007, 12:54 PM
http://hibbert.univ-lille3.fr/~cbellegarde/Compiz/decor_match.patch
Apply this patch.
http://hibbert.univ-lille3.fr/~cbellegarde/Compiz/decor.schema
Add this schema
And put "type=dock" in nodecor_match.
I have some question on this code, i will send this to David when i will be happy with it ;)
brt
March 5th, 2007, 04:14 PM
thx alot for your reply!
i am using gandalf's binaries so there seems to be no such plugin so far, i just thought that such a feature already exists and i missed it...
if i have time i'll try to compile and maybe use your patch :)
gnumdk
March 5th, 2007, 04:34 PM
It has been send upstream.
brt
March 8th, 2007, 03:25 PM
wow !
i can't wait to have it in gandalfs binaries :)
FunkyM
March 14th, 2007, 03:17 AM
This change has introduced the decoration_match option to git:
http://gitweb.freedesktop.org/?p=xorg/app/compiz.git;a=commit;h=b19e6b60285ff508883cd6eb2065 37aaa8b86517
However, I can't get it to disable shadows for the panels.
Something along "!role=dock" doesn't work.
Anyone got it working?
mikedee
March 14th, 2007, 12:33 PM
Shouldn't it be !type=dock or !class=kicker
gnumdk
March 14th, 2007, 04:05 PM
Code is buggy, looking at this...
gnumdk
March 14th, 2007, 04:11 PM
Here is a patch:
http://hibbert.univ-lille3.fr/~cbellegarde/Compiz/dock_shadow.patch
Put this to work:
!type=dock | any
FunkyM
March 14th, 2007, 05:18 PM
Thanks! This indeed fixes it, however introduces a new "feature".
Using "decoration_match = any" draws decorations around the docks (gnome-panel gets decorations here).
While it is logically correct, I think the desired functionality is to default to just shadow drawing for docks.
EDIT: A "shadow_match = !type=dock" option was added to git now and works as advertised.
gnumdk
March 14th, 2007, 07:32 PM
Yes, i haven't tested with "any".
David fix it :)
Cedric.
bijoux
April 8th, 2007, 09:47 AM
bumping this thread..
Im having a problem with shadow_match. well, its not responding to any of my inputs. decoration_match works fine; shadow_match, on the other hand, ignores its key values.
I have !class=Gnome-terminal as a sample and needless to say, gnome terminals still get shadows.
I don't know if it matters but, I had to manually add decoration_match and shadow_match keys under decoration/allscreens in gconf because compiz install didn't add them automatically.
Have y'all any ideas?
wfarr
April 8th, 2007, 10:01 AM
I don't see this option anywhere in gconf. Are the schemas out of date?
Using 0.5 btw.
bijoux
April 8th, 2007, 07:58 PM
I don't see this option anywhere in gconf. Are the schemas out of date?
Using 0.5 btw.
I guess it is. The are functions there though, at least according to the mailing list and the fact that decoration_match works.
ini plugin produces these options though. i opt to using gconf because ini gives me problems.
mikedee
April 9th, 2007, 05:20 PM
i opt to using gconf because ini gives me problems.
You know what they say... 'A problem shared is a bug fixed' :)
karmapolice
April 9th, 2007, 06:47 PM
So is there a way to get updated schemas?? because I don't find those keys either
mikedee
April 9th, 2007, 07:08 PM
So is there a way to get updated schemas?? because I don't find those keys either
I have just updated git with the new schemas so if you update they should be there.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.