Skip to content

GNOME extension that adds a menu allowing to reboot into any existing UEFI boot entry

Notifications You must be signed in to change notification settings

Jirkasvacha/restartto

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restart To

screenshot

Dependencies

  • efibootmgr

Passwordless

If you don't want to type your password every time you want to reboot somewhere else, create a rule in the directory /etc/polkit-1/rules.d, such as 50-efibootmgr.rules, and write the following:

polkit.addRule(function(action, subject) {
    if (action.id == "org.freedesktop.policykit.exec" &&
        subject.isInGroup("wheel") &&
        action.lookup("program") == "/usr/bin/efibootmgr") {
        return polkit.Result.YES;
    }
});

This rule allows every user in the group wheel to run efibootmgr using pkexec without typing their password. Note that depending on your distribution, the default sudo group is not wheel, but sudo or something else, so you'll need to change the rule accordingly.

About

GNOME extension that adds a menu allowing to reboot into any existing UEFI boot entry

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%