Bug 307229 - Use power management from KDE's powermanagement
Summary: Use power management from KDE's powermanagement
Status: RESOLVED UNMAINTAINED
Alias: None
Product: lightdm
Classification: Plasma
Component: greeter (other bugs)
Version First Reported In: master
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-22 20:11 UTC by David Edmundson
Modified: 2020-10-10 21:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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