• Realitätsverlust@lemmy.zip
    link
    fedilink
    English
    arrow-up
    90
    arrow-down
    2
    ·
    7 days ago

    Linux does give every application time to shut down correctly, but unlike windows, it won’t wait for ages until every process is down. Linux WILL shut down in a certain timeframe, whereas windows waits for years if necessary. In my old job, we all had to use windows and I had times where I clicked shut down, turned off my monitor, grabbed my stuff, left and in the next morning, the PC was still on because Notepad refused to just close lmao.

    • WIZARD POPE💫@lemmy.world
      link
      fedilink
      arrow-up
      30
      ·
      7 days ago

      That is what infuriates me so much. Instead of just killing the process after 5 mins of waiting it just cancels the shutdown. Like fuck off with that shit.

      • InFerNo@lemmy.ml
        link
        fedilink
        arrow-up
        22
        arrow-down
        2
        ·
        7 days ago

        Depending on the use case, that can be a good thing or a bad thing

            • dai@lemmy.world
              link
              fedilink
              arrow-up
              5
              ·
              6 days ago

              Man I hope next time I press windows and type an application by name, or by executable.exe I get a spinning icon then a stack of unrelated web results that are probably malware.

          • InputZero@lemmy.world
            link
            fedilink
            arrow-up
            7
            ·
            6 days ago

            Then you might not want windows cause Windows forces updates on you whether you want them or not and break things. Linux will happily wait for you to forget for so long it breaks because the target API doesn’t accept your old ass code anymore. At least in Linux as long as I don’t forget I’m good. I sometimes forget

            • fuck_u_spez_in_particular@lemmy.world
              link
              fedilink
              arrow-up
              2
              arrow-down
              1
              ·
              6 days ago

              TBF there are ways to completely disable updates in Windows (I just did in my VM because it should literally only run 3 programs which are not working with wine)

    • Agent641@lemmy.world
      link
      fedilink
      arrow-up
      21
      arrow-down
      1
      ·
      7 days ago

      “Mmm, that didn’t work, try again later I guess? Just stop bothering me with your petty needs and get back to generating monetizable data that I can harvest.”

    • oo1@lemmings.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      6 days ago

      Windows: I refuse to shut down because of a, b , c

      Me: But I already clos. . .

      Windows: No you didnt’t, stop lying!

      Me : Well, I pressed the X and the window dissappeared.

      Windows: Lol, noob. Did you never even heard of a task managers?

  • astrsk@fedia.io
    link
    fedilink
    arrow-up
    70
    ·
    7 days ago

    If your app doesn’t respond to SIGTERM gracefully, you need to fix your app. The system did its job as documented.

  • Ricky Rigatoni@lemm.ee
    link
    fedilink
    arrow-up
    26
    ·
    6 days ago

    Windows: Has a complex and graceful shutdown process to make sure programs never close if there’s a problem with them and your computer just stalls on shutdown until you hold down the power button and completely void out the purpose of the graceful shutdown.

      • letsgo@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 days ago

        Ever? Too many times. When I think I’ve told Windows Update “yes, do all the shit, yes it’s fine, yes I’m sure, yes you can do it, yes I really want you to do it, yes I’m sure I really want you to, yes I’m sure I’m sure, yes for the umpteenth fucking time” and switched off my monitor to go home for the weekend, the number of times I’ve come in on a Monday morning just to find I have to click “yes” yet again then have to sit there watching it grind out its updates.

        I just wish they’d add a checkbox, off by default, that says “yes you can do it all, just stop asking stupid fucking questions” that I can click and go home. But for some reason Microwank insist I have to sit there watching that fucking update percentage creep up then endlessly sit at “100% all is done, please wait” for no reason whatsoever.

        Oh yeah and there always seem to be way more reboots needed when BitLocker is active. I’m sure 1 reboot is the norm with occasional 2’s. But with BL it’s usually 5-6 reboots.

        I used to work at a place where MS would raise tickets with us and I always wanted to give them the WU treatment. But professionalism always got in the way of “This ticket is 100% complete, you must close and reopen it to continue”.

  • h4x0r@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    25
    ·
    7 days ago
    $ kill -L
     1) SIGHUP	 2) SIGINT	 3) SIGQUIT	 4) SIGILL	 5) SIGTRAP
     6) SIGABRT	 7) SIGBUS	 8) SIGFPE	 9) SIGKILL	10) SIGUSR1
    11) SIGSEGV	12) SIGUSR2	13) SIGPIPE	14) SIGALRM	15) SIGTERM
    16) SIGSTKFLT	17) SIGCHLD	18) SIGCONT	19) SIGSTOP	20) SIGTSTP
    21) SIGTTIN	22) SIGTTOU	23) SIGURG	24) SIGXCPU	25) SIGXFSZ
    26) SIGVTALRM	27) SIGPROF	28) SIGWINCH	29) SIGIO	30) SIGPWR
    31) SIGSYS	34) SIGRTMIN	35) SIGRTMIN+1	36) SIGRTMIN+2	37) SIGRTMIN+3
    38) SIGRTMIN+4	39) SIGRTMIN+5	40) SIGRTMIN+6	41) SIGRTMIN+7	42) SIGRTMIN+8
    43) SIGRTMIN+9	44) SIGRTMIN+10	45) SIGRTMIN+11	46) SIGRTMIN+12	47) SIGRTMIN+13
    48) SIGRTMIN+14	49) SIGRTMIN+15	50) SIGRTMAX-14	51) SIGRTMAX-13	52) SIGRTMAX-12
    53) SIGRTMAX-11	54) SIGRTMAX-10	55) SIGRTMAX-9	56) SIGRTMAX-8	57) SIGRTMAX-7
    58) SIGRTMAX-6	59) SIGRTMAX-5	60) SIGRTMAX-4	61) SIGRTMAX-3	62) SIGRTMAX-2
    63) SIGRTMAX-1	64) SIGRTMAX
    
  • hector@sh.itjust.works
    link
    fedilink
    arrow-up
    19
    ·
    7 days ago

    Linux is actually great if you need to implement graceful shutdown with signals – I love it all around :)))

  • dave@lemmy.wtf
    link
    fedilink
    arrow-up
    8
    ·
    6 days ago

    one of my favourite things when i switched to linux first was using the meta+Q hotkey to shutdown a program (this was with PopOS i think). with windows there is alt+F4 but some programs only use shift+alt+F4 which makes it a lot more confusing. on top of all that if youre using a laptop then its another keypress for the Fn key in some cases

  • MammutX@europe.pub
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    7 days ago

    and this how I deleted the file I edited the entire day: shutdown -h now. No go to bed NOW!