Sync from Windows

This commit is contained in:
js0ny 2025-03-07 15:02:52 +00:00
parent 85ac355294
commit 5593edde3a
8 changed files with 75 additions and 11 deletions

View file

@ -0,0 +1,13 @@
# https://github.com/microsoft/WSL/issues/11261
# Cannot use GUI apps/tools as Wayland socket doesn't exist in `XDG_RUNTIME_DIR`
[Unit]
Description=Symlink Wayland socket to XDG_RUNTIME_DIR
[Service]
Type=oneshot
ExecStart=/usr/bin/ln -s /mnt/wslg/runtime-dir/wayland-0 $XDG_RUNTIME_DIR
ExecStart=/usr/bin/ln -s /mnt/wslg/runtime-dir/wayland-0.lock $XDG_RUNTIME_DIR
[Install]
WantedBy=default.target