| Summary: | [Feature Request] Add sleep button event switcher to energy settings | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | BOF <bugs_kde_org.5.kuru> |
| Component: | kcm_powerdevil | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | wishlist | CC: | kde, natalie_clarius, nate |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | 6.0.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
KDE energy settings
laptop keyboard sleep key windows energy settings |
||
|
Description
BOF
2024-03-03 11:13:02 UTC
Created attachment 166342 [details]
KDE energy settings
The option to control the sleep button behaviour would be added here
> when the sleep button is pressed
Do I take it to mean that you have a keyboard with an actual button on it that puts the system to sleep, maybe with like a moon icon or something? Is that correct?
(In reply to Nate Graham from comment #2) > > when the sleep button is pressed > Do I take it to mean that you have a keyboard with an actual button on it > that puts the system to sleep, maybe with like a moon icon or something? Is > that correct? Yes and no. On my keyboard there is not a single dedicated physical button for the sleep mode, but rather the F12 key doubles as sleep button when the function key is held down. Not sure if that is what you meant with 'a keyboard with an actual button on it' Would you mind taking a photo of the key? And in the shortcuts settings you have an entry like "Suspend" assigned to shortcut "Sleep" which, if disabled, makes your sleep button do nothing? Created attachment 166512 [details] laptop keyboard sleep key (In reply to Nate Graham from comment #4) > Would you mind taking a photo of the key? Sleep key on my laptops keyboard. Standalone keyboard (for a regular desktop PC) sometimes also do have a button like it. (In reply to Natalie Clarius from comment #5) > And in the shortcuts settings you have an entry like "Suspend" assigned to > shortcut "Sleep" which, if disabled, makes your sleep button do nothing? (In reply to Natalie Clarius from comment #7) > (In reply to Natalie Clarius from comment #5) > > And in the shortcuts settings you have an entry like "Suspend" assigned to > > shortcut "Sleep" which, if disabled, makes your sleep button do nothing? Exactly. [translated german settings]: Settings > keyboard > shortcuts (left column) > KDE energy management (center column) > Standby-Modus Here you have a checkbox to disable the sleep mode and you are also able to add your own keyboard shortcut BTW: This is the default KDE settings app with nothing added to it. So everybody should have the exact same setting. Thanks for the info. This could be kind of a lot of keys to add though (Hibernate, Power Down, Power Off, Suspend, in addition to screen and keyboard backlight toggles), so maybe linking to the shortcut settings page with the Power Management section setting selected could be an alternative. The power button is rather special, hence its special handling. This "Sleep" key is just a normal key like any other, so I think the most natural thing for us to do is nothing, because you can re-bind the key yourself to do something else in System Settings > Keyboard > Shortcuts > Power Management. Just choose the action you want to do instead and assign that key to it. You'll be warned of a conflict with the existing keybinding, so let it re-assign it. I don't think so. On my keyboard I can close the lid and I have a power as well as a sleep button. These three are very common buttons on laptops and all that would be missing is one extra line for the sleep button. (There is no use in an extra power button since once your machine is "ON" you can not turn it on again before turning it off. There also is one button for sleep (be it suspend or hibernate)) Don't get me wrong: I don't request all keyboard shortcuts to be controllable through the energy menu. I don't think that a link within the settings to a different part looks very good. In an unknown system it always leaves me with a feeling of 'if you can control it, why not let me switch the button where I found it in the first place?'. This is something I always disliked about Windows: You have a settings app, but they send you around through different pages and different settings apps. BTW: I'll included the energy settings from Windows as well. Created attachment 166781 [details]
windows energy settings
|