hello i want this hibernate option like in opensuse/steam os when i try googling it i cannot find anything

    • PotatoesFall
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      5 months ago

      Last time I had openSUSE hibernation didn’t work. I am just convinced that the entire linux community is gaslighting me about hibernation lol

    • woelkchen@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      how come opensuse has that button

      Having that button doesn’t automatically result in that feature actually working. The development stakeholders don’t seem to be interested in it actually working other than chance and given that even Windows and macOS moved to “always connected” suspend instead of full sleep with hibernation, I don’t see a push for feature parity on the horizon (that’s why Windows laptops and more recently also MacBooks often cannot wake up because the battery is depleted). It’s really bad and IMO one of the few big problems to solve (at least on my Windows notebook because of its broken regular suspend, I can force it into hibernation).

      I had somewhat decent success making a swap file (not a partition):

      sudo fallocate --length 16600MiB /swapfile;sudo chmod 600 /swapfile;sudo mkswap /swapfile;sudo swapon /swapfile;sudo nano /etc/fstab

      Then add /swapfile swap swap defaults 0 0 the fstab file now open in Nano.