542
Oh for fuck's sake (gekinzuku.com)

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 79 points 10 months ago

Arch supremacy. My package manager handles everything.

[-] Sanctus@lemmy.world 42 points 10 months ago

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

[-] VicentAdultman@lemmy.world 41 points 10 months 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 18 points 10 months 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 14 points 10 months ago* (last edited 10 months 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 6 points 10 months 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 10 months ago

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

[-] Xylight@lemdro.id 64 points 10 months ago
  1. Use the flatpak. Or 2. Use the web app (discord.com/app) Or 3. Don't use discord
[-] fl42v@lemmy.ml 23 points 10 months ago

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

load more comments (2 replies)
[-] finestnothing@lemmy.world 12 points 10 months ago

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 43 points 10 months ago* (last edited 10 months ago)

It has an official flatpak now

[-] chronicledmonocle@lemmy.world 42 points 10 months ago

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

[-] sederx@programming.dev 37 points 10 months ago
[-] Wofls@feddit.de 6 points 10 months ago* (last edited 10 months ago)

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 10 months ago

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

[-] MashedTech@lemmy.world 12 points 10 months ago

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 30 points 10 months ago* (last edited 10 months 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 10 months ago

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

[-] MashedTech@lemmy.world 10 points 10 months ago

The snap sucks

load more comments (1 replies)
[-] Heffy@lemmy.world 17 points 10 months ago

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 10 months ago

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

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

[-] Gentoo1337@sh.itjust.works 5 points 10 months ago

Nah. What could possibly go wrong?

[-] jelloeater85@lemmy.world 6 points 10 months ago

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

[-] FrancisFeliz@lemmy.world 16 points 10 months ago
[-] tubaruco@lemm.ee 9 points 10 months ago

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 10 months ago

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

[-] Jamie@jamie.moe 12 points 10 months 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 10 months ago

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)
[-] Andrew15_5@mander.xyz 10 points 10 months 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.com 12 points 10 months 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 8 points 10 months ago* (last edited 10 months 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 10 months ago

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 10 months ago* (last edited 10 months ago)

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 10 months ago

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 9 points 10 months ago
load more comments (1 replies)
[-] SeeMinusMinus@lemmy.world 9 points 10 months ago* (last edited 10 months 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
[-] cows_are_underrated@feddit.de 9 points 10 months 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.

[-] Gallardo994@sh.itjust.works 9 points 10 months ago

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

[-] Rootiest@lemmy.world 8 points 10 months ago

I just use the flatpak and it updates just fine

[-] tubaruco@lemm.ee 8 points 10 months ago

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

[-] chickenpotpi@lemmy.ml 5 points 10 months ago

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

[-] hottari@lemmy.ml 5 points 10 months ago

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

[-] pHr34kY@lemmy.world 13 points 10 months ago

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

load more comments (1 replies)
load more comments
view more: next ›
this post was submitted on 06 Nov 2023
542 points (94.7% liked)

linuxmemes

20753 readers
1420 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS