update yavdr-xorg files

This commit is contained in:
Alexander Grothe
2017-06-21 10:14:35 +02:00
parent 2a039bcd3a
commit 2782daf931
8 changed files with 889 additions and 9 deletions

View File

@@ -0,0 +1,14 @@
[Unit]
Description=Start openbox on the second DISPLAY if it exists
After=detect-second-display.service
Wants=detect-second-display.service
Before=yavdr-frontend.service
ConditionFileNotEmpty=%h/.second_display
[Service]
PassEnvironment=XDG_RUNTIME_DIR DBUS_SESSION_BUS_ADDRESS
EnvironmentFile=%h/.second_display
ExecStart=/usr/bin/openbox --config-file %h/.config/openbox/rc.xml
[Install]
WantedBy=yavdr-desktop.target