On 9 February 2013 16:06, Alex Fiestas <[email protected]> wrote:
> When the user closes the Lid, Kscreen will check if the laptop is connected to
> any monitor, if it is the laptop screen will be turned off and the external
> will be enabled.
>
>
> On lid closed:
>         -If the lid close action is set to do nothing, adapt Kscreen 
> configuration
>         -If lid closed does something else, do not modify the 
> Kscreenconfiguration

Best way IMO would be for powerdevil to be able to ask kscreen to
change the configuration: e.g. either powerdevil or kscreen provides a
PowerDevilAction that calls kscreen via some API and asks it to do its
thing.

I wonder if a lid close action should always do something - perhaps
defaulting to
the kscreen action if nothing else is configured?
_______________________________________________
Kde-hardware-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-hardware-devel

Reply via email to