Xfce Forum

Sub domains
 

You are not logged in.

#1 2013-06-19 04:27:58

undrline
Member
Registered: 2013-06-19
Posts: 2

Widget/Class Names of Plugins on Panel

Xfce Version: 4.10
Your Distribution and Version: XUbuntu 12.04.2

Trying to create a .gtkrc-2.0 to modify some fonts.  The Action Buttons (which I have set to Session Menu, and which started showing my name instead of my username for some reason) is the only thing that I still need to change right now.  I feebly tried a few: ActionButtons, action-buttons, action-buttons-applet ... and, the googles, they do nothing.  Can someone point me to a chart of the plugins with their widget/class names?

style "xfdesktop-icon-view" 
{
	XfdesktopIconView::label-alpha = 0

	fg[NORMAL] = "#ffffff"
	fg[SELECTED] = "#ffffff"
	fg[ACTIVE] = "#ffffff"
}

style "panel" 
{
	fg[NORMAL] = "#eeeeee"
	fg[SELECTED] = "#eeeeee"
	fg[ACTIVE] = "#eeeeee"
}

widget_class "*XfdesktopIconView*" 	style "xfdesktop-icon-view"
widget_class "*Panel*" 			style "panel"
widget "*panel*" 			style "panel"
class "*panel*" 			style "panel"

Offline

#2 2013-06-19 12:35:21

ToZ
Moderator
From: Toronto, Canada
Registered: 2011-06-02
Posts: 1,330

Re: Widget/Class Names of Plugins on Panel

undrline wrote:

Xfce Version: 4.10
Your Distribution and Version: XUbuntu 12.04.2

Trying to create a .gtkrc-2.0 to modify some fonts.  The Action Buttons (which I have set to Session Menu, and which started showing my name instead of my username for some reason)

I believe it shows your name if its specified in /etc/passwd, otherwise it shows your userid.

... is the only thing that I still need to change right now.  I feebly tried a few: ActionButtons, action-buttons, action-buttons-applet ... and, the googles, they do nothing. 

style "xfdesktop-icon-view" 
{
	XfdesktopIconView::label-alpha = 0

	fg[NORMAL] = "#ffffff"
	fg[SELECTED] = "#ffffff"
	fg[ACTIVE] = "#ffffff"
}

style "panel" 
{
	fg[NORMAL] = "#eeeeee"
	fg[SELECTED] = "#eeeeee"
	fg[ACTIVE] = "#eeeeee"
}

widget_class "*XfdesktopIconView*" 	style "xfdesktop-icon-view"
widget_class "*Panel*" 			style "panel"
widget "*panel*" 			style "panel"
class "*panel*" 			style "panel"

"*actions*" will work:

style "actions-plugin" 
{
	fg[NORMAL] = "#ff0000"
	fg[SELECTED] = "#ff0000"
	fg[ACTIVE] = "#ff0000"
}

widget "*actions*" 			style "actions-plugin"

...sets the colour to red.

Can someone point me to a chart of the plugins with their widget/class names?

If you go to Panel Preferences, Items tab, and hover your mouse over the panel plugins, you will see something like:

Internal name: actions-9
PID: 2506

...the first part of the internal name should be the widget name.

Last edited by ToZ (2013-06-19 12:36:04)

Offline

#3 2013-06-19 16:44:14

undrline
Member
Registered: 2013-06-19
Posts: 2

Re: Widget/Class Names of Plugins on Panel

Thank you, I assumed that because I think it's the only place my full name would be spelled out.  Was more curious why it was showing it one way, then switched.
Thank you, but is *actions* too generic?  isn't it possible something other than this panel plugin has that in its name?
Thank you, that's great to know; I don't think I would've noticed that for years.  I'm glad there is something I can look for in the future.

So, to sum up, thank you thank you thank you.  You even gave answers for the side questions!

Offline

Board footer

Powered by FluxBB