Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Pyshutdown

A simple gui wrapper to restart/shutdown the system. It's usefull for a windows manager like OpenBox that doesn't have that functionality. It uses python & tkinter.

Dependencies:

tk-inter

#apt-get install python-tk

User grants

User need to be enough privilegies to shutdown/reboot the machine:

Create a new group:

sudo groupadd power

Adding your user to the group power:

sudo usermod -a -G power yourusername

Allow members of group power to shutdown without a password:

sudo visudo

# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL
# Allow members of group power to shutdown (or reboot) system
%power  ALL = NOPASSWD: /sbin/shutdown

It is necessary re-login to the changes take effect.

Usage

pyshutdown.py [-h] [-l] -h Show usage -l Enable logging archive in /var/tmp/

Language support

Pyshutdown detects the current user's language and the appropiate strings are showed. At this moment only english, spanish and german are supported.

Language User Interface
English (default) Screenshot English
German Screenshot German
Spanish Screenshot Spanish

Images credits

Images from Mazenl77

Original Image Image on pyshutdown
EZ Restart Icon restart_48.png restart_64.png restart_128.png
EZ Screen Saver Icon continue_48.png continue_64.png continue_128.png
EZ Stand By Icon shutdown_48.png shutdown_64.png shutdown_64.png

About

A simple shutdown/restart gui

Resources

Releases

No releases published

Packages

No packages published

Languages