diff options
| author | matellush <202132988+matellush@users.noreply.github.com> | 2026-09-12 17:57:14 +0200 |
|---|---|---|
| committer | matellush <202132988+matellush@users.noreply.github.com> | 2026-09-12 17:57:14 +0200 |
| commit | cfc4d3d887dcd614ad3e13425a5b96fcc089ea96 (patch) | |
| tree | 8c35af41dc0a00dde0755f8e8ccee8031c8ff17d | |
| parent | a2efdf1197be8132674b90fe9cf4761df39752ed (diff) | |
Flatpak: Support Discord Canary for rich presence
| -rwxr-xr-x | Flatpak/dolphin-emu-wrapper | 5 | ||||
| -rw-r--r-- | Flatpak/org.DolphinEmu.dolphin-emu.yml | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Flatpak/dolphin-emu-wrapper b/Flatpak/dolphin-emu-wrapper index be5f0e5108..86ab64d0ab 100755 --- a/Flatpak/dolphin-emu-wrapper +++ b/Flatpak/dolphin-emu-wrapper @@ -3,6 +3,11 @@ # https://github.com/flathub/com.discordapp.Discord/wiki/Rich-Precense-(discord-rpc)#flatpak-applications for i in {0..9}; do test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i; + # Do the same for Discord Canary as a fallback + # (will only stick if available during startup) + test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.DiscordCanary,$XDG_RUNTIME_DIR}/discord-ipc-$i; + # Make any dangling links use the stable Discord though + test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i; done dolphin-emu "$@" diff --git a/Flatpak/org.DolphinEmu.dolphin-emu.yml b/Flatpak/org.DolphinEmu.dolphin-emu.yml index 72e80b4267..d594cdc345 100644 --- a/Flatpak/org.DolphinEmu.dolphin-emu.yml +++ b/Flatpak/org.DolphinEmu.dolphin-emu.yml @@ -14,6 +14,8 @@ finish-args: # required for the emulated bluetooth adapter feature to work. - --allow=bluetooth - --filesystem=xdg-run/app/com.discordapp.Discord:create + # also consider Discord Canary for rich presence + - --filesystem=xdg-run/app/com.discordapp.DiscordCanary:create - --filesystem=xdg-run/discord-ipc-0:create # required to disable the screensaver in various desktops - --talk-name=org.freedesktop.ScreenSaver |
