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

linuxmemes

25434 readers
1198 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 users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • 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.
  • 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, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years 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 68 points 2 years ago (2 children)

    Arch supremacy. My package manager handles everything.

    [–] Sanctus@lemmy.world 38 points 2 years ago (1 children)

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

    [–] VicentAdultman@lemmy.world 37 points 2 years 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 16 points 2 years 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 13 points 2 years ago* (last edited 2 years ago) (1 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 2 years 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.

    [–] CalicoJack@lemmy.dbzer0.com 8 points 2 years ago

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

    [–] Xylight@lemdro.id 58 points 2 years 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 19 points 2 years ago (1 children)

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

    load more comments (1 replies)
    [–] finestnothing@lemmy.world 11 points 2 years ago (1 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

    [–] stepanzak@iusearchlinux.fyi 4 points 2 years ago (2 children)

    And on the holy Arch wiki there's a way to disable the update prompt, so you don't get locked out of discord when it has update but it hasn't arrived into the repos yet.

    load more comments (2 replies)
    [–] chronicledmonocle@lemmy.world 40 points 2 years ago

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

    [–] sederx@programming.dev 37 points 2 years ago (3 children)
    [–] Wofls@feddit.de 6 points 2 years ago* (last edited 2 years 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 2 years ago (2 children)

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

    [–] MashedTech@lemmy.world 12 points 2 years 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 2 years ago* (last edited 2 years 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.

    [–] Heffy@lemmy.world 17 points 2 years 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 2 years ago (1 children)

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

    [–] Heffy@lemmy.world 13 points 2 years 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

    [–] jelloeater85@lemmy.world 5 points 2 years ago

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

    [–] FrancisFeliz@lemmy.world 15 points 2 years ago (2 children)
    [–] tubaruco@lemm.ee 9 points 2 years 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)
    [–] Heffy@lemmy.world 4 points 2 years ago (4 children)

    Unfortunately Mumble and TeamSpeak aren't as feature complete and user friendly

    But they're the only other alternatives I've checked out

    load more comments (4 replies)
    [–] Jamie@jamie.moe 11 points 2 years 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.

    [–] JTskulk@lemmy.world 11 points 2 years 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)
    [–] Rogers@lemmy.ml 10 points 2 years ago (1 children)

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

    [–] dephyre@lemmy.world 17 points 2 years ago (5 children)
    load more comments (5 replies)
    [–] Andrew15_5@mander.xyz 10 points 2 years ago (2 children)

    I used this every time (with sudo):

    #!/bin/sh
    [ "$USER" != root ] &amp;&amp; { sudo "$0" &amp;&amp; exit; }
    latest_version=$(
      curl -sI 'https://discord.com/api/download?platform=linux&amp;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 11 points 2 years 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 2 years ago* (last edited 2 years 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 2 years 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 (1 replies)
    [–] SeeMinusMinus@lemmy.world 9 points 2 years ago* (last edited 2 years 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&amp;format=tar.gz"
    tar -xvf discord.tar.gz
    rm -rf discord.tar.gz
    sudo rm -rf /lib64/discord
    sudo mv Discord /lib64/discord
    
    [–] PeterPoopshit@lemmy.world 9 points 2 years ago* (last edited 2 years 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 2 years 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)
    [–] StoutwardPorterman@dmv.social 8 points 2 years ago (1 children)
    load more comments (1 replies)

    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.

    [–] tubaruco@lemm.ee 7 points 2 years ago

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

    [–] Rootiest@lemmy.world 7 points 2 years ago

    I just use the flatpak and it updates just fine

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

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

    [–] pHr34kY@lemmy.world 12 points 2 years ago (1 children)

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

    load more comments (1 replies)
    [–] chickenpotpi@lemmy.ml 5 points 2 years ago

    you can use openasar for discord and it gives you the option to not update.

    [–] yamapikariya@lemmyfi.com 4 points 2 years ago

    Armcord is better anyway

    load more comments
    view more: next β€Ί