Giter Site home page Giter Site logo

gnome-shell-extension-reboot-menu's Introduction

Hi there ๐Ÿ‘‹

I create stuff with clean and maintainable code, a good looking UI with decent UX (aesthetics are very important imo) and a short but unique and powerful list of features.

Check this list for stuff I have made a contribution to in the past.

Check out the pinned repos on my profile for stuff I have worked on.

gnome-shell-extension-reboot-menu's People

Contributors

supershadoe avatar

Stargazers

 avatar

Watchers

 avatar  avatar

gnome-shell-extension-reboot-menu's Issues

Use CSS to hide restartItem

  • Use CSS to hide restartItem instead of destroying it on _enable() and reconstructing it on
    _disable().

For approval in GNOME extensions

Better UI/UX

The current extension is just a botched-up version of the shell script I made when I used to use
XFCE and uses Zenity as I couldn't be bothered to learn how to make an XFCE plugin and also XFCE's
whisker menu allows you to execute any executable for any of the listed system actions.

Currently, there are few problems with this botched up implementation.

  • Firstly, the zenity window is a popup and not a system dialog. So, it doesn't block the entire shell area and show this reboot prompt.
  • Secondly, we are blindly executing the reboot-menu.sh script asynchronously without considering the fact that we are having another window open. So, multiple reboot menus can be opened.
  • Then there's the issue of zenity window not looking as nicely as other gnome stuff (and less touch-friendly, etc.)
  • Also, we are executing another shell script which calls a bunch of executables(like sed, xargs, etc.) which can probably reduced by actual code.

Proposed implementation:

  • A menu in the aggregate menu which contains all the names of the boot entries.
  • On clicking on the entry, the should somehow set oneshot boot entry and then execute activateRestart() from original gnome-shell code.
    (OR)
  • On clicking on the entry, the extension should show a custom system dialog which executes systemctl reboot --boot-loader-entry=

Boot entries not updating on refresh

When "Reload list of boot entries" is clicked, it is expected that created and modified boot entries will appear and deleted boot entries would disappear but that isn't the case here.

Investigation is required to know why.

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.