<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">from xfce4-power-manager on Xfce 4.16
      (Xubuntu 21.10):<br>
      <br>
      <img src="cid:part1.E1O0Jfln.rfoBpfOZ@nigge.rs" alt=""><br>
    </font><br>
    <div class="moz-cite-prefix">On 4/1/22 23:02, ToddAndMargo wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1312b339-c29c-365b-65cd-6fc9475eeb1a@zoho.com">
      <br>
      <blockquote type="cite">On Fri, Apr 1, 2022 at 12:08 PM
        ToddAndMargo <a class="moz-txt-link-rfc2396E" href="mailto:ToddAndMargo@zoho.com"><ToddAndMargo@zoho.com></a> wrote:
        <br>
        <blockquote type="cite">
          <br>
          Hi All,
          <br>
          <br>
          Fedora 35
          <br>
          Xfce 4.16
          <br>
          <br>
          I have a customer with a shiny new System 76 laptop.
          <br>
          How do I configure it to shutdown or suspend when
          <br>
          he closes the lid?
          <br>
          <br>
          Many thanks,
          <br>
          -T
          <br>
        </blockquote>
      </blockquote>
      <br>
      On 4/1/22 21:25, MR ZenWiz wrote:
      <br>
      > These settings should be in the xfce4 Power Manager settings
      app.
      <br>
      >
      <br>
      > HTH,
      <br>
      >
      <br>
      > Mark
      <br>
      >
      <br>
      <br>
      You would think.  But they are not.
      <br>
      <br>
      Apparently, Xfce uses
      <br>
           /etc/systemd/logind.conf
      <br>
           HandleLidSwitch=suspend
      <br>
      <br>
      which you have to configure manually, but I
      <br>
      do not know the proper settings.
      <br>
      <br>
      So far I only have it blanking out the monitor
      <br>
      when the lid closes, but it does not recover
      <br>
      when reopened, although the mouse and keybaord
      <br>
      works when I open the lid.  I have to
      <ctrl><alt><f2>
      <br>
      and do a reboot
      <br>
      <br>
      I have not tried:
      <br>
      <br>
         xfconf-query -c xfce4-power-manager -p
      /xfce4-power-manager/logind-handle-lid-switch -s false
      <br>
      <br>
      _______________________________________________
      <br>
      Xfce mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:Xfce@xfce.org">Xfce@xfce.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="https://mail.xfce.org/mailman/listinfo/xfce">https://mail.xfce.org/mailman/listinfo/xfce</a>
      <br>
      <a class="moz-txt-link-freetext" href="http://www.xfce.org">http://www.xfce.org</a><br>
    </blockquote>
    <br>
  </body>
</html>