Skip to content

flathub/dev.vencord.Vesktop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vesktop Flatpak

This is the flatpak for Vesktop.

Tray icons

This flatpak has the appropriate permissions for tray icons out of the box; however, GNOME does not provide native tray icons support out of the box, due to the current specification being horribly outdated and not being sandbox-friendly.

The extension that should be used to obtain tray icons is appindicator-support. Enable this extension and disable any other alternatives and tray icons will function as expected.

Discord Rich Presence

Native applications

A solution that works short-term is to run ln -sf $XDG_RUNTIME_DIR/{.flatpak/dev.vencord.Vesktop/xdg-run,}/discord-ipc-0. For something longer lasting, run the following:

mkdir -p ~/.config/user-tmpfiles.d
echo 'L %t/discord-ipc-0 - - - - .flatpak/dev.vencord.Vesktop/xdg-run/discord-ipc-0' > ~/.config/user-tmpfiles.d/discord-rpc.conf
systemctl --user enable --now systemd-tmpfiles-setup.service

Now, native applications will be able to use Rich Presence on every system start.

Flatpak applications

Flatpak applications need certain changes inside of the flatpak environment to connect properly:

  1. Permission to access $XDG_RUNTIME_DIR/.flatpak/dev.vencord.Vesktop/
  2. A symlink at $XDG_RUNTIME_DIR/discord-ipc-0 pointing to $XDG_RUNTIME_DIR/.flatpak/dev.vencord.Vesktop/xdg-run/discord-ipc-0

Suggested changes to accomplish these needs :

  1. Add --filesystem=xdg-run/.flatpak/dev.vencord.Vesktop:create and --filesystem=xdg-run/discord-ipc-* to the global Flatpak permissions
  2. Restart