- SERVICE: DBus service implementation [1]
- CALIBRATION: auto minimum backlight level check
- PROFILES: “Daemon” section replaced with “Service” (anyway with backward compatibility)
- EPHEM: horizon set from 0 (natural) to -6 (civil)
- OTHER: added pm-utils suspend script (NOTE: not installed through setup.py)
- OTHER: man pages and help errors mostly fixed
- OTHER: INSTALL and README instructions mostly corrected
[1] this need further explanations. The http server has been removed in favor of DBus; DBus is way safer and has better implementation capabilities (both for the program and from it).
The connection to DBus bus is set as follows:
- any non-root user will initiate a SessionBus object that can only be controlled by him/her (calised client, executed as root can control it too)
- root user will initiate a SystemBus object; that object’s methods are not all available to everyone: root can do everything, video group members can do everything except stopping the service, non-video group members can only dump(-all/-settings), check execution and do manual captures
NOTE: After update/install, if you updated/installed inside a running dbus-daemon session you’ll need to reboot or somehow reload DBus to run correctly the service as root since DBus config policies are loaded only on daemon startup (it can be done sending SIGHUP to the running dbus-daemon but I won’t suggest that). For simple user execution that is not needed.
Also, to run as root, you’ll need to copy one of the profiles created in ~/.config/calise to /etc/calise.conf
I think it’s better to run calised as simple user but if you’re on a machine frequently used by 2 or more persons during the day I suggest running as root -out of any user session- so that any user can control it as he/she wish.

