Moblin Settings Daemon
There are two daemons which are installed by moblin-applets and run on the system. The first is called moblin-settings-daemon and It is launched by the GUI and runs as a user. Its purpose is to listen for and handle the various behind-the-scenes functions that the applets configure, such as keyboard shortcuts and applying background/screen/etc settings on GUI startup. It needs the following files to function:
- /usr/bin/moblin-settings-daemon
- The daemon binary
- /usr/share/autostart/moblin-settings-daemon.desktop
- Starts moblin-settings-daemon at GUI start
- /usr/lib/pkgconfig/moblin-settings-daemon.pc
- Is used to enable other applications to compile in the moblin-settings-daemon's D-Bus interface and utilize the API
- /usr/include/moblin-settings-daemon-2.0/moblin-settings-daemon/moblin-settings-client.h
- The header file describing the D-Bus API
- /usr/share/dbus-1/services/org.moblin.SettingsDaemon.service
- The daemon's D-Bus service configuration
- /usr/share/moblin-applets/glade/acme.glade
- The Glade XML file describing the audio window displayed on volume button keypresses
Moblin System Daemon
The second daemon is designed to be run as root, with administrative priveleges to access protected system resources. This allows applets running as an unpriveleged user to configure the system without pestering the user to login as root. The files it needs are as follows:
- /usr/sbin/moblin-system-daemon
- The daemon binary
- /etc/dbus-1/system.d/moblin-system-daemon.conf
- The D-Bus configuration file needed to register this daemon as a SYSTEM server
- /usr/share/dbus-1/services/org.moblin.SystemDaemon.service
- The daemon's D-Bus service configuration
- /usr/lib/pkgconfig/moblin-system-daemon.pc
- Is used to enable other applications to compile in the moblin-settings-daemon's D-Bus interface and utilize the API
- /usr/include/moblin-system-daemon-2.0/moblin-system-daemon/moblin-system-client.h
- The header file describing the D-Bus API
Code Reuse
Moblin Settings Daemon is an MID specific clone of gnome-control-center's gnome-settings-daemon. Moblin System Daemon adds a new API to the D-Bus connection code taken from gnome-settings-daemon and merges it with the touchscreen calibration code from the CarPC touchscreen calibrator.- Gnome Control Center 1:2.18.1-0ubuntu2
- Download at: http://packages.ubuntu.com/feisty/gnome-control-center
- gnome-settings-daemon code used largely as-is for moblin-settings-daemon
- CarPC Touchscreen Driver
- Download at: http://nextabyte.com/support/touchscreen/
- touchscreen driver access and xorg.conf config code used for moblin-system-daemon
