Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. Peak homelabbing

Peak homelabbing

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
81 Posts 59 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q [email protected]
    This post did not contain any content.
    jcs@lemmy.worldJ This user is from outside of this forum
    jcs@lemmy.worldJ This user is from outside of this forum
    [email protected]
    wrote last edited by [email protected]
    #29

    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'

    G M W 3 Replies Last reply
    4
    • I [email protected]

      Yes, easily. Most OSes let you do that.

      ripcord@lemmy.worldR This user is from outside of this forum
      ripcord@lemmy.worldR This user is from outside of this forum
      [email protected]
      wrote last edited by
      #30

      In some cases, is a bios setting also.

      1 Reply Last reply
      0
      • S [email protected]

        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.

        bdonvr@thelemmy.clubB This user is from outside of this forum
        bdonvr@thelemmy.clubB This user is from outside of this forum
        [email protected]
        wrote last edited by
        #31

        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

        1 Reply Last reply
        3
        • S [email protected]

          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.

          M This user is from outside of this forum
          M This user is from outside of this forum
          [email protected]
          wrote last edited by
          #32

          Sure, it's part of windows settings under power management.

          endymion_mallorn@kbin.melroy.orgE 1 Reply Last reply
          3
          • Q [email protected]
            This post did not contain any content.
            typewar@infosec.pubT This user is from outside of this forum
            typewar@infosec.pubT This user is from outside of this forum
            [email protected]
            wrote last edited by
            #33

            And the lid is not open because of preventing it sleeping, but rather to cool it down

            M O 2 Replies Last reply
            31
            • M [email protected]

              Sure, it's part of windows settings under power management.

              endymion_mallorn@kbin.melroy.orgE This user is from outside of this forum
              endymion_mallorn@kbin.melroy.orgE This user is from outside of this forum
              [email protected]
              wrote last edited by
              #34

              Same with Linux!

              1 Reply Last reply
              3
              • Q [email protected]
                This post did not contain any content.
                T This user is from outside of this forum
                T This user is from outside of this forum
                [email protected]
                wrote last edited by
                #35

                See I would have more problems with cats chilling on the keyboard than folks closing the lid or unplugging it

                N 1 Reply Last reply
                1
                • Q [email protected]
                  This post did not contain any content.
                  S This user is from outside of this forum
                  S This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #36

                  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.

                  1 Reply Last reply
                  28
                  • jcs@lemmy.worldJ [email protected]

                    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'

                    G This user is from outside of this forum
                    G This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #37

                    but my keyboard is a heatsink...

                    1 Reply Last reply
                    2
                    • S [email protected]

                      Could be an overheating concern maybe. Some laptops weren't designed to run with the lid closed, if it inhibits the air flow.

                      M This user is from outside of this forum
                      M This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #38

                      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

                      zourn@lemmy.worldZ 1 Reply Last reply
                      11
                      • C [email protected]

                        That free computer is going to cost you a lot on your electric bill.

                        M This user is from outside of this forum
                        M This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #39

                        Not really, electricity is pretty cheap when you live right beside the largest hydro plant in South America.

                        1 Reply Last reply
                        1
                        • E [email protected]

                          if you just moved in, server comes first, then a mattress, then the rest of the furniture

                          O This user is from outside of this forum
                          O This user is from outside of this forum
                          [email protected]
                          wrote last edited by
                          #40

                          You could put the laptop on a box

                          1 Reply Last reply
                          0
                          • B [email protected]

                            OMG, Y500 ?
                            Mine is still running after 13 years!

                            Lenovo made some kickass computers back then.

                            S This user is from outside of this forum
                            S This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #41

                            I instantly recognized it too! Mine got stolen. I loved mine.

                            1 Reply Last reply
                            0
                            • G [email protected]

                              Even in winter, it's terrible compared to a heat pump or (probably) directly burning gas or wood.

                              D This user is from outside of this forum
                              D This user is from outside of this forum
                              [email protected]
                              wrote last edited by
                              #42

                              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.

                              G M 2 Replies Last reply
                              0
                              • typewar@infosec.pubT [email protected]

                                And the lid is not open because of preventing it sleeping, but rather to cool it down

                                M This user is from outside of this forum
                                M This user is from outside of this forum
                                [email protected]
                                wrote last edited by
                                #43

                                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!

                                M 1 Reply Last reply
                                8
                                • darkassassin07@lemmy.caD [email protected]

                                  Or a local library and $0.10

                                  M This user is from outside of this forum
                                  M This user is from outside of this forum
                                  [email protected]
                                  wrote last edited by
                                  #44

                                  Right on. This fellow libraries. 😄

                                  1 Reply Last reply
                                  0
                                  • D [email protected]

                                    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.

                                    G This user is from outside of this forum
                                    G This user is from outside of this forum
                                    [email protected]
                                    wrote last edited by [email protected]
                                    #45

                                    Every electronic device is 100% efficient after the electricity has already been generated and delivered, sure, but a bunch of efficiency losses occurred before that. If you're comparing methane burned on-site in a furnace to methane burned at a power plant, transmitted to the site as electricity, and then used for electric resistance heating, burning on-site is gonna be better even if the furnace loses more heat up the chimney than the power plant does.

                                    Also, a heat pump is "300%-500% efficient" in the sense that it moves 3x-5x as much heat as it uses. See also: https://en.wikipedia.org/wiki/Coefficient_of_performance

                                    1 Reply Last reply
                                    1
                                    • B [email protected]

                                      OMG, Y500 ?
                                      Mine is still running after 13 years!

                                      Lenovo made some kickass computers back then.

                                      G This user is from outside of this forum
                                      G This user is from outside of this forum
                                      [email protected]
                                      wrote last edited by
                                      #46

                                      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.

                                      1 Reply Last reply
                                      2
                                      • F [email protected]

                                        On carpet 😬

                                        a_norny_mousse@feddit.orgA This user is from outside of this forum
                                        a_norny_mousse@feddit.orgA This user is from outside of this forum
                                        [email protected]
                                        wrote last edited by [email protected]
                                        #47

                                        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)

                                        1 Reply Last reply
                                        1
                                        • Q [email protected]
                                          This post did not contain any content.
                                          M This user is from outside of this forum
                                          M This user is from outside of this forum
                                          [email protected]
                                          wrote last edited by
                                          #48

                                          Disable sleep-on-lid-closed.

                                          U I 2 Replies Last reply
                                          37
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups