summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gpe-xsession/gpe-dm/files/Xserver')
-rw-r--r--gpe-xsession/gpe-dm/files/Xserver42
1 files changed, 38 insertions, 4 deletions
diff --git a/gpe-xsession/gpe-dm/files/Xserver b/gpe-xsession/gpe-dm/files/Xserver
index df5c880..ad8754c 100644
--- a/gpe-xsession/gpe-dm/files/Xserver
+++ b/gpe-xsession/gpe-dm/files/Xserver
@@ -1,6 +1,40 @@
#!/bin/sh
-# Sample config file, edit as needed
-# FIXME: Needs some variety of examples to aid users configuring the Xserver
+# /etc/X11/gpe-dm/Xserver: The Xserver startup script of gpe-dm.
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# Angelo Arrifano <miknix@gentoo.org>
+# $Header: $
+
+############################################################################
+# NOTE: If you are using Xorg, you should edit /etc/X11/xorg.conf instead. #
+############################################################################
+
+# The input devices available on your device.
+#INPUT_DEVICES="${INPUT_DEVICES} -mouse tslib,,device=/dev/input/ts"
+#INPUT_DEVICES="${INPUT_DEVICES} -keybd keyboard,,device=/dev/input/keypad"
+#INPUT_DEVICES="${INPUT_DEVICES} -keybd keyboard,,device=/dev/input/dpad"
+INPUT_DEVICES="${INPUT_DEVICES} -mouse tslib,,device=/dev/input/ts"
+INPUT_DEVICES="${INPUT_DEVICES} -keybd keyboard,,device=/dev/input/keypad"
+
+# Your screen resolution, it should work even if you don't set it.
+#SCREEN_GEOMETRY="-screen 320x240" # QVGA
+#SCREEN_GEOMETRY="-screen 640x480" # VGA
+SCREEN_GEOMETRY=""
+
+# The screen DPI
+#SCREEN_DPI="-dpi 100"
+SCREEN_DPI=""
+
+# The framebuffer device, set if your device name is non startard
+# our would like to use another device.
+#FB_DEVICE="-fb /dev/fb1"
+FB_DEVICE=""
+
+# Additional Xserver parameters.
+EXTRA_ARGS="-br -pn"
+
+# Choose the Xserver to start.
+# Rule of the thumb: Xfbdev for embedded and Xorg for desktops.
+#exec Xfbdev ${SCREEN_GEOMETRY} ${SCREEN_DPI} ${FB_DEVICE} ${INPUT_DEVICES} ${EXTRA_ARGS}
+exec Xorg :0 -audit 0 -nolisten tcp vt7
-# The Xserver and parameters for (example) the HTC Wizard
-exec Xfbdev -mouse tslib,,device=/dev/input/ts -keybd keyboard,,device=/dev/input/keypad -keybd keyboard,,device=/dev/input/dpad