You are not logged in.

#1 2011-06-13 05:05:16

doorknob60
Member
Registered: 2008-09-29
Posts: 404

pygtk-shutdown: a simple dialog to shutdown, etc without a DE or DM

A few years ago, in the Computing section of a popular gaming forum, a Linux user there posted a script he created for personal use to shutdown and restart his computer without the need to use anything fancy like a bloated Desktop Environment, or any Display Managers, or HAL. That was called shutdown-dialog.

Later, when I started using Arch, I was looking for something to do just that, and then I remembered shutdown-dialog! Then, I made an AUR package for it, and it became somewhat popular, and I started getting feature and bug requests from people thinking I was the creator. I always gave the patches back to him, but now he's too busy, and he suggested that I fork it myself, so I did. Meet pygtk-shutdown, it's shutdown-dialog, but with a new name, basically smile

Project Site: https://github.com/doorknob60/pygtk-shutdown
AUR Package: https://aur.archlinux.org/packages.php?ID=51773

Screenshot: (This would normally have pretty icons on the buttons, but my icon theme doesn't have the correct icons)
2rc94m0.png

Dependencies:

  • python2

  • pygtk

  • gksu

Features:

  • Shutdown and Restart (duh tongue)

  • Logout, by default works with openbox, and can be changed to work with anything using the LOGOUT_COMMAND variable

  • Optional support for suspend and hibernate using pm-utils (uncomment the patch in the PKGBUILD)

  • NEW: Support for using Consolekit and Upower if you want so you don't need to use gksudo if you'd rather use the consolekit stuff like most DEs do

Last edited by doorknob60 (2011-08-23 03:03:13)

Offline

#2 2011-06-15 15:54:55

X-dark
Member
From: France
Registered: 2009-10-25
Posts: 142
Website

Re: pygtk-shutdown: a simple dialog to shutdown, etc without a DE or DM

Great. For a similar purpose I use this: https://github.com/X-dark/ArchLinux/blo … hutdown.sh
But mine is not as generic, and does not have as much features as yours.


Cedric Girard

Offline

#3 2011-06-15 18:50:49

doorknob60
Member
Registered: 2008-09-29
Posts: 404

Re: pygtk-shutdown: a simple dialog to shutdown, etc without a DE or DM

X-dark wrote:

Great. For a similar purpose I use this: https://github.com/X-dark/ArchLinux/blo … hutdown.sh
But mine is not as generic, and does not have as much features as yours.

Nice and simple, I like that too smile

Offline

#4 2011-08-03 04:18:49

doorknob60
Member
Registered: 2008-09-29
Posts: 404

Re: pygtk-shutdown: a simple dialog to shutdown, etc without a DE or DM

I added optional support for consolekit (and upower if you want suspend/hibernate with that) to use as an alternative to gksudo and /sbin/shutdown, and also dropped support for HAL since nobody uses that anymore tongue

Offline

#5 2011-08-23 03:04:23

doorknob60
Member
Registered: 2008-09-29
Posts: 404

Re: pygtk-shutdown: a simple dialog to shutdown, etc without a DE or DM

Update: Simplified command execution code and other general code cleanup, and moved my project over to github: https://github.com/doorknob60/pygtk-shutdown New AUR package: https://aur.archlinux.org/packages.php?ID=51773

Offline

Board footer

Powered by FluxBB