PDA

View Full Version : [gnome] Gnome panel not transparent



Eurux
October 27th, 2010, 02:06 AM
Hey guys I have a problem, I want to use an image as my Gnome-panel background but this is what I get:
http://i53.tinypic.com/120qws4.png

This is the image I used as background:
http://i51.tinypic.com/x0xq2p.png

Need help :(

gbestrada
October 27th, 2010, 03:45 AM
Did you right clicked on panel ->properties->background -> background image
,And then selected the image you wanted as background.

stinkeye
October 27th, 2010, 03:58 AM
Because most files outside your home directory are not owned by you,they need to be edited as root.
Press ALT + F2 and enter:

For Ambiance:

gksu gedit /usr/share/themes/Ambiance/gtk-2.0/apps/gnome-panel.rc

For Radiance:

gksu gedit /usr/share/themes/Radiance/gtk-2.0/apps/gnome-panel.rc

For both Ambiance and Radiance: comment line 10 which looks like this: "bg_pixmap[NORMAL] = "img/panel.png"". To comment means to add a "#" sign in front of the line (without the quotes). After editing the file, the line should look like this:
# bg_pixmap[NORMAL] = "img/panel.png"

And save the file.


Then change the theme to something else and then switch back to Ambiance or Radiance.

*Some themes don't have a panel.rc file in which case look for and edit
the same line or similar in the themes gtkrc file.
Depending on how you installed extra themes, you may also find your theme in
~/.themes.(hidden folder in your home directory).

You can also use gnome-color-chooser to change the color of text in the
panel if that's necessary after making your panel transparent.

bawkqsz
November 15th, 2010, 02:59 AM
Hello, I've been wondering about this, too, tried several different things, including what was mentioned here, with both the gtkrc and panel.rc files, but I have not been able to achieve what I am looking for, which is specifically transparency on the clock and window list. I can get the actual panel transparent, but not the applets . . . is there a way to do that with extra themes?

The theme I'm using is SlicknesS-Black, and the files are thusly:

stinkeye
November 15th, 2010, 03:35 AM
I just had a look at SlicknesS-Black and if I comment out this on line 6 in the gtkrc the applets are transparent.

include "panel.rc"

bawkqsz
November 15th, 2010, 04:24 AM
Oh wow, that worked perfectly. Thank you!

stinkeye
November 15th, 2010, 04:28 AM
Oh wow, that worked perfectly. Thank you!
Good to hear.
:)