Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Search wiki: labels_t:"Manual"

 

D-Bus (WikiPage)
qdbus net.sf.kshutdown /kshutdown method QStringList net.sf.kshutdown.MainWindow.actionList(bool showDescription) method QStringList net.sf.kshutdown.MainWindow.triggerList(bool showDescription) method bool net.sf.kshutdown.MainWindow.active() method void net.sf.kshutdown.MainWindow.setActive(bool yes) method void net.sf.kshutdown.MainWindow.setSelectedAction(QString id) method void net.sf.kshutdown.MainWindow.setSelectedTrigger(QString id) method void net.sf.kshutdown.MainWindow.setTime(QString trigger, QString time) method void net.sf.kshutdown.MainWindow.setExtrasCommand(QString command) method void net.sf.kshutdown.MainWindow.setWaitForProcess(qlonglong pid) Examples Wait for wget and hibernate Hide/show main window Quit KShutdown See Also Run "qdbus net.sf.kshutdown" to display all D-Bus commands. qdbus net.sf.kshutdown /kshutdown method QStringList net.sf.kshutdown.MainWindow.actionList(bool showDescription) Returns a list of available action names. Example 1: qdbus net.sf.kshutdown /kshutdown actionList true Output 1: extras - Extras hibernate - Hibernate Computer test - Test Action (does nothing) reboot - Restart Computer suspend - Suspend Computer (Sleep) shutdown - Turn Off Computer logout - Logout lock - Lock Screen Example 2: $ qdbus net.sf.kshutdown /kshutdown actionList false Output 2: extras hibernate test reboot suspend shutdown logout lock method QStringList net.sf.kshutdown.MainWindow.triggerList(bool showDescription) Returns a list of available trigger/event names. Example 1: $ qdbus net.sf.kshutdown /kshutdown triggerList true Output 1: idle-monitor - On User Inactivity (HH:MM) process-monitor - When selected application exit time-from-now - Time From Now (HH:MM) date-time - At Date/Time no-delay - No Delay Example 2: $ qdbus net.sf.kshutdown /kshutdown triggerList false Output 2: idle-monitor process-monitor time-from-now date-time no-delay method bool net.sf.kshutdown.MainWindow.active() Returns true if countdown is active; otherwise false. method void net.sf.kshutdown.MainWindow.setActive(bool yes) Start/stop countdown. Example 1 (same as the OK button click): $ qdbus net.sf.kshutdown /kshutdown setActive true Example 2 (same as the Cancel button click): $ qdbus net.sf.kshutdown /kshutdown setActive false method void net.sf.kshutdown.MainWindow.setSelectedAction(QString id) Selects an action identified by id, where id is a one of the names listed by the "actionList false". Example: $ qdbus net.sf.kshutdown /kshutdown setSelectedAction lock method void net.sf.kshutdown.MainWindow.setSelectedTrigger(QString id) Selects a time/event/trigger identified by id, where id is a one of the names listed by "triggerList false". Example: $ qdbus net.sf.kshutdown /kshutdown setSelectedTrigger time-from-now method void net.sf.kshutdown.MainWindow.setTime(QString trigger, QString time) Sets the "time" and activates the countdown. trigger - one of the names listed by "triggerList false" time - a time in HH:MM format (with leading zero) Example: $ qdbus net.sf.kshutdown /kshutdown setTime time-from-now 01:30 method void net.sf.kshutdown.MainWindow.setExtrasCommand(QString command) Same as the --extra command line option. method void net.sf.kshutdown.MainWindow.setWaitForProcess(qlonglong pid) Activates the "When selected application exit" trigger. pid - the Process ID Example: $ qdbus net.sf.kshutdown /kshutdown setWaitForProcess `pidof wget` Examples Wait for wget and hibernate $ qdbus net.sf.kshutdown /kshutdown setSelectedAction hibernate $ qdbus net.sf.kshutdown /kshutdown setWaitForProcess `pidof wget` Hide/show main window $ qdbus net.sf.kshutdown /kshutdown/main_window hide $ qdbus net.sf.kshutdown /kshutdown/main_window show Quit KShutdown $ qdbus net.sf.kshutdown /MainApplication quit See Also [Command Line] [FAQ]
Last updated: 2013-12-02

FAQ (WikiPage)
How To Integration with other applications KTorrent example (BitTorrent client) FileZilla example (FTP client) Recurring actions Linux/KDE Windows How to shutdown system everyday at the specified time? General Is there a RSS so that I can follow KShutdown updates? KDE 4 Logout cancelled by... Is there any other command that can cleanly logout KDE 4 and turn off computer? See Also How To Integration with other applications KTorrent example (BitTorrent client) KTorrent has a built-in shutdown function: Click menu -> View -> Plugins Find and enable the Shutdown plugin Click menu -> Shutdown -> Configure Shutdown FileZilla example (FTP client) Right-click in the Queued files Select Action after queue completion -> Run command... Enter a KShutdown command Recurring actions Linux/KDE Install & Launch KAlarm Click New -> New Command Alarm Alarm tab: Enter a KShutdown command Recurrence tab: setup a recurrence rules (e.g. daily, hourly) Windows You can use the built-in Task Scheduler to automatically start KShutdown. How to shutdown system everyday at the specified time? Add the following command to the system autostart: kshutdown --shutdown 20:00 The time must be in HH:MM format. To hide window on application startup add the --init parameter: kshutdown --init --shutdown 20:00 General Is there a RSS so that I can follow KShutdown updates? Yes, visit http://sourceforge.net/projects/kshutdown/... KDE 4 Logout cancelled by... Possible reasons: Some applications (e.g. older VLC) can abort logout (or shut down) without any particular reason Text editor with modified/unsaved document may display a confirmation message and cancel logout Is there any other command that can cleanly logout KDE 4 and turn off computer? Remember that DCOP is not used anymore in KDE4. You can try D-Bus command instead to turn off the computer: dbus-send --print-reply --session \ --dest=org.kde.ksmserver \ /KSMServer org.kde.KSMServerInterface.logout \ int32:0 int32:2 int32:2 See Also [Command Line] [D-Bus]
Last updated: 2013-12-26

Kiosk (WikiPage)
Disable the "Turn Off Computer" action Edit ~/.kde/share/config/kshutdownrc file manually Find or add [KDE
Last updated: 2014-02-17

Reviews (WikiPage)
English English (video) Polski Russian KShutdown Reviews (text, screenshots, or videos)... English Automate your Computer Power Off with KShutdown (2014) Set Automatic Shutdown, Restart, Hibernate, Sleep For PC: KShutdown (2013) English (video) Video and Text Review @ FindMySoft.com (2013) Video Review @ softoxi.com 2min Tutorial by TheyCallMeConfucious @ youtube.com Polski KShutDown - graficzne narzędzie do zamykania, usypiania oraz hibernacji systemu @ osworld.pl (2013) KShutdown: wyłączanie komputera o ustalonej porze @ komputerswiat.pl (2011) Russian http://zenway.ru/page/kshutdown (2013)
Last updated: 2014-05-10

Extras (WikiPage)
Getting Started Supported File Types Data Location Command Line Example See Also Extras is a set of customizable KShutdown actions (commands). Since version 3.0 Beta 5 this feature is available in all KShutdown versions (not only in KDE). Getting Started Click the Add or Remove Commands menu item to open default file manager (e.g Dolphin). Now you can use your file manager to add/edit/remove links or folders. Use file Properties to change icon, name, or the program you want to launch. Supported File Types Note: The below list may vary depending on KShutdown version/build and your Operating System. Folder - Displayed as submenu Links (*.desktop or *.lnk) - An application link (shortcut) created using Linux file manager or Windows Explorer Shell Script (*.sh) - A valid script file with the "executable" attribute set Programs - Any "executable" binary file Data Location Extras data can be found in the following places: KDE Build @ Linux: ~/.kde/share/apps/kshutdown/extras KDE Build @ Linux: Global directory (for all users): PREFIX/share/kde4/apps/kshutdown/extras (where PREFIX is the KDE or KShutdown installation directory) Qt Build @ Linux: ~/.local/share/data/kshutdown.sf.net/KShutdown/extras or ~/.local/share/kshutdown.sf.net/KShutdown/extras/ Qt Build @ Windows: ...\Application Data\kshutdown.sf.net\KShutdown\extras Qt Build (portable): ./extras (relative to the program file) Command Line To launch an extra command from the [Command Line], use the --extra option with a file argument (you can use any supported file type). Run kshutdown --help for more info. Example kshutdown --extra "/full/path/to/myscript.sh" See Also [D-Bus]
Last updated: 2014-07-16

Command Line (WikiPage)
Options --help Show this help -h, --halt Turn Off Computer -s, --shutdown Turn Off Computer (like above) -k, --lock Lock screen -r, --reboot Restart Computer -l, --logout Logout -H, --hibernate Hibernate Computer -S, --suspend Suspend Computer (sleep) --test Test Action (does nothing) -e, --extra <file> Run executable file (see link below) -i, --inactivity Detect user inactivity. Example: --logout --inactivity 90 - automatically logout after 90 minutes of user inactivity --cancel Cancel an active action --confirm Confirm command line action --hide-ui Hide main window and system tray icon --init Do not show main window on startup -e, --extra See [Extras] Arguments time Activate countdown. Example: 13:37 - absolute time (HH:MM) Example: 10 - number of minutes from now See [FAQ] for more examples. See Also [D-Bus]
Last updated: 2014-07-21

Home (WikiPage)
Documentation Video and Text Reviews README Manual Development KShutdown Links Home Page KDE
Last updated: 2014-06-20

Showing 7 results of 7

Sort by relevance or date