Peak homelabbing
-
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
-
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-logind
If 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'
put it in /etc/systemd/logind.conf.d/nosleep.conf so that updates can't ever undo this
-
See I would have more problems with cats chilling on the keyboard than folks closing the lid or unplugging it
It could be worse. I do not want to have to clean a hairball out of a keyboard ever again. (At least it was a desktop keyboard, so applying water was an option. I don't want to even think what would have been needed to clean a similarly soiled laptop.)
-
Disable sleep-on-lid-closed.
It's probably to prevent overheating.
Why is it just sitting on the carpet though?
-
It's probably to prevent overheating.
Why is it just sitting on the carpet though?
To prevent underheating, they're going for a medium laptop.
-
This post did not contain any content.
Man when I was a kid I ran a runescape private server for anywhere within 20-100 people at a time, and for the first few weeks users reported a lot of downtime, which didn't make sense to me as whenever I tried to login it was totally fine!!
Eventually figured out closing my laptop lid put the laptop to sleep and scraped together some chore money for a VPS lol
-
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
-
Not how heat works.
If you're trying to heat your home, every electronic device becomes 100% efficient. All its "waste" heat becomes wanted heat. That it might only be 40W of heat is not the point.
Heat pumps can actually be over 100% efficient if you’re measuring it based on heat produced. Because heat pumps aren’t designed to produce heat; They’re designed to move it around via refrigerant. And if you can use 1w of energy to soak up and bring in 3w of heat, you’re now 300% efficient.
So by that metric, a server would be a “bad” heater. It would still contribute to your heating, but not as much as a heat pump would. It doesn’t mean the device is below 100% efficient, it just means the bar for “good” heaters is much higher than 100%.
-
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, 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.
-
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
-
You should be able to deactivate shutdown or sleep mode on lid closure with some commands.
I have the lid closed, yes. I wasn't aware that there could be a reason to choose to keep it open
-
Take out the lid-close sensor and use it in a side project that requires a proximity sensor.
I had a dell latitude for my first server. even when I removed the magnets, some how it still would detect that the kid was closed and turn off. I tried everything I could think of and more, without any luck. the solution? I removed the display entirely so it couldn't be closed and only used it via ssh or a VGA monitor if I really needed it.
-
To prevent underheating, they're going for a medium laptop.
Medium-well, more like.
-
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
-
technically yes. usually proximity sensor is used to mean IR or sonic sensors and I read in that sense.
I see.
I used "proximity sensor" because I didn't know what these sensors use and didn't want to worry about it while writing that comment. -
I had a dell latitude for my first server. even when I removed the magnets, some how it still would detect that the kid was closed and turn off. I tried everything I could think of and more, without any luck. the solution? I removed the display entirely so it couldn't be closed and only used it via ssh or a VGA monitor if I really needed it.
I removed the magnets
I have an older ASUS ROG laptop in which the sensor is a separate PCB (less than a thumb in size) connected using a few IDC pins.
It could simply be taken off and I haven't even opened the monitor frame yet. -
This post did not contain any content.
classic meme.
-
This post did not contain any content.
In college I used to see “RENDERING!” Taped to monitors
(3d rendering)
-
This post did not contain any content.wrote last edited by [email protected]
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).