Moblin Applets: About Device

Snapshot

Overview

The about device applet is designed to display all the basic information one might want to know about the device they're using. This includes:
  • the name of the device on the network
  • the operating system and version in use (Ubuntu)
  • the amount of RAM available
  • the processor brand, type, and clock speed
  • the available disk space

Files Needed

  • /usr/lib/moblin-applets/libhcpcommon.so
    • all control panel applets need this
  • /usr/lib/hildon-control-panel/system-info.so
    • The applet library
  • /usr/share/applications/hildon-control-panel/system-info.desktop
  • /usr/share/moblin-applets/pixmaps/side.png
    • Image at the left of the dialog

Applet Design



The GUI is a simple dialog which has no interactive elements beyond a single button to close the dialog. It is constructed dynamically through various Gtk function calls and populated with data retrieved from various system info calls.

Code Reuse

The dialog was pulled from the first pane of the gnome system monitor's notebook display.