mirror of
https://github.com/swaywm/sway.git
synced 2024-11-24 00:41:28 +00:00
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.
This commit is contained in:
parent
88e99fa84f
commit
57df1f05f1
|
@ -3,3 +3,4 @@ Name=Sway
|
||||||
Comment=An i3-compatible Wayland compositor
|
Comment=An i3-compatible Wayland compositor
|
||||||
Exec=sway
|
Exec=sway
|
||||||
Type=Application
|
Type=Application
|
||||||
|
DesktopNames=sway;wlroots
|
||||||
|
|
Loading…
Reference in a new issue