[Kde-hardware-devel] Knowing laptop lid closed action
Oliver Henshaw
oliver.henshaw at gmail.com
Sun Feb 10 19:01:38 UTC 2013
On 9 February 2013 16:06, Alex Fiestas <afiestas at kde.org> 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?
More information about the Kde-hardware-devel
mailing list