Intro
Downloads
Community
Development
News
TALK
Power Search
Today's Posts
Search
Register
Talk FAQ
Community
Forgot Password?
Active Topics
Error after installing Leste on sdcard (18)
to
Maemo 7 / Leste
by Maemish - 10 hrs, 23 mins ago
Maemo 20th Anniversary (4)
to
Brainstorm
by teroyk - 2 days, 5 hrs ago
Nokia Booklet 3G (RX-75) Drivers (64)
to
Alternatives
by teroyk - 2 days, 5 hrs ago
Porting apps to Leste (46)
to
Maemo 7 / Leste
by teroyk - 4 days, 9 hrs ago
more...
maemo.org
>
Talk
>
OS / Platform
>
Development
> Application Instance
Community Links
Members List
Search Forums
Show Threads
Show Posts
Tag Search
Advanced Search
Find All Thanked Posts
Go to Page...
Page 2 of 2
< Prev
1
2
Thread Tools
waelfarouk0
2010-07-13 , 07:42
Posts: 64 | Thanked: 13 times | Joined on Apr 2010
#
11
Works fine now
i fixed my startup script to be like this
start on started hildon-desktop
stop on stopped hal
#stop on stopped dbus
respawn
respawn limit 15 3
script
## get dbus session bus address
sleep 2
PATH="/bin/:/usr/bin"
pids=`pgrep dbus-daemon`
for pid in $pids; do
FILE=`cat /proc/$pid/environ | perl -pe 's/\x0/\n/g'|grep SESSION_BUS_ADDRESS_FILE \
|sed -e 's/SESSION_BUS_ADDRESS_FILE=//g'`
done
eval `cat $FILE`
export DISPLAY=:0.0
exec su user -c "exec /usr/bin/appname"
sleep 5
end script
Last edited by waelfarouk0; 2010-07-13 at
08:21
.
Quote & Reply
|
waelfarouk0
View Public Profile
Send a private message to waelfarouk0
Find all posts by waelfarouk0
Page 2 of 2
< Prev
1
2
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Talk
General
Brainstorm
Community
Off Topic
Software
Applications
Multimedia
Games
Themes
Design
OS / Platform
SailfishOS
NeoFremantle
MeeGo / Harmattan
Maemo 5 / Fremantle
Maemo 7 / Leste
OS2008 / Maemo 4 / Chinook - Diablo
OS2006 / Maemo 2 / Mistral - Scirocco - Gregale
Development
Alternatives
Android
FirefoxOS
Nemo Mobile
Tizen
Ubuntu
Devices
Sailfishes
Turing Phone
JollaC & Intex Aqua Fish
Jolla Tablet
Jolla1 & TOH
The Other Half
Neo900
Nokia N9 / N950
Nokia N900
Nokia N810
Nokia N800
Nokia 770
Accessories
Competitors
Buy & Sell
Old
News
Announcements
Troubleshooting
Upgrading
Newbie
Tablet 101
OS2007 / Maemo 3 / Bora
OS2005 / Maemo 1
All times are GMT. The time now is
19:57
.
-- talk.maemo.org
-- Classic Light
---- Classic Dark
-- Minimalist Light
---- Minimalist Dark
Contact Us
-
Home
-
Archive
-
Top
i fixed my startup script to be like this
start on started hildon-desktop
stop on stopped hal
#stop on stopped dbus
respawn
respawn limit 15 3
script
## get dbus session bus address
sleep 2
PATH="/bin/:/usr/bin"
pids=`pgrep dbus-daemon`
for pid in $pids; do
FILE=`cat /proc/$pid/environ | perl -pe 's/\x0/\n/g'|grep SESSION_BUS_ADDRESS_FILE \
|sed -e 's/SESSION_BUS_ADDRESS_FILE=//g'`
done
eval `cat $FILE`
export DISPLAY=:0.0
exec su user -c "exec /usr/bin/appname"
sleep 5
end script
Last edited by waelfarouk0; 2010-07-13 at 08:21.