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

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

you are viewing a single comment's thread
view the rest of the comments
[-] Andrew15_5@mander.xyz 10 points 11 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 13 points 11 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 11 months ago* (last edited 11 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.

load more comments (3 replies)
load more comments (5 replies)
this post was submitted on 06 Nov 2023
550 points (94.8% liked)

linuxmemes

21041 readers
662 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