summaryrefslogtreecommitdiff
path: root/recipes-core/hdmi-hotplug/files/apalis-tk1/hdmi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/hdmi-hotplug/files/apalis-tk1/hdmi.sh')
-rw-r--r--recipes-core/hdmi-hotplug/files/apalis-tk1/hdmi.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-core/hdmi-hotplug/files/apalis-tk1/hdmi.sh b/recipes-core/hdmi-hotplug/files/apalis-tk1/hdmi.sh
new file mode 100644
index 0000000..43c5459
--- /dev/null
+++ b/recipes-core/hdmi-hotplug/files/apalis-tk1/hdmi.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export XAUTHORITY=/home/root/.Xauthority
+export DISPLAY=:0.0
+DISPLAY=:0.0 xrandr --output HDMI-0 --auto --primary --output LVDS-0 --auto --right-of HDMI-0
+lxpanelctl restart