Quit Applet PRE-FINAL

UUID: QuitApplet@bownz
Score: 24

Download



An applet aimed to make quitting your session a lot easier.

==============INSTRUCTIONS==============
1) Extract to ~/.local/share/cinnamon/applets
2) Enable the applet in cinnamon settings.

==============Changelog==============
1.0.0 - Initial Release.
1.0.1 - Fixed "suspend". Removed "restart". changed "shutdown" to quit. Has the same effect
1.0.2 - Changed any icons associated with the applet to be more relevant. 
1.1.0 - Changed the "Quit..." Menu to an edited quit menu, that is more responsive, and faster. Also editted any other commands to be faster.
1.1.1 - Shutdown Menu edited so "Shut Down" is selected by default.
1.2.0 - Fixed the shutdown menu, that no one told me was broken.
2.0.0 - Fixed it yet again and updated,sorry for the delay - because I figured no one used this anymore. :\
2.0.1 - Added an option to disable popup confirmation windows. This also adds "Shutdown" ,"Restart", "Suspend", and "Hibernate" to the applets menu (and removes quit which included these options.) THANKS TO Jofer FOR THE SCHEMA-FREE SETTINGS BOX. Based off of his settings.
PRE-FINAL - Added Icons, edited script so it runs in the Usr/share/cinnamon/applets folder, but the settings can't be changed atm. Probably next will be final version.

About The Author

bownz
-Beginner

I'm 16 years old, In love with linux.
Living in New York, and if I'm coding it's normally between 7pm-1am Eastern Time, Get a hold of me then.
I would say I've gotten better at coding then when cinnamon first came out. I am willing to try to make anything, but I doubt I can make too complicated stuff. 
If anyone want's to help me email me at bendloveless@gmail.com


29 Comments

  1. bwat47 says:

    1 year ago

    thank you for this, really nice applet. Had a problem where the icon wouldn't show though, and in case anyone else has the issue here is the workaround: copy (or make a link) /usr/share/icons/gnome/scalable/actions/system-shutdown-symbolic.svg in ~/.icons/your_theme_name/scalable/actions (some themes like Faience use actions/scalable) and reload the shell

  2. zaphodbblx says:

    1 year ago

    After the upgrade to 12.04 the stock suspend wouldn't work but you applet did! cheers

  3. Oyabunbaba says:

    2 years ago

    5 stars, i am force to use it, because am using "My launcher" applet for cinnamon where i can construct my own menu, but a shutdown shortcut in mint 13 file was changed. In mint 12 the pathway was like this: Shutdown System=/usr/lib/indicator-session/gtk-logout-helper --shutdown The shortcut was in usr/share/applications, but right now it's gone, Anyone know where is the it in Maya?

  4. psaradon says:

    2 years ago

    Nice work. Could you make it translatable for use in different languages? Btw, the file settings.py seems to be copied form another applet. Some lines: Settings Application for the All-in-one Places applet for Cinnamon http://jferrao.github.com/gtk Requires Python 2.7 @author jferrao @version 1.0 This confuses, please make it unique.

  5. m0n9oose says:

    2 years ago

    hi. i searching applet, which can display remaining time, not percentage like default power applet, of battery. Can you make it, or customize default power applet? Thanx in advance, mate.

  6. mbokil says:

    2 years ago

    Nice update. I like the new Python settings window. Your applet should be included by default in Cinnamon. I can think of one final thing that would add the final polish to your applet and send it over the top: do away with the need for the restart button and rebuild the applet popup menu when the applet detects the JSON file has changed. You can find a sample of code that does this in my mylauncher applet. You basically setup a file watcher for your JSON file. When it is changed then call a method which deletes the child items in the popupmenu and then adds them back in dynamically. the delete children function is: this.menu.removeAll().

  7. bownz says:

    2 years ago

    Works now, just doesn't edit settings. bimsebasse

  8. bownz says:

    2 years ago

    Will fix soon. bimsebasse

  9. bimsebasse says:

    2 years ago

    The new version 2.0.1 doesn't work if put in the root directory (/usr/share/cinnamon/applets/) so it doesn't work in a PPA install, gonna have to stick with the previous version in the PPA for now.

  10. mbokil says:

    2 years ago

    I like the native Cinnamon dialogs you have now. Makes it look more complete being uniform. I use your applet regularly on my system.

  11. bownz says:

    2 years ago

    Everything is fixed. Sorry for the delay. This website needs like notifications, because I quit checking on this applet :\

  12. bimsebasse says:

    2 years ago

    Slight Spices folder compression error in current version, it doesn't decompress into "QuitApplet@bownz" as it should but into "WRSZ-TNVP-SZ62" (spices formatting) containing the applet files. Not a problem for me but some newcomers might be confused.

  13. pharmville says:

    2 years ago

    I also know how to fix the bug where the hibernate button doesn't work: Find the relevant lines in applet.js AND the py file about hibernate. The lines look like this: dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend Change the work Suspend to Hibernate (notice the capital H) This is how to fix the button where the restart button doesn't work correctly: Open the py file, and find where it talks about restart. Find the following: dbus-send --system --print-reply --system --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop Change the word Stop to Restart (notice the capital R)

  14. pharmville says:

    2 years ago

    I had time tonight to open the applet and look at it. To cause the applet to show up, the files in the archive should be placed in /home/nathan/.local/share/cinnamon/applets/QuitApplet@bownz

  15. mbokil says:

    2 years ago

    Works fine for me on Ubuntu/Cinnamon system. Good stuff.

  16. versys650gr says:

    2 years ago

    Does not restart, it turns off the computer.

  17. paulobvega says:

    2 years ago

    The "Restart" option isn't working. It shuts down the computer. Great job on your applets, btw!

  18. Oyabunbaba says:

    2 years ago

    Same as pharmville, but am using normal mint 12, nothing appear. "Shutdown applet 1.4" works fine... but i prefer with confirmation before quiting, so am waiting for repaired version.

  19. pharmville says:

    2 years ago

    Has anyone successfully used this applet with LMDE and cinnamon 1.4? I have a newly installed LMDE system. I put the files in their own folder in ~/.local/share/cinnamon/applets, enabled the applet by checking the box, and nothing is different. Nothing new on the panel.

  20. bownz says:

    2 years ago

    I will think about making those changes Sokoc1nnamon. Thanks.

  21. sokoc1nnamon says:

    2 years ago

    You can also improve the integration of the items, changing the labels for others who have their documentation available to the user's native language. Changing only the texts of addAction command: "Lock Screen" to "Lock screen", "Log Out??..." to "Logout" and "Shut Down..." with "Quit".

  22. jcgr11 says:

    2 years ago

    Nice applet.

  23. nef131 says:

    2 years ago

    Terrific applet. Thanks.

  24. GeneC says:

    2 years ago

    Thanks, That fixed it. :)

  25. billynick says:

    2 years ago

    i like but restart... does nothing here

  26. infektedpc says:

    2 years ago

    i like this its awesome i sent you an email hit me up

  27. bownz says:

    2 years ago

    It work when I tested it. Now it doesnt seem to. I shall check :p

  28. GeneC says:

    2 years ago

    I should have mentioned, suspend does work on this computer on LMDE using the shutdown on Mintmenu. ;)

  29. GeneC says:

    2 years ago

    bownz Thanks for this applet. Most everything works, but the 'suspend mode". Any ideas? I am using it on LMDE (Mint Debian). GeneC