Xfce Forum

Sub domains
 

You are not logged in.

#1 2010-01-14 22:21:26

hosj
Member
Registered: 2010-01-13
Posts: 4

How do I change the background color when the Actions Panel Plugin is clicked

When I click the Actions Panel Plugin my screen goes transparent white and the Logout Restart Shutdown etc.. dialog comes up. How do you change the background color from white to black?? I have looked and can't figure it out. I downloaded the source and am lost. Does anyone know how to go about doing this?


Xfce: 4.6.1
Slackware 13

Offline

#2 2010-01-15 23:04:08

hosj
Member
Registered: 2010-01-13
Posts: 4

Re: How do I change the background color when the Actions Panel Plugin is clicked

I finally tracked down where the color is set but know I am at a loss for how to change it.
I downloaded the source for Xfce and found it in xfce4-session/xfsm-fadeout.c on line 32

#define COLOR "#b6c4d7"

Does anyone know how I would go about changing the color in here and getting it to work?

Offline

#3 2010-01-15 23:26:23

s0ulslack
Moderator
From: Idaho
Registered: 2005-12-25
Posts: 291

Re: How do I change the background color when the Actions Panel Plugin is clicked

Black is #000000, but thats gonna be pretty dark... might wanna try a gray or something also, #BFBFBF.  You should be able to find an HTML Color Chooser or something online.

Offline

#4 2010-01-20 03:51:49

hosj
Member
Registered: 2010-01-13
Posts: 4

Re: How do I change the background color when the Actions Panel Plugin is clicked

After changing to #000000 screenshot.png

Offline

#5 2010-01-20 12:28:39

etnlWings
Member
Registered: 2007-10-30
Posts: 218

Re: How do I change the background color when the Actions Panel Plugin is clicked

s0ulslack wrote:

Black is #000000, but thats gonna be pretty dark... might wanna try a gray or something also, #BFBFBF.  You should be able to find an HTML Color Chooser or something online.

Why would you bother? A good 1/4 of the apps on your system should have a colour picker.

screenshotlc.png

That and hex codes are trivially easy to understand:
Colours are divided into #RRGGBB (Red, Green, Blue), with a numerical system that goes from 0-9,A-F.
Once you hit 09, the next value is 0A. Once you hit 0F, the next value is 10. As such, 00 is the lowest possible value, while FF is the highest.

Also, surely you can set a window match in your gtkrc? I'll have a play around and I'll see what I can finding. Having to edit the session manager source to change a colour is a little ridiculous.

Offline

#6 2010-01-20 20:16:57

hosj
Member
Registered: 2010-01-13
Posts: 4

Re: How do I change the background color when the Actions Panel Plugin is clicked

I agree, having to edit the source was a little overboard but I couldn't figure out any other way to do it. I will look into using gtkrc to do it, thanks.

Offline

#7 2010-01-20 23:58:52

etnlWings
Member
Registered: 2007-10-30
Posts: 218

Re: How do I change the background color when the Actions Panel Plugin is clicked

Actually, it doesn't look as if it's drawn using Gtk. I don't think it'll pick up any gtkrc matches.

Offline

Board footer

Powered by FluxBB