Can’t I go one week without having to uninstall and reinstall the damn deb file?

    • Sanctus@lemmy.world
      link
      fedilink
      English
      arrow-up
      41
      arrow-down
      3
      ·
      1 year ago

      Yeah, I’m really glad I ignored everyone’s advice and went straight to Arch.

      • Vincent Adultman@lemmy.world
        link
        fedilink
        arrow-up
        40
        arrow-down
        1
        ·
        1 year ago

        Nowadays Arch is pretty straight forward. You have gui installers like any other distro. I never broke my Arch install in 3+ years using it.

        • Sanctus@lemmy.world
          link
          fedilink
          English
          arrow-up
          17
          arrow-down
          1
          ·
          1 year ago

          Thats what it seems. But as recent as my account here people have warned me about arch being unstable and such. It leaves me scratching my head tbh

          • odium@programming.dev
            link
            fedilink
            arrow-up
            13
            ·
            edit-2
            1 year ago

            You can get an arch based distro with btrfs snapshots set up by default. An example is garuda. Btrfs lets you automatically take snapshots of your file system at set intervals. If you fuck something up and break something, you can restore yesterday’s snapshot or last week’s or whatever. Garuda’s default install even let’s you choose to boot into a snapshot from GRUB.

            • Rakqoi@lemmy.cafe
              link
              fedilink
              English
              arrow-up
              6
              ·
              1 year ago

              I chose Garuda for this reason and I love it. the automatic snapshots have saved me several times, plus I like all the built-in tools for configuring a ton of things that I’d have no idea how to configure otherwise. The preinstalled software is also super useful. The only thing I didn’t like about it is the gaudy default theme but that’s easy to change.

              • JTskulk@lemmy.world
                link
                fedilink
                English
                arrow-up
                5
                ·
                1 year ago

                Endeavor is just Arch with AUR repos enabled by default, so it’s either just as easy or easier.

    • Wofls@feddit.de
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      1 year ago

      I really hope Revolt decentralizes someday (plus gets remotely relevant by usercount, no offense)

      • unexpectedteapot@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        Not gonna happen, the developer made it quite clear from the get-go. Also, their community are quite hostile against it and pretty much most FOSS stuff for some reason.

        I can see a fork taking what is useful about it (UI/UX) and adopting solid backends (federation, proper VoIP with screen sharing, etc.)

        • Phen@lemmy.eco.br
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Wouldn’t it be easier to get something like Rocket.Chat + Jitsi and make them work well together?

      • Stephen304@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        I wish that would happen, or maybe if someone forked their client and hooked it up to connect to matrix home servers. The client looks great.

      • Solar Bear@slrpnk.net
        link
        fedilink
        English
        arrow-up
        15
        ·
        1 year ago

        Let’s actually not advocate for a different proprietary software, and instead advocate for FOSS solutions like Mumble.

  • Heffy@lemmy.world
    link
    fedilink
    arrow-up
    17
    arrow-down
    2
    ·
    1 year ago

    I’ve just told mine to not check for updates.

    ~/.config/discord/settings.json

    And change “SKIP_HOST_UPDATE” to true

  • Jamie@jamie.moe
    link
    fedilink
    arrow-up
    11
    ·
    1 year ago

    You can bump the version number in it’s build_info.json file and it’ll work just fine. It’s weird like that. That file is in /opt/discord/resources/ for me.

  • Kühe sind toll@feddit.de
    link
    fedilink
    arrow-up
    9
    ·
    1 year ago

    I use the flatpak version on my laptop and version from the repositorys on my main pc. So i either have to just update a flatpak or just do a full system update.

  • Andrew@mander.xyz
    link
    fedilink
    arrow-up
    9
    ·
    1 year ago

    I used this every time (with sudo):

    #!/bin/sh
    [ "$USER" != root ] && { sudo "$0" && exit; }
    latest_version=$(
      curl -sI 'https://discord.com/api/download?platform=linux&format=deb' \
      | grep '^location:' \
      | grep -m 1 -oP '\d[\d.]+\d' \
      | head -n 1
    )
    sed -i.bak 's/\(version.*\)[0-9]\+\.[0-9]\+\.[0-9]\+/\1'"$latest_version"'/' \
      '/usr/share/discord/resources/build_info.json'
    

    Let’s see how good the Flatpak version will be.

    • graham1@gekinzuku.comOP
      link
      fedilink
      English
      arrow-up
      13
      ·
      1 year ago

      just fyi I moved Discord, GIMP, Obsidian, and OBS over to flatpak and my root partition jumped from 19GB to 23GB. I’m kinda sad about it tbh

      • IverCoder@lemm.ee
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        1 year ago

        Most storage space viewers get confused by Flatpak’s heavily deduplicated and compressed files, leading to them reporting way larger space than what’s actually occupied on the hard drive.

        • graham1@gekinzuku.comOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          It’s true lol. I had to install Docker for teaching on my old drive and that instantly maxed out my root partition even when I kept deleting intermediate builds and unused data. Now I have this fun paranoia for all apps :)

      • Andrew@mander.xyz
        link
        fedilink
        arrow-up
        3
        arrow-down
        15
        ·
        1 year ago

        First of all, stop using legacy SI units for the size of information, they only bring confusion, instead use IEC/binary units like GiB. https://en.m.wikipedia.org/wiki/Binary_prefix

        Second of all, I know that with Flatpak’s ease of installation/runtime comes great size hit. It’s great that some layers are reusable, so it’s not a huge hit. Besides, with big disk size it’s not really a concern now is it?

      • azuth@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Normally sed just passes along the edited text to STDout (printing in the terminal usually).

        With the -i option it actually changes the input files. If you add an extension immediately after the -i it apparently makes a backup of the original with that extension.

  • SeeMinusMinus@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    1 year ago

    I just tried opening discord a minute ago and got that lmao. Since I am on fedora I can’t use the deb file. Often pointing around on my system I found where all the discord files are and I made a script that downloads the discord .tar.gz file and moves all the files to the right places. Every time I get the prompt I run the script and it updates discord for me (:

    #! /usr/bin/sh
    
    wget -O discord.tar.gz "https://discord.com/api/download/stable?platform=linux&format=tar.gz"
    tar -xvf discord.tar.gz
    rm -rf discord.tar.gz
    sudo rm -rf /lib64/discord
    sudo mv Discord /lib64/discord