Add xwayland-satellite stuff

This commit is contained in:
2026-05-03 06:02:47 -07:00
parent 74f7970dab
commit 418345dcf7
2 changed files with 20 additions and 1 deletions
+5 -1
View File
@@ -240,6 +240,9 @@ riverctl keyboard-layout \
# Set the default layout generator to be rivertile (started by systemd) # Set the default layout generator to be rivertile (started by systemd)
riverctl default-layout rivertile riverctl default-layout rivertile
# Use xwayland-satellite by default
export DISPLAY=:1
# Update the some environment variables # Update the some environment variables
systemctl --user import-environment WAYLAND_DISPLAY DISPLAY systemctl --user import-environment WAYLAND_DISPLAY DISPLAY
dbus-update-activation-environment WAYLAND_DISPLAY DISPLAY dbus-update-activation-environment WAYLAND_DISPLAY DISPLAY
@@ -247,7 +250,7 @@ dbus-update-activation-environment WAYLAND_DISPLAY DISPLAY
# Notify systemd that we have setup River # Notify systemd that we have setup River
systemd-notify --ready systemd-notify --ready
"${SCRIPT_DIR}/emacs-server-import-environment.el" WAYLAND_DISPLAY "${SCRIPT_DIR}/emacs-server-import-environment.el" WAYLAND_DISPLAY DISPLAY
# The following is a list of units to enable: # The following is a list of units to enable:
# systemctl --user enable waybar.service # systemctl --user enable waybar.service
@@ -261,6 +264,7 @@ systemd-notify --ready
# systemctl --user enable khal-notify.service # systemctl --user enable khal-notify.service
# systemctl --user enable inhibit-sleep-for-audio.service # systemctl --user enable inhibit-sleep-for-audio.service
# systemctl --user enable rivertile.service # systemctl --user enable rivertile.service
# systemctl --user enable xwayland-satellite.service
# Laptop only: # Laptop only:
# systemctl --user enable laptop-lid-daemon.service # systemctl --user enable laptop-lid-daemon.service
+15
View File
@@ -0,0 +1,15 @@
[Unit]
Description=Xwayland outside your Wayland
BindsTo=graphical-session.target
PartOf=graphical-session.target
After=graphical-session.target
Requisite=graphical-session.target
[Service]
Type=notify
NotifyAccess=all
ExecStart=/usr/bin/xwayland-satellite :1
StandardOutput=journal
[Install]
WantedBy=graphical-session.target