Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ RUN apt-get update \
openbox \
x11vnc \
websockify \
autocutsel \
wmctrl xdotool \
dbus-x11 \
pulseaudio pulseaudio-utils \
Expand Down
7 changes: 7 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,13 @@ as_app openbox &
sleep 1
as_app xsetroot -solid black

# Mirror PRIMARY and CLIPBOARD selections. x11vnc's cut-text bridging and the
# mix of Qt (CLIPBOARD) and CEF widgets inside OBS each favor one selection;
# without a sync daemon a paste target can read the one that was never set,
# which shows up as "clipboard randomly does nothing" in the viewer.
as_app autocutsel -selection CLIPBOARD -fork
as_app autocutsel -selection PRIMARY -fork

cat > "$XDG/headless.pa" <<'PA'
load-module module-native-protocol-unix
load-module module-null-sink sink_name=obs_sink sink_properties=device.description=OBS_Output
Expand Down
Loading