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

    That depends how you “try to close the program”. Top/htop/btop often SIGKILL by default. As for closing it legitimately, it depends on your WM and xorg vs wayland. On my DWM setup, I have a keybind for a graceful shutdown and one for SIGKILL.

    • Dandroid@dandroid.app
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      5 months ago

      Yes, I intentionally didn’t want to provide too many details, as I thought it would just be confusing for someone who doesn’t already have a lot of background knowledge on the subject.

      But specifically, I was talking about command line programs and ending them with Ctrl-C