summaryrefslogtreecommitdiff
path: root/packages/qtopia-phone/qtopia-phone-x11
diff options
context:
space:
mode:
Diffstat (limited to 'packages/qtopia-phone/qtopia-phone-x11')
-rw-r--r--packages/qtopia-phone/qtopia-phone-x11/Xsession.d/.mtn2git_empty0
-rw-r--r--packages/qtopia-phone/qtopia-phone-x11/Xsession.d/99qtopia33
2 files changed, 33 insertions, 0 deletions
diff --git a/packages/qtopia-phone/qtopia-phone-x11/Xsession.d/.mtn2git_empty b/packages/qtopia-phone/qtopia-phone-x11/Xsession.d/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/qtopia-phone/qtopia-phone-x11/Xsession.d/.mtn2git_empty
diff --git a/packages/qtopia-phone/qtopia-phone-x11/Xsession.d/99qtopia b/packages/qtopia-phone/qtopia-phone-x11/Xsession.d/99qtopia
new file mode 100644
index 0000000000..3eca6bba91
--- /dev/null
+++ b/packages/qtopia-phone/qtopia-phone-x11/Xsession.d/99qtopia
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+# path setup
+export QPEDIR=/opt/Qtopia
+export PATH=$QPEDIR/bin:$PATH
+
+#tell how to inform illume on incoming phone calls
+#export ILLUME_PHONE_CALL=
+
+
+# xmodmap to allow the soft-menu to work
+xmodmap -e "keycode 223 = 0x11000601"
+xmodmap -e "keycode 224 = 0x11000602"
+xmodmap -e "keycode 225 = 0x11000603"
+xmodmap -e "keycode 226 = 0x11000604"
+xmodmap -e "keycode 227 = 0x11000605"
+xmodmap -e "keycode 228 = 0x11000606"
+xmodmap -e "keycode 229 = 0x11000607"
+xmodmap -e "keycode 230 = 0x11000608"
+xmodmap -e "keycode 231 = 0x11000609"
+xmodmap -e "keycode 232 = 0x1100060A"
+xmodmap -e "keycode 232 = 0x1100060B"
+xmodmap -e "keycode 233 = 0x1100060B"
+xmodmap -e "keycode 232 = 0x1100060A"
+xmodmap -e "keycode 234 = 0x1100060C"
+xmodmap -e "keycode 235 = 0x1100060D"
+xmodmap -e "keycode 236 = 0x1100060E"
+xmodmap -e "keycode 237 = 0x1100060F"
+xmodmap -e "keycode 238 = 0x11000610"
+xmodmap -e "keycode 239 = 0x1008ff26"
+
+# Now start Qtopia
+exec qpe