PowerDevil/newTechnicalChanges: Difference between revisions

From KDE Community Wiki
No edit summary
Line 3: Line 3:
*Brightness change
*Brightness change
*suspend/hibernate
*suspend/hibernate
*use dbusxml2cpp  
*use dbusxml2cpp
Additionally, we are going to make libsolid async.
Additionally, we are going to make libsolid async.


Line 16: Line 16:
**Potentially separate Workstation, Laptop, Tablet... config values
**Potentially separate Workstation, Laptop, Tablet... config values
* use dbus2cpp instead of all the mess we have right now and libsoild whenever possible
* use dbus2cpp instead of all the mess we have right now and libsoild whenever possible
* Move org.freedesktop.ScreenSaver to PowerDevil
* Maybe split ScreenSaver to its own repo

Revision as of 12:37, 11 October 2013

Library

We are going to move the following things into libsolid:

  • Brightness change
  • suspend/hibernate
  • use dbusxml2cpp

Additionally, we are going to make libsolid async.

Daemon

  • Everything MUST be asynchronous
  • System inhibition will be delegated to systemd
  • Session inhibition will still be handled in the daemon
  • Actions will be renamed to plugins
  • Instead of virtuals such onProfileUnload/onIdleTimeout we will connect to signals (This will make implementation of actions simpler)
  • Simplify profiles by making some configurations dynamic
    • Set defaults and save configuration if they are changed only
    • Potentially separate Workstation, Laptop, Tablet... config values
  • use dbus2cpp instead of all the mess we have right now and libsoild whenever possible
  • Move org.freedesktop.ScreenSaver to PowerDevil
  • Maybe split ScreenSaver to its own repo