PDA

View Full Version : [ubuntu] modifying the theme



stonecoldjha
January 3rd, 2009, 06:30 PM
hello everyone.
i am presently using the GTK theme "future" which has a dark panel as shown in the first screenshot.but,i want to use another panel image as panel background,so i right click on the panel,click properties,then background image and point it to a location,but the result is that the theme native panel style still dominates as is clear from the screenshot.so,how do i use my panel image fully?
the first screenshot shows the native theme panel.the other one shows what the panel is like when i try using a background image.

stonecoldjha
January 3rd, 2009, 06:58 PM
if it were possible to disable the contribution of this theme to the panel,this can be done.

AlexBellisBrown
January 3rd, 2009, 07:01 PM
I see the panel theme you have is basically transparent. Why dont you just change the bar to white/transparent? Might work and would look almost the same :)

stonecoldjha
January 3rd, 2009, 07:04 PM
but how?

AlexBellisBrown
January 3rd, 2009, 07:08 PM
Rightclick the panel, click properties, background tab select solid colour, change it to the colour you want a tint of, and move the bad between transparent and opaque. :) Close and youre done :)

stonecoldjha
January 3rd, 2009, 07:15 PM
i dont want to use a solid color but a background image.so that does not do the job.how can i disable the the contribution of the theme to the panel?

mcduck
January 3rd, 2009, 08:44 PM
Open the themes gtkrc file (you'll find it somewhere in /home/username/.themes/nameofthetheme) in text editor, and comment out the line 10 (include "panel.rc") by adding a "#" to the beginning of that line. That should pretty much remove all the changes that theme makes to your panels.

Depending on your theme/panel background/wallpaper you might also need to define new colors for text in your panels. You can do that by creating a file called ".gtkrc-2.0" in your home directory and pasting the following code there. (You can change the colors to whatever fits your desktop. Log out and back again to see the changes.)

style "panel"
{
fg[NORMAL] = "#000000"
}

widget "*PanelWidget*" style "panel"
widget "*PanelApplet*" style "panel"

style "panel-clock"
{
fg[NORMAL] = "#000000"
}
widget "*.clock-applet-button.*" style "panel-clock"

stonecoldjha
January 4th, 2009, 01:02 AM
thank you mcduck very much.it did the job very well.thank you so much again.