Created
July 28, 2024 14:05
-
-
Save windoze/7bc17395ff905848dfba50c651d897fa to your computer and use it in GitHub Desktop.
Start Wayland Application on local monitor from remote session, e.g. SSH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -o allexport | |
XDG_RUNTIME_DIR="/run/user/$(id -u)" | |
eval "$(systemctl --user show-environment)" | |
exec "$@" | |
################################################# | |
# Usage: | |
# env-wrapper gedit | |
################################################# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment