commit 9dcccf784bf89e54e5a6f65f72c116943f3b30ea
parent 048e304b8a54fc31b53b716538971c0c2315d4c2
Author: nilninull <nilninull@gmail.com>
Date: Sun, 4 Feb 2024 17:20:45 +0900
Add the DesktopNames key to the sway.desktop session file
According to
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html,
to set the value of XDG_CURRENT_DESKTOP, a DesktopNames key is
required in the session file. And the value of XDG_CURRENT_DESKTOP is
used to run xdg-desktop-portal*. If this value is not set,
xdg-desktop-portal-wlr will not run at login.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sway.desktop b/sway.desktop
@@ -3,3 +3,4 @@ Name=Sway
Comment=An i3-compatible Wayland compositor
Exec=sway
Type=Application
+DesktopNames=sway;wlroots