Xfce Forum

Sub domains
 

You are not logged in.

#1 2008-11-17 15:11:05

nausicaa
Member
Registered: 2008-11-17
Posts: 3

The panel's colour wouldn't change :(

When I install a GTK theme, everything is OK, except the panel's colour   :-(

screenshot1vv8.th.pngthpix.gif

How could I fix that?

I am with Mandriva 2009.0, xfwm4.

Offline

#2 2008-11-17 22:09:29

crimesaucer
Member
Registered: 2007-05-21
Posts: 103

Re: The panel's colour wouldn't change :(

nausicaa wrote:

When I install a GTK theme, everything is OK, except the panel's colour   :-(

screenshot1vv8.th.pngthpix.gif

How could I fix that?

I am with Mandriva 2009.0, xfwm4.

Are you using a gtkrc-2.0 for the panel image?

If so, you would need to either delete the old gtkrc-2.0 file, or edit it to use your new theme's colors and a new image to match.


To me, it looks as if you used a clear "panel.png" of the kokodi xfwm4 theme..... it's something I use to do and a tip I've shared on the web for people that use the kokodi xfwm4 theme and would like a matching panel image.


If you use the clear image (with that glossy effect), and compositing turned on..... all you have to do is change your bg[NORMAL] to the matching color of your new theme.


Another hint for you. It seems that the "panel.png" image that the gtkrc-2.0 you are using is probably about 25px tall, and your panel is set to about 35px tall..... so it repeats itself instead of looking like a smooth glossy effect.


Try a bigger image, or make the panel the same height. If the panel image is clear, then like I said above, all you need to do is edit the bg[NORMAL] = "#3C3C3C" for the dark gray color, or bg[NORMAL] = "#3E6CA8" for the dark blue colors of your theme.

Offline

#3 2008-11-17 22:28:17

crimesaucer
Member
Registered: 2007-05-21
Posts: 103

Re: The panel's colour wouldn't change :(

This is a simple .gtkrc-2.0 file for your "/home/your-name" directory:

style "panel"
{
  bg[NORMAL] = "#181818"
  bg_pixmap[NORMAL] = "panel.png"
  fg[NORMAL] = "#FFFFFF"
  }

widget_class "*Panel*"      style "panel"
widget "*Panel*"            style "panel"
class "*Panel*"             style "panel"

Change the bg[NORMAL] color to whatever theme you want to match, and the fg[NORMAL] for readable text.

As for the panel.png, it should be 1 pixel wide, and as tall as you want your panel. It can be totally transparent to give the glossy effect over you bg[NORMAL] color..... or it can be a solid image like a gradient that will be placed and repeated over your bg[NORMAL] color.....


let me know if any of this works for you.

Offline

#4 2008-11-18 12:35:14

nausicaa
Member
Registered: 2008-11-17
Posts: 3

Re: The panel's colour wouldn't change :(

It is strange, but I don't have gtkrc-2.0 file in my home folder, neither in the ~/ folder...

Should I edit from /usr/share/themes/themename...  :?

Offline

#5 2008-11-18 18:04:27

dillbo
Member
Registered: 2008-11-18
Posts: 3

Re: The panel's colour wouldn't change :(

nausicaa wrote:

It is strange, but I don't have gtkrc-2.0 file in my home folder, neither in the ~/ folder...

Should I edit from /usr/share/themes/themename...  :?

The file you're looking for is hidden, i.e it's not gtkrc-2.0 but .gtkrc-2.0. You need to enable the option to show hidden files in Thunar to see it.

Offline

#6 2008-11-18 19:27:07

nausicaa
Member
Registered: 2008-11-17
Posts: 3

Re: The panel's colour wouldn't change :(

Yes, I know, but -- not such file  :-(

Offline

#7 2008-11-18 21:19:35

dillbo
Member
Registered: 2008-11-18
Posts: 3

Re: The panel's colour wouldn't change :(

Well then, did the panels look like this before you installed the new theme? Judging from some screenshots on the net, Mandriva seems to have a custom background for the panel looking like yours. I use Debian so I wouldn't know where this is kept. Maybe you should look for a panel.rc.

Offline

#8 2008-12-01 20:15:16

crimesaucer
Member
Registered: 2007-05-21
Posts: 103

Re: The panel's colour wouldn't change :(

dillbo wrote:

Well then, did the panels look like this before you installed the new theme? Judging from some screenshots on the net, Mandriva seems to have a custom background for the panel looking like yours. I use Debian so I wouldn't know where this is kept. Maybe you should look for a panel.rc.

Also, if you create a .gtkrc-2.0 file and place it in your home folder, maybe it will overwrite the panel.rc that your Mandriva distro might be using. I have never used Mandriva but a .gtkrc-2.0 has always overwritten my panel for Archlinux and xubuntu.

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 544.73 KiB (Peak: 545.58 KiB) ]