A gnome-shell extension to add a "Custom Restart..." option to the shell system panel that allows you to choose what OS you want to boot into, after which it triggers the typical end session dialog for restart.
Can you make the extension remove the Grub Timeout while rebooting into another OS? So we don't have to wait a few seconds before booting into the OS that we already selected through the extension. It would have to be removed only for the next boot just like how the default OS is selected by the extension.
When I click "Fix Grub.conf Perms" an Authorization Prompt pops up. Afterward, the extension still says "Fix Grub.conf Perms". Reboot doesn't fix this.
We could write a daemon that the extension can talk to, to get boot entries and to reboot into a different boot entry. This will avoid needing a password prompt every time and avoid changing grub.cfg's permissions (which seems like an undesirable system change to me).
The daemon can be written in Python (which we can assume to be installed on most distributions by default).
We can install a systemd service file to /etc/systemd/system which can run the Python daemon.
The extension could talk to the daemon via TCP, Unix socket, or most preferably using D-Bus.
Instead of asking the user to change grub.cfg permissions, we can have a button to install the daemon's service file (the Python code can remain in the extension folder itself).
We could provide a setting for people who don't want to use such a daemon as well and retain the current code (but that will increase maintenance burden).
I would be interested in submitting a PR for this when I have free time to do so, just looking for feedback about the idea.
because whats the point of rebooting manually if the description is "Reboot into another OS directly from GNOME."? or maybe add an option to reboot after selecting the OS?