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