this post was submitted on 06 Nov 2023
548 points (94.8% liked)

linuxmemes

21172 readers
608 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     

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

    top 50 comments
    sorted by: hot top controversial new old
    [–] odium@programming.dev 80 points 1 year ago (2 children)

    Arch supremacy. My package manager handles everything.

    [–] Sanctus@lemmy.world 43 points 1 year ago (1 children)

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

    [–] VicentAdultman@lemmy.world 43 points 1 year ago (1 children)

    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 18 points 1 year ago (1 children)

    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 14 points 1 year ago* (last edited 1 year ago) (3 children)

    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 6 points 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.

    load more comments (2 replies)
    [–] CalicoJack@lemmy.dbzer0.com 8 points 1 year ago

    And if it doesn't, yay does. While also triggering pacman updates at the same time.

    [–] Xylight@lemdro.id 65 points 1 year ago (2 children)
    1. Use the flatpak. Or 2. Use the web app (discord.com/app) Or 3. Don't use discord
    [–] fl42v@lemmy.ml 23 points 1 year ago (2 children)

    I'd say webcord, iff the last option doesn't work, ofc.

    [–] zoe@jlai.lu 5 points 1 year ago

    yea webcord is cool

    load more comments (1 replies)
    [–] finestnothing@lemmy.world 12 points 1 year ago (3 children)

    At least on arch it'll tell you there's an update and prompt you to install the deb file but you can just update it with pacman and you're good to go. Usually end up doing my pacman -Syu when discord yells that it needs an update

    load more comments (3 replies)
    [–] Gentoo1337@sh.itjust.works 45 points 1 year ago* (last edited 1 year ago)

    It has an official flatpak now

    [–] chronicledmonocle@lemmy.world 43 points 1 year ago

    Me, running the flatpak: "Y'all are uninstalling and reinstalling .Deb files over and over?"

    [–] sederx@programming.dev 37 points 1 year ago (3 children)
    [–] Wofls@feddit.de 6 points 1 year ago* (last edited 1 year ago) (3 children)

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

    load more comments (3 replies)
    load more comments (2 replies)
    [–] heartfelthumburger@sopuli.xyz 36 points 1 year ago (2 children)

    I've used the flatpak version for years and never have any issues with updates.

    [–] MashedTech@lemmy.world 12 points 1 year ago (1 children)

    Except when discord won't start because you don't have the latest version of the package(launcher that needs to be updated I think) and there is no update for your system for a while.

    load more comments (1 replies)
    load more comments (1 replies)
    [–] merthyr1831@lemmy.world 31 points 1 year ago* (last edited 1 year ago)

    the flatpak is the official distribution of the app now, so you might just want to move to that instead

    EDIT: as for how well it works for those who doubt flatpak and discord in general, it works well! I've streamed video and received video streams on x11 and Wayland with no problems. Not sure if audio streaming worked in either case though.

    [–] Presi300@lemmy.world 21 points 1 year ago (2 children)

    Just use discord from the browser, the Linux app sucks anyways

    [–] MashedTech@lemmy.world 10 points 1 year ago

    The snap sucks

    [–] netchami@sh.itjust.works 5 points 1 year ago

    Or WebCord, it's the Discord web app packaged as a native application. It has pretty good support for screen sharing on Wayland and some minor privacy improvements through blocking the telemetry APIs.

    [–] Heffy@lemmy.world 17 points 1 year ago (2 children)

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

    ~/.config/discord/settings.json

    And change "SKIP_HOST_UPDATE" to true

    [–] arbitrary_sarcasm@lemmy.world 9 points 1 year ago (2 children)

    That's probably a bad idea if you're not concerned about security updates?

    [–] Heffy@lemmy.world 15 points 1 year ago

    I'm on arch, so the package manager will update it

    But sometimes there is a delay between the update coming out and it hitting the repos. This just stops me having any issues inbetween

    load more comments (1 replies)
    [–] jelloeater85@lemmy.world 6 points 1 year ago

    Neat! IDK why they cannot just have a APT repo.

    [–] FrancisFeliz@lemmy.world 16 points 1 year ago (6 children)
    [–] tubaruco@lemm.ee 9 points 1 year ago (1 children)

    and if thats the only way you can talk to your friends, you can just use the web client and have at least a choice to not run chromium and have an adblocker

    load more comments (1 replies)
    load more comments (5 replies)
    [–] Rogers@lemmy.ml 12 points 1 year ago (1 children)

    I've heard there's going to be an offical flatpak soon

    [–] dephyre@lemmy.world 20 points 1 year ago (5 children)
    load more comments (5 replies)
    [–] JTskulk@lemmy.world 12 points 1 year ago (1 children)

    I moved my non-techie friend to Kubuntu and this was one of the speedbumps we ran into. I had to set .deb files to open with something other than the KDE get new software app. I think we're using qapt-something. I wish discord didn't treat us Linux users like 2nd class citizens. They coded support for capturing OS sound for Windows, but not Linux or Mac for that matter.

    As an aside, I think this situation is a microcosm for different OS's and it's users:

    Windows users: We're the biggest group so sound works fine for us.

    Linux users: Discord doesn't support our needs so we implemented it ourselves with discord-screenaudio.

    Mac users: Discord doesn't support our needs and there's no solution to purchase so I guess we're just fucked.

    load more comments (1 replies)
    [–] Jamie@jamie.moe 12 points 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.

    [–] Andrew15_5@mander.xyz 10 points 1 year ago (3 children)

    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.com 13 points 1 year ago (3 children)

    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 8 points 1 year ago* (last edited 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.

    [–] AlijahTheMediocre@lemmy.world 6 points 1 year ago (1 children)

    4GB ain't to cry over, you already saved so much not using Windows :p

    load more comments (1 replies)
    load more comments (1 replies)
    load more comments (2 replies)
    [–] StoutwardPorterman@dmv.social 9 points 1 year ago (1 children)
    load more comments (1 replies)
    [–] SeeMinusMinus@lemmy.world 9 points 1 year ago* (last edited 1 year ago) (1 children)

    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
    
    [–] Gallardo994@sh.itjust.works 9 points 1 year ago

    In this day and age there's still no repo for that? O_o

    [–] cows_are_underrated@feddit.de 9 points 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.

    [–] PeterPoopshit@lemmy.world 9 points 1 year ago* (last edited 1 year ago) (1 children)

    If you're on Arch, the hack where you change the version number in the build_info.json file to the current version works this time. Sometimes that hack doesn't work but this week it does.

    [–] Gobbel2000@feddit.de 7 points 1 year ago (3 children)

    If you're on Arch, why don't you just use the discord package from extra repositories and have discord simply update with pacman?

    load more comments (3 replies)
    [–] tubaruco@lemm.ee 8 points 1 year ago

    and i thought i was losing features by using the web version...

    [–] Rootiest@lemmy.world 8 points 1 year ago

    I just use the flatpak and it updates just fine

    [–] hottari@lemmy.ml 5 points 1 year ago (1 children)

    One more strike for the deb monoculture (read complacency).

    [–] pHr34kY@lemmy.world 13 points 1 year ago (1 children)

    This isn't a deb problem. Discord just can't deb right.

    load more comments (1 replies)
    load more comments
    view more: next ›