not turning off going to sleep when lid closed
Rookie maneuver.
Could be an overheating concern maybe. Some laptops weren’t designed to run with the lid closed, if it inhibits the air flow.
As right as that might be, it’s on carpet!
I don’t believe they put much thought into airflow and overheating…
I can’t tell for sure, but it looks like a Lenovo y510p. Or at least it looks very similar to the one I owned back in the day.
There was a vent in the hinge, and these things would absolutely cook themselves with the lid closed
I’m currently using a y510p as a home lab. Every update resets the shutdown-on-lid-close setting. Had to set up a cron job to re-disable it on boot.
I’m pretty sure there is a regular systemd config option for that
I also have a laptop working as a server. The problem is that the WiFi antenna is in the lid and it just doesn’t work well when the lid is closed
It’s still better to have a server like that run hot for a while before someone who knows what up can open it back rather than allowing someone to just walk up, accidentally close it, and shut everything down. If your laptop is mission critical, no sleep when closed needs to be on
On carpet 😬
if you just moved in, server comes first, then a mattress, then the rest of the furniture
The laptop could have setup to not sleep on close and could have been laying closed, screen on the ground. Also it would have provided completely unrestricted airflow to the fan…
…but then the sign would have affected the airflow…
This is the best compromise until mom visits and steps on it.
I have killed two laptops by stepping on them. Is this a sign?
… Mum?
you see ivan, server is much happier when comfortable on carpet, you can tell it wams its heart
Yeah. That one triggered me.
I mean, literally just lean it against the wall, at the very least…
With a risk of falling hard drives and such? I’m not doing that…
And the lid is not open because of preventing it sleeping, but rather to cool it down
But it looks like it’s sitting on carpet which would definitely block the vents
Truee, didn’t see that. But generally just wanted to add to the vibe of these laptop hosters
The more I look at it, maybe it’s hard flooring. Lol
which one of you took a picture of my jellyfin server?
Lol, reminds me of my old setup.
It was all old W98 laptop that I got used. I installed xunbuntu on it back when it first came out in 2006. It sat on my desk, open like that with a bit of tape over to hold the power cord because it was loose. The battery was completely dead.
It was the server I used to host all the modded maps I made for a silly little tank game. Thing ran seemlessly only going down when the power went out or somebody juggled the power cord for 5 years.
Wow five years is a long time to juggle something
Disable suspend when the laptop lid is closed:
sudo sed -i 's/#HandleLidSwitch=suspend/HandleLidSwitch=ignore/g' /etc/systemd/logind.conf sudo sed -i 's/#HandleLidSwitchExternalPower=suspend/HandleLidSwitchExternalPower=ignore/g' /etc/systemd/logind.conf sudo systemctl restart systemd-logindIf you are in a TTY, you can blank the screen before closing the lid to prevent burn-in. After running this, come back later and press a key to turn the screen on again.
alias blankscreen='setterm --blank=force; read ans; setterm --blank=poke'but my keyboard is a heatsink…
put it in /etc/systemd/logind.conf.d/nosleep.conf so that updates can’t ever undo this
My server is a loose motherboard with a loose PSU, thrown into the living room TV rack, which I leave open for cooling. It’s a repurposed (free) Athlon, DDR2. I only use it for smb and git backups, and project sharing between my desktop and laptop. What amazes me most is my IT coworkers don’t find that a perfectly acceptable scenario.
That free computer is going to cost you a lot on your electric bill.
Not really, electricity is pretty cheap when you live right beside the largest hydro plant in South America.
Closing lid goes brrr
classic meme.
I have a minecraft server running on an old chromebook which I installed arch on, though I made sure it stays on when the lid is closed (screen still turns off).
Serious question that I’ve wondered about but never worked on.
Can you rig a laptop to keep running with the lid closed? Either by software or hardware? I guess you could cut the switch, but an OS-based solution would be neater.
Yes, easily. Most OSes let you do that.
In some cases, is a bios setting also.
Yes, in most OSes it’s just a setting you can toggle. But even if you can, you may want to leave it open for cooling. Lots of laptops are barely cooled enough to support themselves, and will often rely on radiating heat out of the case as a form of passive cooling. And even when the screen is open, they still struggle to stay cool. Closing the lid often makes these cooling issues much worse.
Genius









