Create my own panel plugin - Xubuntu

5,659

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
Share:
5,659

Related videos on Youtube

xdola
Author by

xdola

Updated on September 18, 2022

Comments

  • xdola
    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:

    panel plugins example

    • xangua
      xangua almost 9 years
      So you want a plugin or create your own plugin that displays your procesors temperature? Pretty sure psensor displays the temperature.
    • JoKeR
      JoKeR almost 9 years
      did you check this? or it's a different from what you're looking?
    • xdola
      xdola almost 9 years
      Yes, but can I leave psensor on the desktop panel, like a plugin and not like a window?
    • JoKeR
      JoKeR almost 9 years
      I see you want to create a kind of a desktop widget?
    • JoKeR
      JoKeR almost 9 years
      well there are panel plugins (indicators) and desktop widgets I prefer to call them so ;)
    • JoKeR
      JoKeR almost 9 years
      I modified one on my own with conky-manager how to configure conky.
    • xdola
      xdola almost 9 years
  • mook765
    mook765 about 7 years
    As we can see in launchpad.net/ubuntu/+source/xfce4-sensors-plugin this package is also available for 14.04.