<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=7820&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [HowTo] Use slimlock with xfce]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=7820</link>
		<description><![CDATA[The most recent posts in [HowTo] Use slimlock with xfce.]]></description>
		<lastBuildDate>Sun, 30 Aug 2026 23:17:55 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [HowTo] Use slimlock with xfce]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=65360#p65360</link>
			<description><![CDATA[<p>That&#039;s an <em>xfce-screensaver</em> question. A brief search suggests that it uses its own locking utility that cannot be swapped for another. However, I don&#039;t use any screensaver so I can&#039;t say that with any certainty.</p><p>You&#039;d run into the same issue if you wanted to use <em>slock</em> or <em>i3lock</em> or any other screenlocker.</p><p>Gemini has this to say:</p><div class="quotebox"><blockquote><div><p>&gt; Is there a way for xfce-screensaver to use a screenlocker of my choice?</p><p>No, xfce4-screensaver cannot be configured to launch a third-party screen locker. It is hardcoded to use its own integrated graphical user interface for authentication.</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (Mercury)]]></author>
			<pubDate>Sun, 30 Aug 2026 23:17:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=65360#p65360</guid>
		</item>
		<item>
			<title><![CDATA[Re: [HowTo] Use slimlock with xfce]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=65337#p65337</link>
			<description><![CDATA[<p>I noticed slimlock does not get used when the xfce-screensaver locks the screen, only when I click on &quot;lock screen&quot; manually.</p><p>Is there a way to get xfce-screensaver to use slimlock for the lock screen?</p>]]></description>
			<author><![CDATA[dummy@example.com (tux_99)]]></author>
			<pubDate>Fri, 28 Aug 2026 11:13:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=65337#p65337</guid>
		</item>
		<item>
			<title><![CDATA[Re: [HowTo] Use slimlock with xfce]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=65334#p65334</link>
			<description><![CDATA[<p>Thanks for the how to, it works fine!</p>]]></description>
			<author><![CDATA[dummy@example.com (tux_99)]]></author>
			<pubDate>Fri, 28 Aug 2026 06:21:13 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=65334#p65334</guid>
		</item>
		<item>
			<title><![CDATA[[HowTo] Use slimlock with xfce]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=62303#p62303</link>
			<description><![CDATA[<p><span class="bbc">slimlock</span> is included with the <em>slim</em> login manager. If you already have <em>slim</em> installed, there is no need to get another screenlocker utility. However, <em>slimlock</em> has one major difference to all other screenlockers: When called, it does not return with a success code until <em>after</em> the screen is unlocked. Other screenlockers return immediately and keep the screen locked.</p><p>If <span class="bbc">slimlock</span> is set as the lock command in <em>xfce4</em>, it will not work correctly with sleep security. (Xfce Settings → Power Manager → System → Lock screen when system is going to sleep) Since <em>xfce4</em> waits for the screenlocker to return before putting the system to sleep, the user sees the lock screen but the system will not sleep. Once the user unlocks the screen, <em>then</em> the system will go to sleep. Obviously this is not what the user wants.</p><p>Here&#039;s how to fix it.</p><p>Create the file <span class="bbc">/usr/local/bin/aslimlock.sh</span> with these contents:</p><div class="codebox"><pre><code>#!/bin/sh
/usr/bin/slimlock &amp;
sleep 1
pgrep --parent ${$} --full --exact &quot;/usr/bin/slimlock&quot;</code></pre></div><p>This script runs <span class="bbc">slimlock</span> asynchronously, ensures that it is still running after one second, and returns a success or error code depending on the status.</p><p>Ensure this script is given execute permissions.</p><p>Now set <span class="bbc">aslimlock.sh</span> as <em>xfce4</em>&#039;s lock command. </p><p>You can use the GUI: Navigate to Xfce Settings → Settings Editor → Channel: xfce4-session → Property: LockCommand; and enter <span class="bbc">/usr/local/bin/aslimlock.sh</span> in the Value field.</p><p>Alternatively, you can use the command line:<br /><span class="bbc">xfconf-query --channel &#039;xfce4-session&#039; --property &#039;/general/LockCommand&#039; --set &#039;/usr/local/bin/aslimlock.sh&#039;</span></p><p>The system will now correctly respond to a suspend request. The screen will lock and the system will enter sleep mode. On wake, the screen will be locked and awaiting a password.</p>]]></description>
			<author><![CDATA[dummy@example.com (Mercury)]]></author>
			<pubDate>Thu, 19 Feb 2026 18:10:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=62303#p62303</guid>
		</item>
	</channel>
</rss>
