mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
src/config/session.c: Update dbus / systemd activation environment
This allows xdg-desktop-portal-wlr to work out of the box for screen-recording. If systemd or dbus is not available the environment update will fail gracefully. This patch will set XDG_CURRENT_DESKTOP=wlroots but a user may change this by either having the environment variable set before starting labwc or by having a different value set in ~/.config/labwc/environment. Based on PR #461 by @Joshua-Ashton
This commit is contained in:
parent
b8995e45dc
commit
d6ea0d68cf
3 changed files with 44 additions and 3 deletions
|
|
@ -3,4 +3,4 @@ Name=labwc
|
|||
Comment=A wayland stacking compositor
|
||||
Exec=labwc
|
||||
Type=Application
|
||||
|
||||
DesktopNames=wlroots
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue