Menu

FAQ

Manual (7)
Konrad Twardowski

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 (using KAlarm)

  1. Install & Launch KAlarm
  2. 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 https://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]


Related

Wiki: Command Line
Wiki: D-Bus

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.