XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XCP-ng on a laptop - turning off the monitor

    Scheduled Pinned Locked Moved XCP-ng
    5 Posts 3 Posters 640 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • abudefA Online
      abudef
      last edited by abudef

      Hi,
      I installed XCP-ng 8.3 on a Dell Precision 7550 laptop. However, when I close the display lid, the display does not turn off. Anyone have any idea how to set the monitor to turn off? I have tried editing /etc/systemd/logind.conf (HandleLidSwitch...), but without success, I am unable to get the monitor to turn off.
      Regards,
      Abu

      P D 2 Replies Last reply Reply Quote 0
      • P Offline
        ph7 @abudef
        last edited by

        abudef
        setterm -blank 1
        display will be blanked after 1 minute
        i think it can work with -poweroff and -powerdown to

        abudefA 2 Replies Last reply Reply Quote 0
        • abudefA Online
          abudef @ph7
          last edited by

          Thanks ph7! I tried that, too. Unfortunately it only clears the screen content, but the monitor is still on, backlight active.

          I tried installing Windows 11 on the laptop, and there set it to do nothing when the lid is closed - not switch to sleep. Well, if I close the lid, the computer doesn't go to sleep, but the screen turns off (including the backlight). Same behaviour with Ubuntu 22.04.3 Linux. That's why I got the impression that it's somehow related to the system's reaction to the lid close sensor.

          1 Reply Last reply Reply Quote 0
          • abudefA Online
            abudef @ph7
            last edited by

            ph7 - Unfortunately, -poweroff and -powerdown don't seem to work 😞

            1 Reply Last reply Reply Quote 0
            • D Offline
              diznavis @abudef
              last edited by

              abudef
              I ran into the same thing on a dell latitude 5411, but I eventually found a workaround. In the BIOS under System Configuration there was an option called Unobtrusive Mode, and when enabled, a specific key combination will turn off the display and speakers, independent of the OS. The same key combination will then turn them back on when needed.

              While an automatic feature would be preferable, the manual option meets my needs since it would be rare to need to use the laptop screen. The one downside for me is that if power is lost long enough that the battery drains, the screen will need manual intervention after power is restored - the BIOS will turn the machine back on when it receives power, but won't put the screen back in its previous state.

              I put a sticker on the laptop with the key combination so I will remember it when needed.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post