View previous topic :: View next topic |
Author |
Message |
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Mon Sep 20, 2021 11:37 am Post subject: configuring powre profiles for login screen [śolved] |
|
|
Greetings,
I've noticed that my laptop behaves different between the login screen and kde, does anyone knows how to define the power profile for sddm or lightdm by any chance? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Last edited by DaggyStyle on Fri Sep 24, 2021 7:22 am; edited 1 time in total |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Tue Sep 21, 2021 10:04 am Post subject: |
|
|
my laptop is systemd based, so I think I need to set these:
Code: |
HandleLidSwitch
HandleLidSwitchExternalPower
HandleLidSwitchDocked
|
I want the lid closure to be ignored on AC connection and hibernate on battery, if I'm not mistaken, setting it to the following:
Code: |
HandleLidSwitch=hibernate
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore
|
will do the trick, no? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3345 Location: Rasi, Finland
|
Posted: Tue Sep 21, 2021 10:11 am Post subject: |
|
|
DaggyStyle wrote: | I want the lid closure to be ignored on AC connection and hibernate on battery, if I'm not mistaken, setting it to the following:
Code: |
HandleLidSwitch=hibernate
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore
|
will do the trick, no? | Yes. That should work. However if you set different settings via KDE gui tools, those settings take effect when you have logged in, and revert back when you have logged out. KDE has some settings plugin for sddm too. I can't remember if it can adjust power management settings. _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Tue Sep 21, 2021 11:01 am Post subject: |
|
|
Zucca wrote: | DaggyStyle wrote: | I want the lid closure to be ignored on AC connection and hibernate on battery, if I'm not mistaken, setting it to the following:
Code: |
HandleLidSwitch=hibernate
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore
|
will do the trick, no? | Yes. That should work. However if you set different settings via KDE gui tools, those settings take effect when you have logged in, and revert back when you have logged out. KDE has some settings plugin for sddm too. I can't remember if it can adjust power management settings. |
thanks for the confirmation.
if I don't define them in KDE, it should revert to the above default, correct? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3345 Location: Rasi, Finland
|
Posted: Tue Sep 21, 2021 6:48 pm Post subject: |
|
|
DaggyStyle wrote: | if I don't define them in KDE, it should revert to the above default, correct? | In my testing (about a year ago) sddm uses the global settings from elogind.conf/sleep.conf.
Test it? _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Fri Sep 24, 2021 7:21 am Post subject: |
|
|
setting it globally does the trick, thanks _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
|