A small program that allows you to set the OS that will be booted on the next (re-)boot. You need to have systemd-boot set up as your boot loader.
On Linux with systemd, you can already do all of this via bootctl set-oneshot or systemctl reboot --boot-loader-entry=.
However, on windows or non-systemd linux distributions this is not possible out of the box.
This program is here to help.
Requirements:
- mingw-64
For tray program:
- gcc
- pkg-config
- libappindicator
Run either systemd-reboot-console(.exe) or systemd-reboot-tray(.exe) depending whether you want to run the interactive console version or having a persistent system tray menu.
Note that on windows you will need to run the programs as administrator and on linux with root permissions (i.e. sudo).
- Start
Task Scheduler - Go to
Action->Create Task - Give it a name and check
Run with highest priviliges - Go to
Actions->NewandBrowseselectsystemd-reboot-tray.exeand pressOk - Go to
Triggers->Newand chooseAt log inand pressOk - Finally press
Okto create the task
Tray icon in Windows 11:
Tray menu in Windows 11:
The reboot icon is taken from Reshot under the Reshot License.
