Skip to content

Add option to reboot to the UEFI firmware #1791

@Atemo-C

Description

@Atemo-C

Feature Description

Noctalia's power menu currently lacks the option to reboot to the UEFI firmware setup on supported systems. This is, on systems with systemctl present, simply done with the following command: systemctl reboot --firmware-setup.

Why Is This Needed?

This would allow the user to easily reboot to the UEFI firmware setup, allowing users to quickly adjust settings there; And that, without having to reboot manually and smash the keyboard's keys to pieces in hopes of typing on the right key at the right time. Also very useful for overclockers like me!

Suggested Solutions

On most desktop Linux distributions (if not all), the directory /sys/firmware/efi/ only exists if the system is installed and booted in EFI mode. As such, the option to reboot to the UEFI firmware can be selectively shown only if that directory is detected. There are other ways to detect if the system is booted in EFI mode, but this is the most straight-forward way, and also what I use in my own power menu script.

Additional Context

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions