<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=4824&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] screen is not locked when suspend is activated by closing the lid]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=4824</link>
		<description><![CDATA[The most recent posts in [SOLVED] screen is not locked when suspend is activated by closing the lid.]]></description>
		<lastBuildDate>Sun, 23 Jan 2022 15:25:26 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] screen is not locked when suspend is activated by closing the lid]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=34139#p34139</link>
			<description><![CDATA[<p>Yes, you are right. It only turned out during testing that it has nothing to do with the function of xscreensaver, but with a display problem. <br />If I disable /etc/X11/xorg.conf.d/20-intel.conf, then the screen is not blacked out and the xscreensaver locking screen is not visible. See my post #8<br />Thanks for the tips on the display driver. But if I uninstall xserver-xorg-video-intel and modesetting_drv.so is loaded, then I have the same problem again. Maybe there is also an option needed for the modesetting driver?</p>]]></description>
			<author><![CDATA[dummy@example.com (devlan)]]></author>
			<pubDate>Sun, 23 Jan 2022 15:25:26 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=34139#p34139</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] screen is not locked when suspend is activated by closing the lid]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=34133#p34133</link>
			<description><![CDATA[<p>The DDX driver shouldn&#039;t affect the screensaver locking <img src="http://dev1galaxy.org/img/smilies/hmm.png" width="15" height="15" alt="hmm" /></p><p>And note that the recommendation is to remove xserver-xorg-video-intel and use X&#039;s builtin modesetting driver instead. The Intel version is known to be buggy, especially for modern chips.</p><p>Use Wayland to manage tearing. X is useless for that.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 23 Jan 2022 13:39:04 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=34133#p34133</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] screen is not locked when suspend is activated by closing the lid]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=34127#p34127</link>
			<description><![CDATA[<p>I was able to solve my problem with the following setting:</p><div class="codebox"><pre><code>lspci|grep VGA
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)</code></pre></div><p>Created /etc/X11/xorg.conf.d/20-intel.conf</p><div class="codebox"><pre><code>Section &quot;Device&quot;
  Identifier  &quot;Intel Graphics&quot;
  Driver      &quot;intel&quot;
  Option      &quot;TearFree&quot; &quot;true&quot;
EndSection</code></pre></div><p>Thanks a lot for your support!</p><p>Kind regards<br />Klaus</p>]]></description>
			<author><![CDATA[dummy@example.com (devlan)]]></author>
			<pubDate>Sun, 23 Jan 2022 11:17:40 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=34127#p34127</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] screen is not locked when suspend is activated by closing the lid]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=34117#p34117</link>
			<description><![CDATA[<p>I don&#039;t know if this is helpful:</p><div class="codebox"><pre><code>$ dpkg -l |grep input
ii  libinput-bin                         1.16.4-3                               amd64        input device management and event handling library - udev quirks
ii  libinput10:amd64                     1.16.4-3                               amd64        input device management and event handling library - shared library
ii  libxcb-xinput0:amd64                 1.14-3                                 amd64        X C Binding, xinput extension
ii  xinput                               1.6.3-1                                amd64        Runtime configuration and test of XInput devices
ii  xserver-xorg-input-libinput          0.30.0-1                               amd64        X.Org X server -- libinput input driver

$ dpkg -l |grep evdev
ii  libevdev2:amd64                      1.11.0+dfsg-1                          amd64        wrapper library for evdev devices</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 22 Jan 2022 22:18:41 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=34117#p34117</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] screen is not locked when suspend is activated by closing the lid]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=34116#p34116</link>
			<description><![CDATA[<p>Hello and thank you for the settings.</p><p>I think it is a different problem. If I set the settings as you suggested, then the screen does not respond to input after the lid is opened again.<br />I see the screen with all programs open, but I can&#039;t make any input. I notice that I can only move the mouse in a very small rectangular area in the middle of the screen.<br />I then noticed that the area is the same size as the xscreensaver window, which is the unlock screen. Only that it is not visible. If I then &quot;blindly&quot; enter my password, the screen gets unlocked.</p><p>Who has an idea what else I could check, why the screen does not go black and the xscreensaver unlock screen is not visible?</p><p>Many thanks!<br />Klaus</p>]]></description>
			<author><![CDATA[dummy@example.com (devlan)]]></author>
			<pubDate>Sat, 22 Jan 2022 18:38:12 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=34116#p34116</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] screen is not locked when suspend is activated by closing the lid]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=34115#p34115</link>
			<description><![CDATA[<p>xscreensaver is installed and set to run in the desktop&#039;s startup applications. It is disabled in the Screensaver settings.<br />xfce4-power-manager is set to suspend on lid closing. It is not set to lock the screen.</p><p>Closing lid puts computer into suspend and locks the screen. When I raise the lid, I get the xscreensaver login screen.</p><p>This is in Chimaera.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 22 Jan 2022 16:21:40 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=34115#p34115</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] screen is not locked when suspend is activated by closing the lid]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=34114#p34114</link>
			<description><![CDATA[<p>when i uninstall xscreensaver, the screen is not locked at all. Could it be that you have installed another package that locks the screen?</p>]]></description>
			<author><![CDATA[dummy@example.com (devlan)]]></author>
			<pubDate>Sat, 22 Jan 2022 16:11:44 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=34114#p34114</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] screen is not locked when suspend is activated by closing the lid]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=34112#p34112</link>
			<description><![CDATA[<p>I have xscreensaver disabled and let xfce4-power-manager handle suspend and lock when lid is closed.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 22 Jan 2022 15:57:10 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=34112#p34112</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] screen is not locked when suspend is activated by closing the lid]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=34111#p34111</link>
			<description><![CDATA[<p>Hello,</p><p>thanks for your reply!</p><p>the package xfce4-screensaver as mentioned in the post is not present on my system and cannot be installed. The existing version of xfce4 uses xscreensaver as a screen lock.</p><p>Kind regards,<br />Klaus</p>]]></description>
			<author><![CDATA[dummy@example.com (devlan)]]></author>
			<pubDate>Sat, 22 Jan 2022 15:00:29 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=34111#p34111</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] screen is not locked when suspend is activated by closing the lid]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=34107#p34107</link>
			<description><![CDATA[<p>See <a href="https://www.linuxquestions.org/questions/slackware-arm-108/elogind-session-locking-4175689644/#post6214885" rel="nofollow">https://www.linuxquestions.org/question … ost6214885</a> — is that setting enabled for the screensaver?</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sat, 22 Jan 2022 11:50:26 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=34107#p34107</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] screen is not locked when suspend is activated by closing the lid]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=34078#p34078</link>
			<description><![CDATA[<p>Maybe the developers can provide a way for pre/post hooks for the devuan version of elogind?</p>]]></description>
			<author><![CDATA[dummy@example.com (devlan)]]></author>
			<pubDate>Fri, 21 Jan 2022 14:59:42 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=34078#p34078</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] screen is not locked when suspend is activated by closing the lid]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=34069#p34069</link>
			<description><![CDATA[<p>Hello,</p><p>if the laptop lid is closed, then the laptop is put into standby mode, but the screen is not locked. I.e. after opening the lid, the screen is not locked.</p><p>But when the standby button is pressed, the screen is locked and the laptop goes into standby mode.<br />Could this be a bug in elogind, which does the job of monitoring lid closure?</p><div class="codebox"><pre class="vscroll"><code>~$ cat /etc/devuan_version 
chimaera

~$ xfconf-query -c xfce4-power-manager -l -v
/xfce4-power-manager/brightness-switch                  0
/xfce4-power-manager/brightness-switch-restore-on-exit  1
/xfce4-power-manager/critical-power-action              3
/xfce4-power-manager/inactivity-on-battery              46
/xfce4-power-manager/inactivity-sleep-mode-on-battery   1
/xfce4-power-manager/lid-action-on-ac                   1
/xfce4-power-manager/lid-action-on-battery              1
/xfce4-power-manager/lock-screen-suspend-hibernate      true
/xfce4-power-manager/logind-handle-lid-switch           true
/xfce4-power-manager/power-button-action                3
/xfce4-power-manager/show-tray-icon                     false

~$ xfconf-query -c xfce4-session -l -v
/general/FailsafeSessionName          Failsafe
/general/LockCommand                  
/general/PromptOnLogout               false
/general/SessionName                  Default
/sessions/Failsafe/Client0_Command    &lt;&lt;UNSUPPORTED&gt;&gt;
/sessions/Failsafe/Client0_PerScreen  false
/sessions/Failsafe/Client0_Priority   15
/sessions/Failsafe/Client1_Command    &lt;&lt;UNSUPPORTED&gt;&gt;
/sessions/Failsafe/Client1_PerScreen  false
/sessions/Failsafe/Client1_Priority   20
/sessions/Failsafe/Client2_Command    &lt;&lt;UNSUPPORTED&gt;&gt;
/sessions/Failsafe/Client2_PerScreen  false
/sessions/Failsafe/Client2_Priority   25
/sessions/Failsafe/Client3_Command    &lt;&lt;UNSUPPORTED&gt;&gt;
/sessions/Failsafe/Client3_PerScreen  false
/sessions/Failsafe/Client3_Priority   30
/sessions/Failsafe/Client4_Command    &lt;&lt;UNSUPPORTED&gt;&gt;
/sessions/Failsafe/Client4_PerScreen  false
/sessions/Failsafe/Client4_Priority   35
/sessions/Failsafe/Count              5
/sessions/Failsafe/IsFailsafe         true
/shutdown/LockScreen                  true</code></pre></div><p>Thank you!</p><p>Kind regards<br />Klaus</p>]]></description>
			<author><![CDATA[dummy@example.com (devlan)]]></author>
			<pubDate>Fri, 21 Jan 2022 13:12:04 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=34069#p34069</guid>
		</item>
	</channel>
</rss>
