Thread list window loading from opimd (due to opimd has limitations, all messages...
[mokosuite2:appbunch.git] / run-settings.sh
1 #!/bin/bash
2
3 function startproc() {
4 EXEC="mokosettings/mokosettings"
5 if [ "$1" == "debug" ]; then
6 EXEC="LD_LIBRARY_PATH=libmokosuite/.libs gdb mokosettings/.libs/mokosettings"
7 fi
8
9 DISPLAY=":1"
10 if [ "$2" != "" ]; then
11 DISPLAY="$2"
12 fi
13
14 echo $EXEC
15 sudo DISPLAY=$DISPLAY ELM_FINGER=80 ELM_SCALE=2 ELM_THEME=gry DBUS_SYSTEM_BUS_ADDRESS="tcp:host=neo,port=8000" $EXEC
16 }
17
18 make &&
19 cd data && sudo make install && cd .. &&
20 startproc $1 $2
21 #sudo DISPLAY=:1 ELM_FINGER=80 ELM_SCALE=2 ELM_THEME=gry DBUS_SYSTEM_BUS_ADDRESS="tcp:host=neo,port=8000" $DEBUG mokosettings/mokosettings