• Ferk@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    51 minutes ago

    I mean, in the Linux terminal you can literally do anything a computer can do. You can play with your PC speaker with beep, dim your screen with brightnessctl, etc. Why would you assume there wasn’t a command for suspending? :P

    You can also use rtcwake and program the PC to come back from suspension automatically at a certain time… I used to set up my small laptop with music to wake up with it as a morning alarm.

  • 0xf@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    8 hours ago

    You can echo ‘mem’ > /sys/power/state as root to suspend. Or echo sleep into the file for hibernate.

  • sepi@piefed.social
    link
    fedilink
    English
    arrow-up
    71
    arrow-down
    7
    ·
    20 hours ago

    You have the systemd haters to thank for this one. They have wasted so much time talking shiz about a system they did not want to understand and downvoting folks posting about stuff they use. Next time you find something else useful in systemd and wonder “How come nobody told me?”, know that we tried and got drowned out by the cool kids.

    • interdimensionalmeme@lemmy.ml
      link
      fedilink
      arrow-up
      10
      arrow-down
      2
      ·
      17 hours ago

      I understand the concerns about blobbification of all these system into a technical monolith that you have to swallow whole or not at all, that you can’t really break down into it’s individual components. So if the thing you need isn’t in there, you have to chuck the entire systemd thing and switch back to SysV

      However, I quite like systemd so far… except for having dozens of processes, that’s not super chill to have so much stuff I don’t use running but OK, convenient.

      At least it’s not like Wayland, that we have been forced into while it was barely working, and still today it’s only kinda working with lot lot lots of non-working stuff and mega jank stuff while now X11 is rotting and dying. So we’re stuck with half-dead half-lobotomized graphics system… I hope they eventually get their shit together and I wish they would have made wayland working before killing X11.

      • hendrik@palaver.p3x.de
        link
        fedilink
        English
        arrow-up
        5
        ·
        8 hours ago

        And Linux has quite some pragmatic people as well, first of all Linus Torvalds himself, who has kind of a down-to-earth approach towards ideology.

        I’ve not yet talked to a SystemD hater in real life, that seems to be more predominant between random people on the internet.

        • frongt@lemmy.zip
          link
          fedilink
          arrow-up
          4
          ·
          3 hours ago

          Most people also don’t talk about init systems in real life.

          I have, though, I was asked my opinion on systemd during a job interview. The interviewer didn’t give much of their own opinion but it was obvious.

          • hendrik@palaver.p3x.de
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            3 hours ago

            Lol. I suppose it’s a promising way to learn how someone thinks and reacts, see if they’re focused on solving issues or focused on drama… And how deep they are into Linux lore. And whether they understand it or parrot someone else’s talking points.

            Idk. I rarely have long nerd discussions, but once I’m done with the latest Star Trek show, I occasionally ask people about their stance on SystemD, some instant messenger or whether we should stick to C99. And either we skip that, or maybe I’ll hear some interesting, unique perspective shaped by what they do.

  • paequ2@lemmy.today
    link
    fedilink
    arrow-up
    22
    ·
    20 hours ago

    Is systemctl suspend different than closing the lid or clicking “sleep” on your DE’s power menu?

    • basiclemmon98@lemmy.dbzer0.comOP
      link
      fedilink
      arrow-up
      19
      ·
      edit-2
      20 hours ago

      No, it’s not different, I just use Arch and have no power menu anymore, nor did I usually close my laptop lid while I was still planning to use it. I usually just powered it down fully because it used to start very fast, but I think the laptop bios battery is dying or something, because it turns on much slower now than it did before. So finding the actual command that triggers the suspend state was so epic, because I can script and bind it now.

      • mina86@lemmy.wtf
        link
        fedilink
        English
        arrow-up
        21
        arrow-down
        4
        ·
        18 hours ago

        I just use Arch

        You have only yourself to blame then. You’ve chosen a distribution which expects users to learn how the system works and it’s on you to figure out how to suspend the system.

        I think the laptop bios battery is dying

        This is unlikely. If the battery was dying, you’d be loosing BIOS/UEFI settings including time. Once the computer starts up, the battery is unused.

        • oeuf@slrpnk.net
          link
          fedilink
          arrow-up
          19
          ·
          17 hours ago

          “I take full responsibility for my Arch install” is one of my favourite lines from a linux youtuber.

        • basiclemmon98@lemmy.dbzer0.comOP
          link
          fedilink
          arrow-up
          9
          ·
          edit-2
          17 hours ago

          Yes, that’s why I chose the distro I chose, and why this was not a serious post were I was actually upset, I enjoy learning and reading, I just wanted to make a post about suspend bc it has made me happy. I am also aware the bios battery does nothing once it’s booted, once it’s booted the performance is the same as it has always been. So I assumed the cmos battery is dying, but not dead enough to lose settings yet.

          • ferret@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 hours ago

            The CMOS battery only maintains the data in the bios’ volatile memory and runs the RTC when the system has no power, it is completely out of the picture when data is being read from said volatile memory.

          • mina86@lemmy.wtf
            link
            fedilink
            English
            arrow-up
            8
            arrow-down
            1
            ·
            15 hours ago

            I am also aware the bios battery does nothing once it’s booted

            The CMOS battery does nothing from the moment computer is turned on. If you’re saying booting takes longer, that’s not battery’s fault.

            So I assumed the cmos battery is dying, but not dead enough to lose settings yet.

            That’s not how CMOS battery work. It’s even good enough or you’re loosing the clock.