This laptop is secretly downloading scientific papers behind a paywall to release them on the public internet. Sadly, the owner will be prosecuted unfairly and threatened with unreasonable punishment.
Remember Aaron.
RIP
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-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'
Thanks, but honestly, a simple cat <file> would be more helpful than a sed line. I mean, who reads sed lines?
but my keyboard is a heatsink…
put it in /etc/systemd/logind.conf.d/nosleep.conf so that updates can’t ever undo this
OMG, Y500 ? Mine is still running after 13 years!
Lenovo made some kickass computers back then.
I instantly recognized it too! Mine got stolen. I loved mine.
I think that’s a Y510p. This was the machine that made me think Lenovo knew what they were doing and were the true successors to IBM, for laptops at least.
This machine was released right before the gaming laptop age really kicked off, so its paltry GT750(M! Sometimes two of them) was about as good as it got outside of a sketchy DTR from a company you’ve never heard of. Only a few years later did the standard go way up for gaming laptop performance, with everyone and their dog getting an Nvidia 1050/1060/1070 machine.
But I really liked the Y500/Y510. Serious design that made it look like a thick business laptop with polished black surfaces and cool red key edges vs gaudy RGB sludge with LOOK AT ME I AM EPICLY GAMERING all over it. I kind of wish they kept this design style.
Oh well. Tongfang has my back now.
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.)
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.
Sure, it’s part of windows settings under power management.
Same with Linux!
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.
Yes usually it’s the OS that handles it and it can be set to ignore the lid detection.
I did it for a while. Also removed the battery so it doesn’t start swelling
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…
We don’t know that it’s directly on the carpet. When i want to put my thinkpad on a soft surface I use the Beano annual as a handy intermediate layer (other A4 hardbacks are available).
Which is exactly why it overheats so quickly when they close the lid.
Let’s face it, the place using a laptop on the floor with a paper sign probably doesn’t have the budget for real sysadmins. At the same time, most real sysadmins know to disable the lid-closing behavior and get the laptop off of the carpet because they’ve been foiled in their past by people who refused to read the goddamn paper sign.
Sadly, I’ve actually seen a couple model laptops that were designed with one of the fan vents right above the keyboard, and only ventilated when the screen is open. VERY piss poor design, but yeah those do exist…
Example: https://i.redd.it/wcp4rm5o7u7a1.jpg
So OOP is just in the pre-sysadmin stage
They have the budget for printer ink tho
Or a local library and $0.10
Right on. This fellow libraries. :D
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
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 😬
you see ivan, server is much happier when comfortable on carpet, you can tell it wams its heart
Same here. I ran a kitchen server precisely like that (minus the sign) - - but on a carpet?
(as another commenter said: even if you just moved in, you put it on a box or something)
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…
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 could put the laptop on a box
Yeah. That one triggered me.
And the lid is not open because of preventing it sleeping, but rather to cool it down
Yes! Very important!
I remember it being a bit trendy to turn old laptops into desktops by just unplugging the display and plugging peripherals into them, but people were finding that the keyboard actually was designed as another heat escape, so running them with the lids closed wasn’t so great!
There’s people who gut them and build a nice wood-and-allu mini-pc (not me, too lazy, would order a case).
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
Disable sleep-on-lid-closed.
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.
Medium-well, more like.
Take out the lid-close sensor and use it in a side project that requires a proximity sensor.
isn’t it Hall sensor?
I might/might not be one.
But it definitely is a proximity sensor. Unless yours is an Apple device, in which case, it might be an angle sensor.
The term “Hall sensor” would refer to the tech used in it, whereas the term “proximity sensor” refers to its function.
It could be using any other proximity sensing technique too and it would still be a proximity sensor.technically yes. usually proximity sensor is used to mean IR or sonic sensors and I read in that sense.
On thinkpads it is, there is a magnet on the bottom.
If the Dexter actor is near it, the screen goes off
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.
which one of you took a picture of my jellyfin server?
Is this that thin little block holding up the Internet?
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 it’ll be the most reliable server you own
Well, for one it’s got a built-in UPS… Too bad for the storage connectivity tho
TIL: maybe my local laptop-server shouldn’t have the lid closed. Probably not gonna change my ways, though. What an inconvenience that’d be
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