Bug 307229

Summary: Use power management from KDE's powermanagement
Product: [Plasma] lightdm Reporter: David Edmundson <kde>
Component: greeterAssignee: David Edmundson <kde>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description David Edmundson 2012-09-22 20:11:42 UTC
Rationale:
<aseigo> beyond that, however, we have a device here used in schools in switzerland and they have settings via powerdevil that does things like map the power button on the tablet to do a sleep (rather than power off)

We need the powermanagement kded module to run.

[20:52] <aseigo> well, it is a kded module, but you don't need to be running kded
[20:52] <aseigo> can just load the plugin directly (either in the greater process or in an external process that only does that)
[20:53] <aseigo> this would let us share the capabilities with the desktop

This can't be done from using Upower directly, and it keeps our code leaner.

Other observations:
We need to work out how to do the config.

Also Lightdm.conf has options to inhibit shutdown/restart etc. I don't want to ignore these, so we should still check these when setting the buttons.
Comment 1 David Edmundson 2012-10-13 01:01:37 UTC
Implemented, didn't seem to do anything.

Needs further investigation
Comment 2 Nate Graham 2020-10-10 21:20:53 UTC
We no longer use lightDM, having moved to SDDM several years ago. As such, this bug report is no longer applicable. Bugs reports for the new SDDM-based login screen should be filed to one of two places:

1. Visual/UI bugs with the login screen UI itself, or feature requests: plasmashell | Theme - Breeze
2. Bugs with the login/user switching process: https://github.com/sddm/sddm/issues