Giter Club home page Giter Club logo

systemd-reboot-windows's Introduction

What is this?

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.

Why

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.

Building

Windows

Requirements:

  • mingw-64

Linux

For tray program:

  • gcc
  • pkg-config
  • libappindicator

Usage

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).

How to Auto-Start on Windows

  1. Start Task Scheduler
  2. Go to Action->Create Task
  3. Give it a name and check Run with highest priviliges
  4. Go to Actions->New and Browse select systemd-reboot-tray.exe and press Ok
  5. Go to Triggers->New and choose At log in and press Ok
  6. Finally press Ok to create the task

Screenshots

Tray icon in Windows 11:

tray icon

Tray menu in Windows 11:

tray menu

Icon

The reboot icon is taken from Reshot under the Reshot License.

systemd-reboot-windows's People

Contributors

boi4 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

philwo flo2410

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.