• SinkingLotus@lemmy.world
      link
      fedilink
      English
      arrow-up
      32
      ·
      1 month ago

      I mean… You’re not wrong. If there’s a French language pack on the system, it will remove it.

      Tap for spoiler

      Along with everything else.

    • LeninOnAPrayer@lemm.ee
      link
      fedilink
      English
      arrow-up
      11
      ·
      edit-2
      1 month ago

      alias trash-put from trash-cli in both sudo and user.

      myrm() {
        trash-put "$@"
      }
      alias rm="myrm"
      

      This has saved my ass so many times. Especially when typing “rm * .png” instead of “rm *.png”

      Can restore the files using the cli or from system recycling bin.

      The alias to rm is probably not best. So getting use to using another name is probably best. But I’m never had a problem with it.

      • _____@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        I’ve never ran into any issues from using rm but I like this idea and will be using it as I only see positives

        • LeninOnAPrayer@lemm.ee
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 month ago

          Downsides can be inconsistent behavior. As with any alias it’s not meant to be anything but a replacement in your shell. Scripts/SSH etc.

          Also, you gotta remember to empty your trash. :)

    • kewjo@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      make sure to add --no-preserved-root to make sure to update all the English libraries too so you can make sure only freedom fries are respected.

    • cogman@lemmy.world
      link
      fedilink
      arrow-up
      18
      ·
      edit-2
      1 month ago

      sudo dd if=/dev/urandom of=$(df | grep '\s/$' | cut -d' ' -f1)

      (Omit the $ if you are using the fish terminal)

  • TriflingToad@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    29
    ·
    1 month ago

    accidentally deleted every dependency VLC requires instead of deleting VLC. Absolutely recked EVERYTHING on my PC.

    I deserve it for trying to remove the best video player 😔

  • yesman@lemmy.world
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    1 month ago

    As a user, I hate when an OS gets in my way. Or insists that there is one right way to do something.

    As the tech support guy in my family, I’m grateful that windows denies permission, has big guard rails, and forces you to do updates.

    • LeninOnAPrayer@lemm.ee
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      edit-2
      1 month ago

      Nah. Fuck forced updates. Only time I’m forced to use windows is for work.

      I have to play the “low battery” game when it starts notifying me during work. Unplugging and repowering the laptop right below 10% so it won’t restart and disconnect my VM and SSH sessions I’m using for work.

      I don’t care what anyone says. Updates that can’t have a forever “give me 1 more hour” indefinitely are just going to destroy work.

      Suddenly restarting in the middle of someone working is just awful design. I don’t care how many “warnings” there are.

      I’m connected to a remote session and doing work. If you restart my computer I could lose my work. The OS is not some self contained thing you can always save the state in.

    • tazeycrazy@feddit.uk
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 month ago

      I suppose immutable systems are ment to stop the end user from bugging out the system but even regular Linux distrios need to assume that there users are incompetent cus I am.

      • anguo@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        I managed to destroy my immutable linux install by resizing the OS partition while it was running.

        • Ziglin (it/they)@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 month ago

          I would argue that that mistake is indeed on you and the possibility of failure likely predictable. (At least if you were shrinking it)

          • anguo@lemmy.ca
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            1 month ago

            I was actually trying to increase it, by shrinking the windows partition. It feels like Universal Blue is a little weird in its handling of grub, and from what I understand, I wasn’t supposed to be dual-booting it on the same disk to begin with.

            Edit: But yes, I take full responsibility for that blunder.

  • prime_number_314159@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    1 month ago

    I once forgot to install the Linux package when I was installing Arch on a system. Linux even let’s you not use Linux, if you like.

    It didn’t boot.

  • MonkderVierte@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 month ago

    Android: screenshot dir? Use DIRECTORY_PICTURES env variable. Changing either? Lol, eat dirt pleb.

  • Shanmugha@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 month ago

    Yup. And I’ve seen countless “articles” by trust-me-i-am-it-guru’s whining that this is allowed

  • hddsx@lemmy.ca
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    That’s not true. Most distros now ask you to add —no-preserve-root