Giter Club home page Giter Club logo

budgie-shutdown-timer's People

Contributors

gkr09 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

tam1m

budgie-shutdown-timer's Issues

suggestion: shutdown at a set time

Can I make a suggestion to enhance the use-case?

In addition to the timer you can set a specific time to shutdown. This would be more useful so that you can say "turn me off at midnight if I've forgotten to shutdown".

Would be also very useful to make this a "always on" option so that you dont have to remember to go back into the applet to restart the shutdown sequence.

Sugestion: Applet notification need fix

I think the notification need to be fixted, I made a slight change to the python code.
Hope to be usefull.
captura de 2018-07-23 16 13 37

original notification command at line 213
subprocess.Popen(['notify-send', "{} at {}".format(self.selection,self.timestr),'-i','shutdown-timer']) # Send Notification.
and line 220
subprocess.Popen(['notify-send', "Scheduled {} cancelled".format(self.selection),'-i','shutdown-timer'])

changes aded:
line 213
subprocess.Popen(['notify-send', "Shutdown Timer",'-i','shutdown-timer', "{} at {}".format(self.selection,self.timestr)]) # Send Notification.

and line 220
subprocess.Popen(['notify-send',"Shutdown Timer",'-i','shutdown-timer',"Scheduled {} cancelled".format(self.selection)])

It`s not a big deal but I think it looks great

applet incorrectly continues after a manual suspension

If the user initiates a suspension whilst the applet is running, after coming out of suspension the timer continues to work and then will initiate a second shutdown/suspension etc.

Kind of confusing.

Suggestion - disable suspension whilst running.

i.e. if the applet is running, read & store /org/gnome/settings-daemon/plugins/power/sleep-inactive-ac-type, temporarily set it to nothing

EDIT: similar key for on battery of a laptop on battery, the key is (of course) /org/gnome/settings-daemon/plugins/power/sleep-inactive-battery-type - both should be set to nothing.

Then reset to what was previously set afterwards when the applet ended its job but before initiating shutdown/suspension etc.

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.