Discord Rich Presence
Eglantine can show the game you are playing, its version and its cover art in your Discord status. The status is cleared when the game closes or Eglantine exits.
Every status also carries a Download Eglantine button that opens eglantine-emu.org.
Discord only renders Rich Presence buttons for other users. You cannot see the button on your own profile; ask a friend or a second account to view it, or join a voice channel and hover over yourself in the voice-channel member list.
Enabling and disabling
Rich Presence is enabled by default in builds that include it (release builds do). If it has been turned off:
- Open Emulation > Configure….
- Select the Web tab.
- Check Show Current Game in your Discord Status.
- Select OK.
To turn it off, clear the same checkbox.
A Discord desktop client must be running on the same machine. The setting takes effect immediately; there is no need to restart Eglantine.
Linux: native, Flatpak and Snap Discord
Discord publishes its local IPC socket in the user runtime directory
($XDG_RUNTIME_DIR). The Flatpak and Snap packages keep it one level deeper, in
a per-package directory:
| Package | Socket directory |
|---|---|
| Native, distribution package | $XDG_RUNTIME_DIR |
| Flatpak (stable) | $XDG_RUNTIME_DIR/app/com.discordapp.Discord |
| Flatpak (PTB / Canary) | $XDG_RUNTIME_DIR/app/com.discordapp.DiscordPTB, $XDG_RUNTIME_DIR/app/com.discordapp.DiscordCanary |
| Snap | $XDG_RUNTIME_DIR/snap.discord |
Eglantine searches all of these locations, so Flatpak and Snap installations
work without the discord-ipc-0 symlink that other applications require.
Cover art
Names and covers come from the community-maintained eglantine-covers repository, with the compatibility-list box art as a fallback. The lookup runs when a game starts and needs network access; without it, the game name and version are still shown with Eglantine's logo.