|
2015-04-07
, 19:45
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#2
|
|
2015-04-07
, 20:53
|
Posts: 1,100 |
Thanked: 2,797 times |
Joined on Apr 2011
@ Netherlands
|
#3
|
dbus-send --type=method_call --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:"worldclock"
The Following 6 Users Say Thank You to ade For This Useful Post: | ||
|
2015-04-09
, 15:29
|
Posts: 136 |
Thanked: 263 times |
Joined on Nov 2012
@ Germany
|
#4
|
#!/bin/sh dbus-send --type=method_call --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:"worldclock" sleep 3 run-standalone.sh /opt/cooktimer/cooktimer &
|
2015-04-09
, 21:11
|
Posts: 2,290 |
Thanked: 4,134 times |
Joined on Apr 2010
@ UK
|
#5
|
The Following User Says Thank You to sixwheeledbeast For This Useful Post: | ||
|
2015-04-13
, 21:31
|
Posts: 136 |
Thanked: 263 times |
Joined on Nov 2012
@ Germany
|
#6
|
Is it not better to make a upstart script instead of triggering a script with upstart.
http://upstart.ubuntu.com/cookbook/
|
2015-04-14
, 10:35
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#7
|
description "start worldclock on boot"
author "peterleinchen"
start on started hildon-desktop
#respawn
exec su user -c "run-standalone.sh dbus-send --type=method_call --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:\"worldclock\""
|
2015-04-15
, 10:21
|
Posts: 136 |
Thanked: 263 times |
Joined on Nov 2012
@ Germany
|
#8
|
|
2015-04-15
, 11:58
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#9
|
Solved, many thanks. Just an ampersand was missing again at the end of the line in order to get subsequent lines executed.
more than one command the lines "script" and "end script" must be inserted.
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2015-04-15
, 14:04
|
Posts: 136 |
Thanked: 263 times |
Joined on Nov 2012
@ Germany
|
#10
|
start on started hildon-desktop script sleep 30 exec su user -c "/home/user/autostart.sh" end script
#!/bin/sh run-standalone.sh /usr/bin/worldclock & sleep 1 run-standalone.sh /opt/cooktimer/cooktimer &
start on started hildon-desktop script sleep 30 exec su user -c "run-standalone.sh /usr/bin/worldclock" & sleep 1 exec su user -c "run-standalone.sh /opt/cooktimer/cooktimer" & end script
The Following 2 Users Say Thank You to rasmarc For This Useful Post: | ||
I want to put the command in an autostart-script:
/etc/event.d/autostart: