People arguing about lid closing when clearly the biggest sin is a laptop on a carpet. Please put a hard surface under to stop it hoovering up all dust and particles possible and having appalling airflow
post
why the lid thing tho? you can just disable lid detection and it'll not suspend even after closing.
Makes me think of the time I was running a stripped down laptop motherboard as a server for a while. Was given a laptop with a broken screen, but it had a wired NIC, so I pulled the screen off, along with any other component that wasn't necessary, and shoved it behind a TV where it was close to the router. Ran on that thing for years before being able to afford better equipment.
An underrated feature of the laptop server: built-in UPS!
Some laptops vent the hot air in a way that's blocked if the lid is closed.
You could remove the laptop screen like I did with my home server. Although you'll have to put it very close to the router to get a WiFi signal afterwards.
You can get an external antenna and run it to the wifi card. I did that with my beelink mini desktop because the wifi antenna was garbage.
Why would u do that other than maybe saving space? Leaving it open would have been easier and the same thing.
The screen was broken so it was just wasting space. It also made it easier to move around because I had to close the lid to slide it in place then open the lid so it gets airflow.
Fair enough if it's broken.
Personally, I'd live with the (small) hassle of having the screen attached (in general), because being able to use it still could be a life saver one day (and in such cases, having to reattach a screen or plug into another external one if possible would be way more annoying).
considering it's sitting on carpet, I doubt ventilation has been a priority.
makes sense. thinking again, i think my old macbook also did that..
Do you think that people that are using a laptop as a server know how to do that?
Disable suspend when the laptop lid is closed on a systemd-based GNU/Linux system:
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'
sir this is a shitpost
Came here to say this. All three of the major desktop operating systems have built-in controls to ignore the closing of the lid. Being forced to keep the lid open to keep a laptop on is a rookie workaround.
I'm using a crappy HP mini PC from 2016 with just 4GB of RAM and it runs my Nextcloud with Talk that I use instead of Discord. The most limiting factor is actually my internet connection... Only 8 megabits of upload only gets you so far (it used to be 20 megabits but my ISP screwed me over)
don't gatekeep 😑 maybe that laptop is running windows 11 with teamspeak on it and a buggy video driver
Incase it is running teamspeak server, you can fix that bug by setting up a mumble server instead.
HOW DARE THEY HAVE A USE CASE THAT YOU DON'T APPROVE OF, OH ARBITER OF TRUTH AND JUSTICE IN THE MATTER OF SERVERS!
Probably, but this is much less janky than some 100% critical to the business infrastructure that I've personally witnessed in data centers.
Funfact: not all windows laptops let you choose what happens when you close the lid.
My previous laptop had options for shut down, sleep and hibernate. And if you wanted none of those, you could go fuck yourself (or install not-windows, which didn't work for the shitty niche software I need)
Control Panel > Power Options > Change What Closing the Lid Does > (there is no option to change what closing the lid does)
This is Windows ableism. Just because your computer works with Windows doesn't mean everyone's computer works well with Windows.
Rather than snark, maybe offer some helpful pointers, or even ask if there's a reason for it?
Tent mode. Better air flow; no lid closing.
definition of gatekeeping and immeasurably destructive to any community, real or online
I have my lidswitch disabled on my Debian server, but if it's not open the MacBook won't boot.
Fuck off, let people enjoy things. The idea that you need to be knowledgeable in something before trying it is an unnecessary hurdle to just play around with things and learn
top 59 comments