Create my own panel plugin - Xubuntu
Solution 1
As for creating a new panel plugin for Xfce, see https://wiki.xfce.org/dev/howto/panel_plugins and https://ecc-comp.blogspot.fi/2015/02/a-simple-tutorial-for-xfce-panel-plugin.html?m=1
Solution 2
I also was looking for a panel plugin that shows the temperature of the CPU in Xubuntu 16.04. By default there is no such plugin installed. I found xfce4-sensors-plugin
which was exactly what I was looking for.
I installed it by running the command:
sudo apt-get install xfce4-sensors-plugin
After that I could find Sensor plugin in the dialog to add a panel item.
To get the source code I ran:
sudo apt-get source xfce4-sensors-plugin
Related videos on Youtube
xdola
Updated on September 18, 2022Comments
-
xdola over 1 year
I've installed Xubuntu 14.04.
In my panel I can add a lot of plugins. For example that show CPU load and RAM usage... But what about the temperature of each core?
I've found the files that contains the data about the temperature of each core:
/sys/bus/platform/devices/coretemp.0/hwmon/hwmon0
and I want to create my own plugin.Googling it I've found a tutorial about GTK+: it seems too difficult so I tried to find the source code of an existing panel widget to modify it.
I searched for the
System Load Monitor
source code, but all I found is this, without any source code.Where can I download the source code of an existing plugin? There is a easy way to create an Xubuntu panel plugin?
Thanks a lot.
EDIT: What is a panel plugin? These are panel plugins:
-
xangua almost 9 yearsSo you want a plugin or create your own plugin that displays your procesors temperature? Pretty sure psensor displays the temperature.
-
JoKeR almost 9 yearsdid you check this? or it's a different from what you're looking?
-
xdola almost 9 yearsYes, but can I leave
psensor
on the desktop panel, like a plugin and not like a window? -
JoKeR almost 9 yearsI see you want to create a kind of a desktop widget?
-
JoKeR almost 9 yearswell there are panel plugins (indicators) and desktop widgets I prefer to call them so ;)
-
JoKeR almost 9 yearsI modified one on my own with conky-manager how to configure conky.
-
xdola almost 9 yearsLet us continue this discussion in chat.
-
-
mook765 about 7 yearsAs we can see in launchpad.net/ubuntu/+source/xfce4-sensors-plugin this package is also available for 14.04.