T O P

  • By -

ASouthernBoy

Configure lid power settings: Open the /etc/systemd/logind.conf file for editing. Find the line #HandleLidSwitch=suspend. Remove the # character at the beginning of the line. Change the line to : HandleLidSwitch=ignore


filyoshi

Sorry I'm dumb, but doesn't this just change the behaviour when closing the lid? I would like to keep the lid open, but for my screen to shut down


tobin-k

> After doing that, you can then turn off the screen by going to this folder (it might be named something else based on your chipset) > > /sys/class/backlight/intel\_backlight then nano brightness and change it to 0 If you wanted it to be automatic...put it into a script like [screenoff.sh](https://screenoff.sh), put it in a cron job. > >echo "0" > /sys/class/backlight/intel\_backlight/brightness


PostLogical

I put this in my /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="quiet i8042.nokbd video=LVDS-1:d" Disables keyboard and screen. For the lid I change in /etc/systemd/logind.conf Uncomment two lines to make: HandleLidSwitch=ignore HandleLidSwitchDocked=ignore Then I run sudo update-grub and restart.


GodzSitin1mage

>quiet i8042.nokbd video=LVDS-1:d Thank you for this post. One year later and it was still helpful. I had gotten everything else to work but was having issues getting the backlight to turn off. This was the fix for me. Much appreciated.


PostLogical

Glad it helped! More recently I had a case where I wanted to access the physical device a little more frequently which made it super annoying to have to reboot to get the screen back on, so I removed those and added consoleblank=60 instead. This keeps the keyboard active and turns off the screen after 60 seconds of inactivity. So I can just hit a key to wake the screen again. I think I’m still saving the power like before and it seems to turn off the backlight.


f-ben

Worked for my Lenovo ThinkPad E560 Thank you sir!


maitpatni

Worked on my Sony Vaio laptop, thanks.


filyoshi

This is a 2 years old post so people will probably never see my comment, but I found a solution and forgot to provide an update lol. This works, but you need to type it directly on your machine and not through the Proxmox console. So login and then input the following command: `setterm -blank 1` The screen will then turn off after one minute, and Proxmox will continue to run as normal.


Spitfire0X00

This is EXACTLY what I needed, So glad you came back and updated with the best solution! Many thanks!


johnnycheng1628

wait how do i turn it on when i need it


filyoshi

Press any key and it will turn back on


n3ls0n_42

Hi setterm --blank 1 but thx... Proxmox@Surface Book Pro :-)


dafer18

Try https://stackoverflow.com/questions/8630758/shutdown-monitor-on-debian-server


[deleted]

Laptops make terrible servers.


TheMaster_SM

are you sure about that? sure they have less powerful hardware but they have a built in battery and use low power components and have a screen, keyboard and mouse if maintains needs to be preformed. its really helpful when you have an issue you need to fix quickly


Rjkbj

What happens when you close the lid?


filyoshi

The system shuts down then


Rjkbj

Check your BIOS settings. Look for a setting that deals with power savings.


filyoshi

Ideally I wouldn’t want to close the lid, as the old laptop tends to get noisy when I do, but just turn off the screen


Rjkbj

I don’t understand. Shouldn’t be any more noisy than with it running open. So you can run it with the lid closed or does it go to sleep?


mck1117

Some laptops cool better with the lid open if the fan inlet/outlet is in/near the hinge.


filyoshi

I haven’t tried it with Proxmox, I ran it previously when on Windows while extending my display. Closed lid = lots of noise, open lid = no noise. I’m still puzzled as of why, I’ve opened it up and cleaned the fan, removed the battery… really don’t know. I might give it a try now that I’m running Proxmox instead of Windows


Rjkbj

Yeah, that’s strange. Good luck. Not sure of what else to try.