5

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:

panel plugins example

xdola
  • 180

2 Answers2

5

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

jarno
  • 5,600
3

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
Zanna
  • 70,465
fliegenpilzmann
  • 321
  • 2
  • 4
  • As we can see in https://launchpad.net/ubuntu/+source/xfce4-sensors-plugin this package is also available for 14.04. – mook765 Apr 15 '17 at 06:03