Giter Club home page Giter Club logo

gnome-shell-extension-customreboot's People

Contributors

filipkemuel avatar finchett avatar nova1545 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

gnome-shell-extension-customreboot's Issues

Remove Grub Timeout

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.

systemdBoot.js tries to switch boot entry with GRUB

There are several errors in systemdBoot.js

Firstly Title and ID has been switched around in bootOptions.set
So titles becomes IDs and IDs become titles.

But then once that is fixed the code to find the default boot option fails because that also has switched them around.

Secondly SetBootOption runs /usr/sbin/grub-reboot

So it definitely doesn't work.

I'm going to make a pull request that fixes this and makes systemd-boot finally work.

Stuck on gnome 44.9

I cannot get past "Fix grub.conf perms", even though I have the extension set to efibootmgr, not grub.
image
Gnome 44.9 on debian 12

Use a daemon to avoid authentication and permission changes

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.

ACTUALLY reboot into another OS

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?

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.