Bug 458809

Summary: Support kexec reboot from GUI
Product: [Plasma] plasmashell Reporter: tomashnyk
Component: Session ManagementAssignee: David Edmundson <kde>
Status: CONFIRMED ---    
Severity: wishlist CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.27.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tomashnyk 2022-09-06 19:37:01 UTC
I would like to be able to reboot from GUI using kexec.

kexec is a method to skip BIOS/UEFI during reboot, which can seriously speed up reboot (on my system, it about halves it, BIOS takes about 9 seconds and userspace as much).

It works on systems using systemd-boot pretty much for free.

Hibernate is already an action that fails on a lot of systems (it needs a swap file/partition larger than RAM) and yet is exposed.

Codewise, I think it would need to be implemented from https://invent.kde.org/plasma/plasma-workspace/-/blob/master/libkworkspace/sessionmanagementbackend.cpp

all the way up to https://invent.kde.org/plasma/plasma-workspace/-/blob/master/applets/kicker/plugin/systementry.cpp
or https://invent.kde.org/plasma/plasma-workspace/-/blob/master/applets/kicker/plugin/systementry.cpp

(plus a new icon would be handy)

Is such a feature something that would be accepted?
Comment 1 Nate Graham 2022-09-09 04:41:49 UTC
Sounds cool. We could call it "fast boot" or something.