summaryrefslogtreecommitdiff
path: root/packages/qtopia-phone/qtopia-phone-x11/Xsession.d/99qtopia
blob: 0496deff86038b1e80a7b1b53bee8d3bd3a534bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh

# path setup
export QPEDIR=/opt/Qtopia
export PATH=$QPEDIR/bin:$PATH
export LD_LIBRARY_PATH=$QPEDIR/lib:$LD_LIBRARY_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