Follow-up from “Dumbest Thing you have done distro-hopping?”.

Here’s mine - the laptop from which I’m typing right now has a broken touchpad that keeps jumping and clicking randomly, and does not work. Well, I can’t afford to fix it, but at the moment, I was so pissed off I punched the touchpad really hard, and the machine panicked with all the lights blinking. A few more revival abuses, and the machine was back to life, but since I was running a nixos-rebuild switch --upgrade in the background, I blew off my boot partition. I think I just broke the unbreakable distro.

  • jernej@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    I actually fixed that issue by writing a script that just moves sruff I want to delete to a folder (in my case TrashBin)

    • palordrolap@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      If you’re on a GNOME or GTK system, check if you don’t already have the gio command. It has a trash subcommand that puts a file into the desktop trash/rubbish bin. It can also be used to resurrect files from there. gio help trash shows the usage.

      You might even want to incorporate it into your existing script.