<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to FAQ</title><link>https://sourceforge.net/p/kshutdown/wiki/FAQ/</link><description>Recent changes to FAQ</description><atom:link href="https://sourceforge.net/p/kshutdown/wiki/FAQ/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 01 Mar 2017 17:18:09 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/kshutdown/wiki/FAQ/feed" rel="self" type="application/rss+xml"/><item><title>FAQ modified by Konrad Twardowski</title><link>https://sourceforge.net/p/kshutdown/wiki/FAQ/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -16,20 +16,20 @@

 + Right-click in the *Queued files*
 + Select *Action after queue completion* -&amp;gt; *Run command...*
-+ Enter a [KShutdown command](http://sourceforge.net/p/kshutdown/wiki/Command%20Line/)
++ Enter a [KShutdown command](https://sourceforge.net/p/kshutdown/wiki/Command%20Line/)

 ## Recurring actions ##

-### Linux/KDE ###
+### Linux/KDE (using KAlarm) ###

-1. Install &amp;amp; Launch [KAlarm](http://www.astrojar.org.uk/kalarm/)
+1. Install &amp;amp; Launch [KAlarm](https://www.kde.org/applications/utilities/kalarm/)
 + Click *New* -&amp;gt; *New Command Alarm*
-    + *Alarm* tab: Enter a [KShutdown command](http://sourceforge.net/p/kshutdown/wiki/Command%20Line/)
+    + *Alarm* tab: Enter a [KShutdown command](https://sourceforge.net/p/kshutdown/wiki/Command%20Line/)
     + *Recurrence* tab: setup a recurrence rules (e.g. daily, hourly)

 ### Windows ###

-You can use the built-in [Task Scheduler](http://windows.microsoft.com/en-US/windows7/schedule-a-task) to automatically start KShutdown.
+You can use the built-in "Task Scheduler" to automatically start KShutdown.

 ## How to shutdown system everyday at the specified time? ##

@@ -47,7 +47,7 @@

 ## Is there a RSS so that I can follow KShutdown updates? ##

-Yes, visit &amp;lt;http: sourceforge.net="" projects="" kshutdown=""/&amp;gt;...
+Yes, visit &amp;lt;https: sourceforge.net="" projects="" kshutdown=""/&amp;gt;...

 # KDE 4 #

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Konrad Twardowski</dc:creator><pubDate>Wed, 01 Mar 2017 17:18:09 -0000</pubDate><guid>https://sourceforge.net97d35d3d935057bfb2b293fa049ebe0d5b7b7ecd</guid></item><item><title>WikiPage FAQ modified by Konrad Twardowski</title><link>https://sourceforge.net/p/kshutdown/wiki/FAQ/</link><description>[TOC]

# How To #

## Integration with other applications ##

### KTorrent example (BitTorrent client) ###

KTorrent has a built-in shutdown function:

+ Click menu -&gt; *View* -&gt; *Plugins*
+ Find and enable the *Shutdown* plugin
+ Click menu -&gt; *Shutdown* -&gt; *Configure Shutdown*

### FileZilla example (FTP client) ###

+ Right-click in the *Queued files*
+ Select *Action after queue completion* -&gt; *Run command...*
+ Enter a [KShutdown command](http://sourceforge.net/p/kshutdown/wiki/Command%20Line/)

## Recurring actions ##

### Linux/KDE ###

1. Install &amp; Launch [KAlarm](http://www.astrojar.org.uk/kalarm/)
+ Click *New* -&gt; *New Command Alarm*
    + *Alarm* tab: Enter a [KShutdown command](http://sourceforge.net/p/kshutdown/wiki/Command%20Line/)
    + *Recurrence* tab: setup a recurrence rules (e.g. daily, hourly)

### Windows ###

You can use the built-in [Task Scheduler](http://windows.microsoft.com/en-US/windows7/schedule-a-task) 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 &lt;http://sourceforge.net/projects/kshutdown/&gt;...

# 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]</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Konrad Twardowski</dc:creator><pubDate>Sun, 23 Sep 2012 17:52:45 -0000</pubDate><guid>https://sourceforge.net4ccea915d9c395e9c5271ae3e5daeca393a015da</guid></item></channel></rss>