• Ironfacebuster@lemmy.world
    link
    fedilink
    arrow-up
    64
    ·
    2 months ago

    Almost every time I restart my Windows PC from an update, it sits on the “closing apps screen” or “restarting” screen then gives up completely and I have to force it to shut down/restart

    And, just about every other time I restart with an update, it closes apps and then just fully shuts down after the update!

    It’s super graceful! 😭

    • MonkeMischief@lemmy.today
      link
      fedilink
      arrow-up
      24
      ·
      edit-2
      2 months ago

      EVERY TIME!!

      “A program is preventing Windows from shutting down”

      The program : A generic non-descript white box icon with no title.

      Clicking shutdown/restart anyway becomes standard procedure at this point.

    • 𝕸𝖔𝖘𝖘@infosec.pub
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      edit-2
      2 months ago

      “restarting” for 15 minutes. Then crashes. Now I have to reinstall updates and go through it all over again. I hate how crappy the windows update process has become.

      Except for the immutable versions I have, Linux almost never needs to reboot after an update. Upgrades, yes, but not standard updates. And even after upgrades, it just works [(except for one of the immutable versions I have)].

      I usually close all programs before shutting down / rebooting, anyway (a habit I picked up from Win95 days, where it would crash if programs prevented it from shutting down), so I don’t really feel this SIGKILL issues.

      • uis@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        I was doing my project while system updated itself from sources. Шindows should take notes here.

        And I’m not even talking about CRIU, where you can save entire progtam state on disk, reboot and restore it back in the state before reboot.

      • Shareni@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        Linux almost never needs to reboot after an update

        Doesn’t it often need a reboot to apply some updates?

        I rember reading something along those lines then I was researching why Fedora installs some updates after a reboot. Most

        • 𝕸𝖔𝖘𝖘@infosec.pub
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 months ago

          Fedora is the immutable I was referring to that does need to reboot. Linux Mint and OpenSuse only need to reboot after an upgrade. I’ve never had to reboot them after updates. Mileage may vary, of course, as different people have different software, tools, and libraries installed.

          • Shareni@programming.dev
            link
            fedilink
            arrow-up
            4
            ·
            2 months ago

            I was talking about regular fedora. It’s not that you have to reboot, but you don’t get to use those updates until you do. The most obvious example is updating the kernel and its modules.

            • 𝕸𝖔𝖘𝖘@infosec.pub
              link
              fedilink
              English
              arrow-up
              3
              ·
              2 months ago

              You’re correct. A kernel update would fall under the umbrella of a system upgrade, where the system needs to shut down to allow underlying components to be reloaded.

          • Vilian@lemmy.ca
            link
            fedilink
            arrow-up
            2
            ·
            2 months ago

            to be fair, fedora downloads and apply the update before reboot, windows download, apply and then reboot, that’s why it take so much time

            • 𝕸𝖔𝖘𝖘@infosec.pub
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 months ago

              Right, but Fedora failures allows me still to boot. Windows failures forces an uninstallation of the update, killing even more time. There are good and bad things to each approach.

      • Ironfacebuster@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        As Microsoft adds ads in more places more and more, I consider moving over to Linux but I just have too many files and weird Windows only programs that I use that I can’t

        I also haven’t really found a desktop environment I really like yet, so I’m open to suggestions for dual booting!

        • 𝕸𝖔𝖘𝖘@infosec.pub
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          I pretty much always recommend Linux Mint Cinnamon for anyone entering Linux for the first time or anyone who wants something to just work 98% of the time. I use Mint Debian Edition (testing it out. So far, so good, and it’s quickly entering first place in terms of recommendations, as it seems just as stable and uses Debian packages instead of Ubuntu’s), OpenSuse with KDE (less for beginner’s and more for those who want “eye candy” and some nostalgia), and Fedora Silverblue (currently have an update issue with its certificates, so can’t really recommend it yet). I’ve found very few Windows programs to not work within WINE (more complex, system file dependent programs generally are those that fail), so you may find that all of your Windows-only programs work perfectly fine under WINE.

          With Mint (and others, I’m sure), you can install multiple DEs and test them out, then remove those you don’t like. Or keep them all and play DE roulette I guess lol

          • Ironfacebuster@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            2 months ago

            I’ll definitely check some of those out, thanks! I have a little experience with Linux since every self hosted server PC I’ve built has always had Ubuntu Server, but even then I was tempted to try and dual boot Mint

  • NeatNit@discuss.tchncs.de
    link
    fedilink
    arrow-up
    52
    arrow-down
    1
    ·
    2 months ago

    Windows’ might be complex, but it is NOT graceful. If you have notepad open with unsaved text, then shutdown will never shut down - but nothing on the screen will make this obvious to a non-technical person.

  • phoenixz@lemmy.ca
    link
    fedilink
    arrow-up
    32
    ·
    2 months ago

    Linux actually also has a graceful shutdown process. It tells apps its shutting down by sending SIGTERM, and its up to each process to flush data asap, do whatever they gotta do, and then shut down.

    If they don’t listen then linux will indeed pull out the baseball bat chainsaw katana and make processes die whether they want to or not.

  • BmeBenji@lemm.ee
    link
    fedilink
    arrow-up
    23
    ·
    edit-2
    2 months ago

    The number of times I have had the Windows shutdown process tell me “please close <some windows process that I never opened> before shutting down” is fucking annoying. Wipe your own ass, Windows.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 months ago

      The funniest one is when it tells you this but by the time you get back to close the ones that didn’t close they’ve already closed on their own. Confused Travolta.gif

  • nucleative@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    2 months ago

    EarlyOOM is your friend. Tweak it to save the most important stuff and kill irrelevant stuff first when low on memory.

    • interdimensionalmeme@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      2 months ago

      Why can’t browsers discard tabs to disk instead of this ridiculous assumption that the server will still exist to redownload the tab content rom.

      • phoenixz@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        Well… though there are reasons to save pages to disk, the server being still up is a fair assumption, really.

        • biddy@feddit.nl
          link
          fedilink
          arrow-up
          1
          ·
          2 months ago

          It isn’t on a mobile device where you might go out of wifi or cellular coverage. But it’s probably a good thing as I don’t want my tab habit wearing out my disk

  • OR3X@lemm.ee
    link
    fedilink
    arrow-up
    12
    ·
    2 months ago

    Meanwhile Windows regularly gets hung up for several minutes on the “shutting down…” screen for no fucking reason. Only happens when I’m in a hurry too.

    • Tryptaminev@lemm.ee
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      2 months ago

      i love it when the “this program is keeping the computer from shutting down” program is the shutting down program

      • lud@lemm.ee
        link
        fedilink
        arrow-up
        2
        arrow-down
        2
        ·
        2 months ago

        In theory it is a good thing because it’s usually programs with unsaved stuff.

  • Laser@feddit.org
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 months ago

    SIGTERM is a graceful request to the application to terminate itself and despite their names kill and killall default to SIGTERM (also useful to send other signals to processes, like START, STOP and NOHUP).

    kill -9 though…