GithubHelp home page GithubHelp logo

pathmann / gnome-shell-extension-customreboot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from docquantum/gnome-shell-extension-customreboot

0.0 0.0 0.0 92 KB

Reboot into a different OS directly from GNOME shell.

License: GNU General Public License v3.0

JavaScript 99.71% CSS 0.29%

gnome-shell-extension-customreboot's Introduction

Custom Reboot GNOME Shell Extension

Inspired by and based on patriziobruno/grubreboot-gnome-shell-extension.


Example

Bootloader Supported
systemd-boot Yes
GRUB Yes

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.

This extension needs permissions for gnome-shell to read your /boot partition, please verify your Linux distribution documentation.

Systemd-boot

It's able to set the one-shot default using bootctl set-oneshot ID.

The presented options are parsed from bootctl list.

When you select the operating system to reboot into, you'll be required to input your password because of required permissions to run bootctl which set EFI variables.

GRUB

It's able to set the default menu entry using grub-reboot title

The presented options are parsed from the grub config.

When you select the operating system to reboot into, you'll be required to input your password because of required permissions to run grub-reboot.

Caveats

I've only tested this on Arch Linux running gnome 3.38 and systemd-boot. Please let me know if you run into issues on other distros, bootloaders, and GNOME shell versions.

Pull requests welcome!

gnome-shell-extension-customreboot's People

Contributors

docquantum avatar

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.