debian/0000755000000000000000000000000012203267357007175 5ustar debian/qshutdown.manpages0000644000000000000000000000002312157032701012730 0ustar debian/qshutdown.1 debian/changelog0000644000000000000000000003327112203774051011047 0ustar shutdown-qapps (1.6.7-1) unstable; urgency=low closes: #716194 * qprogram-starter - fixed not beeing able to start commands after first one failed - fixed not saving text editors contents and state of checkboxes * qshutdown - closes: #717102 -- Christian Metscher Sun, 11 Aug 2013 10:48:39 +0200 shutdown-qapps (1.6.6-1) unstable; urgency=low * qprogram-starter - new design and new options - added welcome dialog * qshutdown - revisited power.h - added welcome dialog - update on translations -- Christian Metscher Thu, 30 May 2013 12:30:11 +0200 shutdown-qapps (1.6.5-3) unstable; urgency=low * switched to debhelper 9 -- Christian Metscher Thu, 25 Apr 2013 19:56:08 +0200 shutdown-qapps (1.6.5-2) unstable; urgency=low *new upstream release -- Christian Metscher Sat, 20 Apr 2013 13:23:13 +0200 shutdown-qapps (1.6.5-1) unstable; urgency=low - new watch file * qshutdown - minor fix for the preferences, the password and the about dialog - reviewed shutdown commands - new translations for: English (Australian), Galician, Croatian, Burmese, Romanian * qprogram-starter - fixed bug: Settings are not saved if shutdown was set - reviewed shutdown commands - added translations for: (German), Asturian, Bosnian, Croatian, English (Australia / United Kingdom), Galician, Italian, Malay, Polish, Russian, Turkish, Ukrainian -- Christian Metscher Sun, 14 Apr 2013 12:45:57 +0200 shutdown-qapps (1.6.4-1) unstable; urgency=low * qshutdown - new (and bigger) qshutdown symbol - many new translations - fix for intern reset: now independent from QTimer - fix for not keeping proportions at startup - fix for discarding changes and passwords when escaping preferences and password dialogs - removed version text label from the main window - added version message to the statusbar - simplified the creation of the config file -- Christian Metscher Sun, 29 Apr 2012 22:00:00 +0200 shutdown-qapps (1.6.3-1) unstable; urgency=low * qshutdown - added advanced settings for specifying or choosing a shutdown/reboot/ suspend/hibernate command. - added checkBox for qshutdown to quit after countdown ended - added gnome-session-quit command - changed config file format - fix for enabling "hide qshudown at startup" - save and ok of the editor now updates the preferences window's settings * qshutdown & qprogram-starter - File format for .conf files changed to Ini (Windows compatible) -- Christian Metscher Thu, 08 Mar 2012 00:15:30 +0100 shutdown-qapps (1.6.2-1) unstable; urgency=low * qshutdown & qprogram-starter - replaced all qDebug(), qWarning() and qCritical() * qshutdown - added "About Qt" - reworked QSettings - added hideEvent and showEvent because of minimize/restore Action of the System Tray Icon -- Christian Metscher Sun, 08 Jan 2012 15:22:33 +0100 shutdown-qapps (1.6.1-1) unstable; urgency=low * qshutdown - for first start fonts weren't correctly initialized -> fixed. * qprogram-starter - now compileable on Windows -- Christian Metscher Wed, 28 Dec 2011 17:45:55 +0100 shutdown-qapps (1.6.0-1) unstable; urgency=low * qshutdown - lockAll reworked - new design - new options (quit at close button clicked, keep window proportions) - added: "About" - new warning method: System tray icon message. - removed spacers and LCD from the source code since it's more convenient to leave this to the ui. - more precise display of the time displayed with the LCD - removed most global variables and thus restructured many functions and classes - removed qApp-quit() from Gui::finished_() -> shutdown works again under Ubuntu Natty and so on. Added Gui::saveLog() instead to resolve the problem from version 1.5.2 (instead of the solution from version 1.5.3) * qprogram-starter - rearranged design - added: 'Show Logs' button -- Christian Metscher Tue, 27 Dec 2011 00:13:52 +0100 shutdown-qapps (1.5.6-1) unstable; urgency=low * qshutdown - bugfix: minimize and restore button didn't work correctly on all systems. - added: more information about hotkeys (removed old ones) -- Christian Metscher Sun, 23 Oct 2011 22:45:33 +0200 shutdown-qapps (1.5.5-1) unstable; urgency=low * qshutdown - bugfix: autostart entry is written or deleted when confirming with OK. (the function was called at the wrong place) -- Christian Metscher Sat, 08 Oct 2011 15:38:40 +0200 shutdown-qapps (1.5.4-1) unstable; urgency=low * qshutdown - added: restore and minimize Button to the system tray icon. -- Christian Metscher Sun, 26 Sep 2011 10:04:00 +0200 shutdown-qapps (1.5.3-1) unstable; urgency=low * qshutdown - fixed: No log entry for shutdown events (gui.cpp -> before_quit()) - fixed: When pressing Enter in the password prompt line Edit the message box reappeared twice (passwd.cpp) -- Christian Metscher Mon, 22 Aug 2011 09:06:25 +0200 shutdown-qapps (1.5.2-1) unstable; urgency=low * qshutdown - fixed timer problem (minor issue) -- Christian Metscher Mon, 27 Jun 2011 00:15:03 +0200 shutdown-qapps (1.5.1-2) unstable; urgency=low * qshutdown - added information on the no-system-tray-icon issue in Ubuntu 11.04 to the README and qshutdown man files -- Christian Metscher Tue, 14 Jun 2011 14:06:05 +0200 shutdown-qapps (1.5.1-1) unstable; urgency=low * qshutdown - saving the edited configuration file will now also update the preferences window. - the editor got an additional button and won't quit after saving, if Ok hasn't been clicked. - the main window won't rise into the foreground if the calendar, the password promt or the editor is open. - removed line for minimizing Window after OK has been clicked - corrected spelling-error-in-binary (writeable -> writable) -- Christian Metscher Tue, 24 May 2011 07:14:36 +0200 shutdown-qapps (1.5.0-1) unstable; urgency=low * qshutdown - added a password gui and editor to access qshutdown.conf, removing a possible security vulnerability (in "admin mode" only). - added a button in preferences to edit qshutdown.conf - revised the way of how the autostart works and added an option to the preferences. -- Christian Metscher Sat, 07 May 2011 18:37:23 +0200 shutdown-qapps (1.4.9-1) unstable; urgency=low * qshutdown - fixed translation (de) for info box: qshutdown_script.sh -> qshutdown_script -- Christian Metscher Sat, 30 Apr 2011 12:05:43 +0200 shutdown-qapps (1.4.8-1) unstable; urgency=low * qprogram-starter - added start & abort buttons - fixed date and time problems (timer) -- Christian Metscher Sat, 22 Jan 2011 02:12:03 +0100 shutdown-qapps (1.4.7-1) unstable; urgency=low * fixed: missing line in power.cpp at hibernate() * integrated dbus command for locking screen -- Christian Metscher Sat, 08 Jan 2011 01:25:56 +0100 shutdown-qapps (1.4.6-1) unstable; urgency=low * Changes in qshutdown: - simplified some calculations (gui.cpp) - removed redundant funktion starter() - added lock screen for suspend and hibernate - added option to hide qshutdown at startup if "Start countdown" is enabled. -- Christian Metscher Sun, 10 Oct 2010 16:49:10 +0200 shutdown-qapps (1.4.5-2) unstable; urgency=low * fixed manpage(s) (qshutdown) -- Christian Metscher Sun, 03 Oct 2010 12:32:10 +0200 shutdown-qapps (1.4.5-1) unstable; urgency=low * added "delete settings" in destructor (qprogram-starter) * new path for .qm translation files * implemented UPower (for suspend and hibernate in qshutdown) * implemented shortcut Shift + E to edit ~/.qshutdown/qshutdown.conf with gksu(do)/kdesu(do) (qshutdown) * revised "admin mode" (Lock_all) * made some code cleanups (qshutdown) * new debian/rules -- Christian Metscher Wed, 29 Sep 2010 13:43:43 +0200 shutdown-qapps (1.4.4-1) unstable; urgency=low * fixed: if no date was set and the clock turned 12:00 AM qshutdown stopped working because the date was intern set to the current day. * minor changes in Gui::showCalendarBox() * .ui files had wrong .qrc path (fixed) -- Christian Metscher Sun, 12 Sep 2010 02:01:16 +0200 shutdown-qapps (1.4.3-1) unstable; urgency=low * corrected a spelling mistake in qprogram-starter * added a new version control for qshutdown * and some minor changes -- Christian Metscher Sat, 04 Sep 2010 01:22:08 +0200 shutdown-qapps (1.4.2-1) unstable; urgency=low * a little modification for the file browser (qprogram-starter) -- Christian Metscher Mon, 30 Aug 2010 02:58:25 +0200 shutdown-qapps (1.4.1-1) unstable; urgency=low * bug in time calculation fixed (qprogram-starter) -- Christian Metscher Mon, 30 Aug 2010 01:56:58 +0200 shutdown-qapps (1.4.0-1) unstable; urgency=low * the DateTimeEdit from qprogram-starter was replaced through a date and a time edit * the date and time are now at minimum the current date and time * there are now browse buttons to choose a program binary * one can now save the command he/she wants to * the output is now devided into four files: two output and two error output files, because there are two processes -- Christian Metscher Sun, 29 Aug 2010 23:05:08 +0200 shutdown-qapps (1.3.7-1) unstable; urgency=low * repacked "upstream" orig.tar.gz -- Christian Metscher Wed, 25 Aug 2010 09:13:31 +0200 shutdown-qapps (1.3.6-1) unstable; urgency=low * the upload of version 1.3.5-1 was faulty -- Christian Metscher Tue, 24 Aug 2010 02:04:01 +0200 shutdown-qapps (1.3.5-1) unstable; urgency=low * bugfix for timeEdit -- Christian Metscher Tue, 24 Aug 2010 01:35:01 +0200 shutdown-qapps (1.3.4-1) unstable; urgency=low * fix for toolButton * bugfix for spinBox -- Christian Metscher Mon, 23 Aug 2010 13:03:15 +0200 shutdown-qapps (1.3.3-1) unstable; urgency=low * new design for preferences -- Christian Metscher Sun, 22 Aug 2010 23:46:02 +0200 shutdown-qapps (1.3.2-1) unstable; urgency=low * fixed and modified many things -- Christian Metscher Sun, 22 Aug 2010 17:16:01 +0200 shutdown-qapps (1.3.1-1) unstable; urgency=low * adjusted some things in the calendar widget * corrected quite a lot things * made some code cleanups -- Christian Metscher Sun, 22 Aug 2010 12:54:00 +0200 shutdown-qapps (1.3.0-1) unstable; urgency=low * new Standards-Version 3.9.1 * new features: added a calendar and the changes of the font settings take immediantly effect in the main window -- Christian Metscher Sat, 21 Aug 2010 08:53:17 +0200 shutdown-qapps (1.2.5-2) unstable; urgency=low * new Standards-Version 3.9.0 -- Christian Metscher Wed, 30 Jun 2010 07:08:00 +0200 shutdown-qapps (1.2.5-1) unstable; urgency=low *bugfix: Programwindow didn't reappear when starting twice -- Christian Metscher Sun, 20 Jun 2010 14:58:37 +0200 shutdown-qapps (1.2.4-1) unstable; urgency=low *new feature: start countdown at startup *scrollable area for preferences -- Christian Metscher Tue, 08 Jun 2010 16:28:49 +0200 shutdown-qapps (1.2.3-1) unstable; urgency=low * bugfix for "Lock_all" (gui.cpp -> loadSettings()) * the size of the log file is now adjustable -- Christian Metscher Tue, 20 Apr 2010 12:16:54 +0200 shutdown-qapps (1.2.2-1) unstable; urgency=low * revised "Reset Settings" in preferences.cpp -- Christian Metscher Wed, 07 Apr 2010 14:20:48 +0200 shutdown-qapps (1.2.1-1) unstable; urgency=low * bug fixed: Window was shifting down on hide and show events * Switch to dpkg-source 3.0 (quilt) format -- Christian Metscher Mon, 05 Apr 2010 12:12:11 +0200 shutdown-qapps (1.2.0-1) unstable; urgency=low * improved tray-icon-contextmenu in qshutdown * replaced hints/info message box with an QPlainTextEdit object * fixed shutdown/reboot/suspend/hibernate functions * added a combo box and shortcuts to the qshutdown gui * qshutdown now accepts arguments like --help * added a preferences dialog for qshutdown -- Christian Metscher Wed, 24 Mar 2010 16:12:18 +0100 shutdown-qapps (1.1.0-1) unstable; urgency=low * in qshutdown: Added tray-icon-contextmenus for shutdown/reboot/standby/hibernate * added DeviceKit in the shutdown option * pixmaps now in .xpm format -- Christian Metscher Wed, 17 Mar 2010 18:29:08 +0100 shutdown-qapps (1.0.2-1) unstable; urgency=low * added dh_installmenu in debian/rules * bugfix in qshutdown (see NEWS) -- Christian Metscher Thu, 11 Mar 2010 22:43:13 +0100 shutdown-qapps (1.0.1-1) unstable; urgency=low * New upstream release (Closes: #572321) * Added Debian menus and corrected descriptions in control file -- Christian Metscher Wed, 03 Mar 2010 18:47:00 +0100 shutdown-qapps (1.0.0-1) unstable; urgency=low * Initial release -- Christian Metscher Fri, 26 Feb 2010 13:05:00 +0100 debian/qshutdown.menu0000644000000000000000000000026612157032701012112 0ustar ?package(qshutdown):\ needs="X11"\ section="Applications/System/Administration"\ title="qshutdown"\ icon="/usr/share/pixmaps/red_glasses.xpm"\ command="/usr/bin/qshutdown" debian/qshutdown.10000644000000000000000000000667612157032701011321 0ustar .\"Created with GNOME Manpages Editor .TH qshutdown 1 "2013-04-20" .PP .SH NAME qshutdown \- An avanced shutdown tool .PP .SH SYNOPSIS .B qshutdown .RI [ options ] .br .PP .SH DESCRIPTION qshutdown is a simple tool to choose a time or a number of minutes to shutdown, reboot, suspend or hibernate after. .PP qshutdown will show itself 3 times as a warning if there are less than 70 seconds left. (if 1 Minute or local time +1 Minute was set it'll appear only once.) .PP This program uses qdbus to send a shutdown/reboot/suspend/hibernate request to either the gnome- or kde-session-manager, to HAL/ConsoleKit/DeviceKit/UPower and if none of these works, the command 'sudo shutdown' will be used. .PP .SH OPTIONS .TP \fB\-h \-\-help\fP Prints options with description. .TP \fB\-i\fP Prints information about qshutdown. .TP \fB\-v\fP Prints all errors and warnings. .PP .SH NOTES When sending the request to HAL or ConsoleKit, or the shutdown command is used, the Session will never be saved. If the shutdown command is used, the program will only be able to shutdown and reboot. .PP If nothing happens when the shutdown- or reboot-time is reached, it means that one lacks the rights for the shutdown command. In this case one can do the following: Post the following in a terminal: .PP \& $ EDITOR=nano sudo \-E visudo .PP and add this line: .PP \& * ALL = NOPASSWD:/sbin/shutdown .PP whereas * replaces the username or %groupname. .PP .SH For admins: If you want qshutdown to run with "parental lock" for every user, you can do .PP \& $ sudo cp /usr/share/qshutdown/autostart/99qshutdown /etc/X11/Xsession.d/ .PP and set the option Lock_all in \fI/root/.qshutdown/qshutdown.conf\fR to \fBtrue\fR. Note that qshutdown has to start once to generate the qshutdown.conf. Furthermore there is a need to do .PP \& $ EDITOR=nano sudo \-E visudo .PP and add the following line to the sudoers: .PP \& * ALL = NOPASSWD:/usr/bin/qshutdown .PP If you should ever forget your set password, just remove the whole line starting with \fBPassword\fR manually from the qshutdown.conf. .PP .SH FILES The configurationfile (and logfile) is located at \fI~/.qshutdown/\fR (under Linux/Unix). The maximum Number of countdown_minutes is 1440 (24 hours). .PP .SH KNOWN ISSUES .PP There is no system tray icon for qshutdown in Ubuntu 11.04. .br \fBSOLUTION:\fR Type the following line in a terminal: .PP \& $ gsettings set com.canonical.Unity.Panel systray-whitelist "['all']" .PP For most systems using the Gnome Shell a certain DBus method has been removed, thus a shutdown dialog will be likely to appear if qshutdown's methods have been set to automatic or to Gnome session. If you do not want this shutdown dialog to appear, please use ConsoleKit or something else. .PP .SH HINTS ON USAGE If you want qshutdown to stop "bugging" you, just remove the hook from "warnings on?". .PP .SH HOTKEYS .TP Ctrl+I information window .TP Ctrl+Q Quit .TP Ctrl+P Prefereces .TP Ctrl+L write the run time once into the logfile (works only if qshutdown quits. To make it permanent set it in the preferences.) .TP Ctrl+S set to shutdown .TP Ctrl+R set to restart .TP Ctrl+U set to suspend to RAM .TP Ctrl+H set to hibernate .TP Ctrl+E stop timer (only if the countdown has started and the admin didn't restrict the access) .TP Shift+E to edit the config file (for this a password is necessary. If you are a user, you can set an "empty password" (leave the password field empty)). .PP .SH AUTHOR Christian Metscher debian/qprogram-starter.menu0000644000000000000000000000032012157032701013357 0ustar ?package(qprogram-starter):\ needs="X11"\ section="Applications/System/Administration"\ title="qprogram-starter"\ icon="/usr/share/pixmaps/qprogram-starter.xpm"\ command="/usr/bin/qprogram-starter" debian/compat0000644000000000000000000000000212157032701010362 0ustar 9 debian/copyright0000644000000000000000000000220212201650005011104 0ustar This package was debianized by: Christian Metscher on Sun, 11 Aug 2013 10:48:39 +0200 Upstream Author: Christian Metscher Copyright: Copyright (C) 2010-2013 Christian Metscher License: This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA The Debian packaging is: Copyright (C) 2010-2013 Christian Metscher and is licensed under the GPL version 3, see `/usr/share/common-licenses/GPL-3'. debian/source/0000755000000000000000000000000012203267357010475 5ustar debian/source/format0000644000000000000000000000001412157032701011672 0ustar 3.0 (quilt) debian/qshutdown.install0000644000000000000000000000037512157032701012615 0ustar qshutdown/bin/* usr/bin qshutdown/src/translations/*.qm usr/share/qshutdown/translations qshutdown/src/pixmap/* usr/share/pixmaps qshutdown/autostart/qshutdown.desktop usr/share/applications qshutdown/autostart/99qshutdown usr/share/qshutdown/autostart debian/control0000644000000000000000000000260012175445323010575 0ustar Source: shutdown-qapps Section: utils Priority: optional Maintainer: Christian Metscher Build-Depends: debhelper (>= 9), libqt4-dev Standards-Version: 3.9.4 Vcs-Git: git://github.com/hakaishi/shutdown-qapps.git Vcs-browser: https://github.com/hakaishi/shutdown-qapps Homepage: https://launchpad.net/~hakaishi Package: qprogram-starter Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: hibernate Description: Qt program to start programs or commands qprogram-starter is a Qt program to start programs or commands. You can set a time or date when the processes should start, log error output and normal output each in a file. After the processes are finished qprogram-starter shows a "finished" message box, or if you want it can quit or shutdown the system. Package: qshutdown Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: hibernate Description: Qt program to shutdown/reboot/suspend/hibernate the system qshutdown is a Qt program to shutdown/reboot/suspend/hibernate the computer at a given time or after a certain number of minutes. It shows the time until the corresponding request is send to either the Gnome- or KDE-session-manager, to HAL or to DeviceKit and if none of these works the command 'sudo shutdown -P now' is used. This program may be useful for people who want to work with the computer only for a certain time. debian/README.source0000644000000000000000000000036212157032701011344 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. See /usr/share/doc/quilt/README.source for a detailed explanation. debian/rules0000755000000000000000000000030412157032701010241 0ustar #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ override_dh_clean: rm -f ./qshutdown/src/translations/*.qm rm -f ./qprogram-starter/src/translations/*.qm dh_clean debian/qprogram-starter.install0000644000000000000000000000032212157032701014063 0ustar qprogram-starter/bin/* usr/bin qprogram-starter/src/translations/*.qm usr/share/qprogram-starter/translations qprogram-starter/src/pixmap/* usr/share/pixmaps qprogram-starter/autostart/* usr/share/applications debian/qprogram-starter.docs0000644000000000000000000000005612157032701013351 0ustar qprogram-starter/README qprogram-starter/NEWS debian/qprogram-starter.manpages0000644000000000000000000000003212157032701014206 0ustar debian/qprogram-starter.1 debian/watch0000644000000000000000000000014012157032701010210 0ustar version=3 https://launchpad.net/qt-shutdown-p/+download .*/shutdown-qapps_(\d.*)\.orig\.tar\.gz debian/qshutdown.docs0000644000000000000000000000004012157032701012064 0ustar qshutdown/README qshutdown/NEWS debian/qprogram-starter.10000644000000000000000000000261712157032701012566 0ustar .TH qprogram-starter 1 "2010-09-29" .SH NAME qprogram-starter \- A program starter tool .SH SYNOPSIS .B qprogram-starter .br .SH DESCRIPTION .B qprogram-starter is a simple Qt4 program to start a program or process. If you like with the options to set a start date, to log output and errors, and to shutdown after finish. .PP This program uses qdbus to send a shutdown request to the gnome- or kde-session-manager. If it won't do gnome-power-cmd or gnome-power-cmd.sh will be used. When this also fails then qdbus will send the shutdown request to HAL or ConsoleKit (note that when sending the request to HAL or ConsoleKit the session will never be saved). And if this won't do as well, the sudo shutdown command will be used. In this case you need root-rights, so one can to do the following: .PP Post the following in a terminal: "EDITOR=nano sudo \-E visudo" and add this line: "* ALL = NOPASSWD:/sbin/shutdown" whereas * replaces the username or %groupname. .PP .SH Configurationfile qprogram-starter.conf The configurationfile (and logfiles) is located at ~/.qprogram-starter .PP .SH KNOWN ISSUES .PP For most systems using the Gnome Shell a certain DBus method has been removed, thus a shutdown dialog will be likely to appear if qshutdown's methods have been set to automatic or to Gnome session. If you do not want this shutdown dialog to appear, please use ConsoleKit or something else. .PP .SH AUTHOR .B Hakaishi