[Solved] Integration of Flatpaks Into a Minimal Debian 12 Sway Desktop
Posted: 2024-11-13 21:19
I've switched all working applications over to flatpaks, and managed to get them all working after a bit of fiddling. There is one thing left to figure out which is that whenever an open with prompt appears for example: the open file download dialogue in Firefox, or the "open file location in file manager" option in kate I'm greeted with this https://files.catbox.moe/85rsm4.png saying I have "No Apps available" with no ability to select any of my installed software. Saving a file, and opening a file from any flatpak works fine. What is my system missing to populate this?
I start sway with a script that sets the following variables
and have the following lines in my sway config
I have both xdg-desktop-portal-wlr and xdg-desktop-portal-gtx installed as well as flatpak-xdg-utils.
EDIT: The missing package was desktop-file-utils, flatpak-xdg-utils is not needed
I start sway with a script that sets the following variables
Code: Select all
#!/usr/bin/env bash
export MOZ_ENABLE_WAYLAND=1
export QT_QPA_PLATFORM=wayland-egl
export CLUTTER_BACKEND=wayland
export ECORE_EVAS_ENGINE=wayland-egl
export ELM_ENGINE=wayland_egl
export SDL_VIDEODRIVER=wayland
export _JAVA_AWT_WM_NONREPARENTING=1
export NO_AT_BRIDGE=1
export QT_QPA_PLATFORMTHEME=qt5ct
export XDG_CURRENT_DESKTOP=sway
dbus-run-session -- sway
Code: Select all
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP SWAYSOCK
EDIT: The missing package was desktop-file-utils, flatpak-xdg-utils is not needed