this post was submitted on 06 Nov 2023
544 points (94.7% liked)

linuxmemes

25778 readers
78 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 80 points 2 years ago (2 children)

    Arch supremacy. My package manager handles everything.

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

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

    [–] VicentAdultman@lemmy.world 43 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 18 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) (2 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.

    load more comments (2 replies)
    [–] 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 65 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 23 points 2 years ago (2 children)

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

    [–] zoe@jlai.lu 5 points 2 years ago

    yea webcord is cool

    load more comments (1 replies)
    [–] finestnothing@lemmy.world 12 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 5 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)
    [–] Gentoo1337@sh.itjust.works 45 points 2 years ago* (last edited 2 years ago)

    It has an official flatpak now

    [–] chronicledmonocle@lemmy.world 43 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 (2 children)

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

    [–] Heffy@lemmy.world 15 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

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

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

    [–] FrancisFeliz@lemmy.world 16 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 5 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 12 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 12 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 12 points 2 years ago (1 children)

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

    [–] dephyre@lemmy.world 20 points 2 years ago (5 children)
    load more comments (5 replies)
    [–] Andrew15_5@mander.xyz 10 points 2 years ago (3 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 13 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 (2 replies)
    [–] 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)
    [–] 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
    
    [–] Gallardo994@sh.itjust.works 9 points 2 years ago

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

    [–] StoutwardPorterman@dmv.social 9 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 8 points 2 years ago

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

    [–] Rootiest@lemmy.world 8 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 13 points 2 years 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 β€Ί