summaryrefslogtreecommitdiff
path: root/packages/openmoko-base/openmoko-session/session
blob: c7a773efcb66b8bed60bd2410b7f1d104f6d631a (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
#!/bin/sh

export GTK_MODULES="libgtkstylus.so libgtkinput.so"
SHOWCURSOR="no"

matchbox-panel-2 \
	--start-applets=openmoko-panel-mainmenu,systray,startup \
	--end-applets=openmoko-panel-battery,openmoko-panel-gsm,openmoko-panel-gps,openmoko-panel-usb,openmoko-panel-bt,openmoko-panel-clock &

# start old-style panel plugin to get a keyboard
mbinputmgr &

# set default alsa configuration
alsactl restore 0 -f /etc/alsa/stereoout.state

# start UI and dialer
openmoko-footer &
openmoko-today --desktop &
openmoko-dialer &

sleep 1

exec matchbox-window-manager -use_titlebar no -use_cursor $SHOWCURSOR $@