PreMiD --linux
Discord Rich Presence for web services!
Table of Contents
- About
- Stats
- Requirements
- Examples (soon)
- FAQs (soon)
- Building (soon)
- Support
- License
- Snapcraft (TL;DR : never ™️)
- Portable AppImage (RECOMMENDED)
- Red Hat Enterprise Linux (RHEL) based distributions
- Debian and Ubuntu based distributions
- Arch Linux based distributions
About
PreMiD is a simple, configurable utility that uses Discord's RP ( Rich Presence ) library which allows you to show what you're doing on the web ( and a few programs ) in your Discord profile as playing status.
Stats
Deployment | Total downloads | Latest release |
---|---|---|
Requirements
Technically every distribution that can run Discord's official app ( not the web or the snap version ) can run PreMiD too;
As you may have noticed in the recent years, some Linux distributions started dropping support for the 32-bit (ia32/i686/i386/x86) architectures, and as a result, we did too. You can, however, try to build the app yourself if you desperately need to use it on a 32-bit distribution.
Since we currently use Electron as an engine (Discord does too!), its requirements also apply to this app :
- Ubuntu ≥ 12.04
- Fedora ≥ 21
- Debian ≥ 8
It is unknown whether older versions of other distributions support it, so just keep your distribution updated and use LTS (Long-Term Support) releases if your distribution offers them, as they're more stable (avoid alpha releases).
Support
License
Snapcraft
Probably never, since Snap's nature blocks PreMiD from reaching Discord and the extension properly,
It would be appreciated if someone could do it though, any ideas or PRs are welcome.
P.S.: classic confinement doesn't work either so don't bother making a suggestion about it.
Portable AppImage
The AppImage package is the recommended one if Discord works for you but other PreMiD packages (.deb, .rpm, etc) don't.
Installation instructions
wget https://github.com/PreMiD/Linux/releases/latest/download/PreMiD-Portable.AppImage && chmod a+x PreMiD*.AppImage
# Just double-click it or run
./PreMiD*.AppImage
Additional notes
Either if you want to try PreMiD or just don't want to install it, this one's the best, it's always up to date but DOESN'T AUTO-START WITH THE SYSTEM!
If you get tired of having to open it each time, use the other packages (according to your distribution).
Package managers
PackageCloud
With scripts below you can install our repos to your package manager and install our program and update it from their command! For .deb or .rpm files, please check this link.
- Ubuntu or Debian:
curl -s https://packagecloud.io/install/repositories/PreMiD/Linux/script.deb.sh | sudo bash
Then run: sudo apt install premid
If you are getting errors saying that there isn't a package named premid try with this command replacing dist
by the actual distribution name.
curl -s https://packagecloud.io/install/repositories/PreMiD/Linux/script.deb.sh | sudo os=Ubuntu dist=hirsute bash
Note: You can get the value for dist
using the following.
cat /etc/os-release | grep "UBUNTU_CODENAME" | cut -d "=" -f2
- Fedora or CentOS or RedHat:
curl -s https://packagecloud.io/install/repositories/PreMiD/Linux/script.rpm.sh | sudo bash
Then run: yum install premid
or use different package manager than yum
.
If command doesn't work, download deb or rpm file from our packagecloud repo or override settings.
Arch Linux based distributions
Uses Arch User Repository;
Supported distributions are itself, Manjaro, Anarchy, Artix, Arco, ArchLabs, Endeavour, Archman, BlackArch, Liri OS and every one that supports installing from AUR.
Installation instructions
# Using yay (recommended)
yay -S premid
# Using pakku
pakku -S premid
# Using trizen
trizen -S premid
# Using pacaur
pacaur -S premid
# ... you get the point
or manually from the Arch User Repository if you know what you're doing.
Additional notes
If your distro uses pacman, then you have to install one of the helpers first. If you don't have any, Yay is recommended, as root run :
pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si
yay -S premid
Other AUR/Pacman helpers work as well, although each one's functionality is different so you may face issues while using them.