I installed Visual Studio Code on Arch Linux with LXQt, but clicking "Open Folder" did nothing — no error, no folder picker, just silence.
To debug, I ran:
journalctl -f
Then clicked "Open Folder" again. This time, I saw the error:
xdg-desktop-portal: Backend call failed: Could not activate remote peer 'org.freedesktop.impl.portal.desktop.gtk': activation request failed: unit is masked
Fix:
systemctl --user unmask xdg-desktop-portal-gtk.service systemctl --user enable --now xdg-desktop-portal-gtk.service