summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/xserver/init-hooks
diff options
context:
space:
mode:
authorDirk von Suchodoletz2008-08-11 00:20:13 +0200
committerDirk von Suchodoletz2008-08-11 00:20:13 +0200
commit887f82a3fbd153955adc6da28fbca37375d217df (patch)
treef5c50386ac9b656f0aa7d5fd1159db9e376e3514 /os-plugins/plugins/xserver/init-hooks
parentBeagle hides very well (if anybody knows where in SuSE 11 please tell, (diff)
downloadcore-887f82a3fbd153955adc6da28fbca37375d217df.tar.gz
core-887f82a3fbd153955adc6da28fbca37375d217df.tar.xz
core-887f82a3fbd153955adc6da28fbca37375d217df.zip
Add an option to use ddcinfo for display/monitor setup. In some
cases like with the savage chip (T22) the proper setup fails, if no proper H/V syncs are defined ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2021 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/xserver/init-hooks')
-rw-r--r--os-plugins/plugins/xserver/init-hooks/00-started/xserver.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/os-plugins/plugins/xserver/init-hooks/00-started/xserver.sh b/os-plugins/plugins/xserver/init-hooks/00-started/xserver.sh
new file mode 100644
index 00000000..1b8171cc
--- /dev/null
+++ b/os-plugins/plugins/xserver/init-hooks/00-started/xserver.sh
@@ -0,0 +1,8 @@
+#!/bin/ash
+# get an idea of the installed graphics hardware - might be needed if the
+# automatic Xorg configation fails in this field. If no useable info was
+# detected just delete the file.
+
+( hwinfo --monitor >/etc/hwinfo.display; grep "Generic Monitor" \
+ /etc/hwinfo.display >/dev/null 2>&1 && rm /etc/hwinfo.display ) &
+