Only this component, without the full session. First add the Swaydesk repository, as on the page Install.
Debian 13
sudo apt install swaydesk-portal
Ubuntu 26.04 · Mint 27
sudo apt install swaydesk-portal
Arch Linux
sudo pacman -Syu swaydesk-portal
Start it on plain Sway
If you already have your own ~/.config/xdg-desktop-portal/sway-portals.conf, add only org.freedesktop.impl.portal.Settings=swaydesktop;gtk to its [preferred] section. Otherwise, copy the file swaydesk-portal ships (the copy never replaces a file you have), then log in again:
It keeps the lines of the sway package’s own file and adds the accent one. It needs xdg-desktop-portal-gtk and xdg-desktop-portal-wlr, and XDG_CURRENT_DESKTOP=sway in the systemd user environment, which sway’s own 50-systemd-user.conf imports. In the Swaydesk session this is already in place.
Shortcuts
On its own, through D-Bus
Those of the Swaydesk profile, the default. The other profiles are in Shortcuts.