Xfce Forum

Sub domains
 

You are not logged in.

#1 2007-01-11 09:25:15

bernt
Member
Registered: 2007-01-11
Posts: 5

Customize panel

Hi!

I'm a Xubuntu user and new to Linux Desktop. Have used Linux server in the past. No programing skills at all.

Now I have found a theme I want to use but I don't want to install stuff what could slow down my system.

The theme look like this. http://xfce-look.org/content/show.php?content=43023

I have installed the theme but it only changed the windows borders. How can I make the panel look like the one in the theme?

I have played around with the ~/.gtkrc-2.0 and added

style "panel"
{
  bg[NORMAL] = "#808080"
  xthickness = 0
  ythickness = 1
 
 
}

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

But I'm not there yet I guess. ;-)


Kind Regards
/Bernt

Offline

#2 2007-01-12 08:31:56

bernt
Member
Registered: 2007-01-11
Posts: 5

Re: Customize panel

Please, could someone point me in the right direction. I like the panel in the xfce-dusk theme but have no clue how to copy it in to another theme or use it the ~/.gtkrc-2.0 file.

Maybe someone could post a nice example of a panel config from a ~/.gtkrc-2.0 file?

/Bernt

Offline

#3 2007-01-13 22:15:22

bernt
Member
Registered: 2007-01-11
Posts: 5

Re: Customize panel

Sorry for bumping but this must be one of the best kept secrets on the internet.

I've been googling for a week now but still havent found out how to configure the panel.

I have tried PyPanel but could not figure out how to add a Program menu to it.

Offline

#4 2007-01-14 06:32:25

thehundredthone
Member
Registered: 2004-02-23
Posts: 32

Re: Customize panel

Your best bet would be to ask the author. Why don't you leave him a comment?

Also, if you've got the thickness down, I think maybe you could find the icon for the xfce-menu and change it to the one in the screenshot. The rest look like launchers and a digital clock to me.


Before you criticize someone, walk a mile in their shoes
That way, if they get angry, they're a mile away and barefoot

Offline

#5 2007-01-14 13:09:46

bernt
Member
Registered: 2007-01-11
Posts: 5

Re: Customize panel

Thanks for the reply.

I have looked at xfce-look and found several post with question on how to change the panel. No one has replied so  I posted here instead.

Anyway, I found this example. I can change the color of the panel but not the text. I'm I missing something?

 style "panel"
{
 fg[NORMAL] = "#ffffff"
# fg[PRELIGHT] = "#000000"
# fg[ACTIVE] = "#ffffff"
# fg[SELECTED] = "#000000"
# fg[INSENSITIVE] = "#8A857C"
# bg[NORMAL] = "#000000"
# bg[PRELIGHT] = "#dfdfdf"
# bg[ACTIVE] = "#D0D0D0"
# bg[SELECTED] = "#D8BB75"
# bg[INSENSITIVE] = "#EFEFEF"
# base[NORMAL] = "#ffffff"
# base[PRELIGHT] = "#EFEFEF"
# base[ACTIVE] = "#D0D0D0"
# base[SELECTED] = "#DAB566"
# base[INSENSITIVE] = "#E8E8E8"
# text[NORMAL] = "#161616"
# text[PRELIGHT] = "#000000"
# text[ACTIVE] = "#000000"
# text[SELECTED] = "#ffffff"
# text[INSENSITIVE] = "#8A857C"
}
widget "*PanelWidget*" style "panel"
widget "*PanelApplet*" style "panel"
class "*Panel*" style "panel"
widget_class "*Mail*" style "panel"
class "*notif*" style "panel"
class "*Notif*" style "panel"
class "*Tray*" style "panel"
class "*tray*" style "panel"

The text should be white but it's black.

Offline

#6 2007-01-15 20:35:07

TomE
Member
Registered: 2005-02-05
Posts: 132

Re: Customize panel

I doubt that that's the xfce panel, the xfce menu plugin image does not fill the
panel like that.
Looks more like the gnome-panel.

Offline

#7 2007-01-15 22:17:55

bernt
Member
Registered: 2007-01-11
Posts: 5

Re: Customize panel

Almost there.

style "panel"
{
fg[NORMAL] = "#ffffff"
# fg[PRELIGHT] = "#000000″
# fg[ACTIVE] = "#000000"
# fg[SELECTED] = "#000000″
# fg[INSENSITIVE] = "#8A857C"
bg[NORMAL] = "#000099"
# bg[PRELIGHT] = "#dfdfdf"
# bg[ACTIVE] = "#D0D0D0"
# bg[SELECTED] = "#D8BB75″
# bg[INSENSITIVE] = "#EFEFEF"
# base[NORMAL] = "#ffffff"
# base[PRELIGHT] = "#EFEFEF"
# base[ACTIVE] = "#D0D0D0″
# base[SELECTED] = "#DAB566″
# base[INSENSITIVE] = "#E8E8E8″
# text[NORMAL] = "#161616″
# text[PRELIGHT] = "#000000″
# text[ACTIVE] = "#000000″
# text[SELECTED] = "#ffffff"
# text[INSENSITIVE] = "#8A857C"

xthickness = 1
ythickness = 3

}

widget "*PanelWidget*" style "panel"
widget "*PanelApplet*" style "panel"
widget_class "*Mail*" style "panel"
class "*notif*" style "panel"
class "*Notif*" style "panel"
class "*Tray*" style "panel"
class "*tray*" style "panel"
#widget_class "*MenuItem*" style "panel"
widget_class "*ToolItem*" style "panel"
widget_class "*SeparatorMenuitem*" style "panel"
widget_class "*SeparatorToolitem*" style "panel"
widget_class "*ImageMenuitem*" style "panel"
widget_class "*RadioMenuitem*" style "panel"
widget_class "*CheckMenuitem*" style "panel"
widget_class "*TearoffMenuitem*" style "panel"
widget_class "*Panel*"      style "panel"
widget "*Panel*"            style "panel"
class "*Panel*"             style "panel"

style "panel-clock"
{
fg[NORMAL] = "#ffffff"
}

widget "*.clock-applet-button.*" style "panel-clock"

The clock "text" is black but should be white and the Application menu is still white with black text.

EDIT: Ok, I give up! :cry:

Offline

#8 2007-01-31 06:05:41

pieman
Member
Registered: 2007-01-31
Posts: 8

Re: Customize panel

Its quite easy really. Just download LiNsta theme, copy its panel background images from its folder to your theme, and then modify your theme to use the panel background.

Offline

Board footer

Powered by FluxBB