summaryrefslogtreecommitdiff
path: root/recipes-lxde/lxde-common/lxde-common-0.5.5/hdmiaudio.sh
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2012-07-17 09:56:46 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2012-07-17 09:56:46 +0200
commita905fd65a355ca17ea53545a286052e4429d27d2 (patch)
treeb5259fe86878c83408043914d46a563b5108a212 /recipes-lxde/lxde-common/lxde-common-0.5.5/hdmiaudio.sh
parent32af8f369b9f496b5cdafa8cf171f3cef374a9bd (diff)
append our V1.1 lxde specialities to the oe-tworaz recipes
Diffstat (limited to 'recipes-lxde/lxde-common/lxde-common-0.5.5/hdmiaudio.sh')
-rw-r--r--recipes-lxde/lxde-common/lxde-common-0.5.5/hdmiaudio.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-lxde/lxde-common/lxde-common-0.5.5/hdmiaudio.sh b/recipes-lxde/lxde-common/lxde-common-0.5.5/hdmiaudio.sh
new file mode 100644
index 0000000..e1c1760
--- /dev/null
+++ b/recipes-lxde/lxde-common/lxde-common-0.5.5/hdmiaudio.sh
@@ -0,0 +1,4 @@
+#! /bin/sh
+#LXDM starts X in such a way that hdmi audio is not functional. Changing the Virtual Console corrects this. Is called by lxsessions autostart
+chvt 1 2>&1 > /dev/null
+chvt 7 2>&1 > /dev/null