Thread
:
HOWTO start arbitrary apps on bootup
View Single Post
joerg_rw
2011-02-28 , 18:42
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#
1
there's a lot of hacks to start processes on boottime, like adding a QueenBeecon button and set to execute-once.
The generic way however is to add
Code:
X-Maemo-Prestarted=always X-Maemo-Prestarted-Priority=<somehigh1000number>
to the .desktop file of the app to start in /usr/share/applications/hildon.
This will start the app after hildon-desktop got initialized and all the background magic that's happening during boot releases the CPU. This might take some 2..3 minutes.
Tested with xchat, works just fine. After CPU got a few moments of spare time, xchat starts up and window goes on top.
(the X-Maemo-Prestarted-Priority is a sequence number. calendar got 3000, so I used 5000 to make xchat start after calendar background process)
[edit] I stopped using this for xchat, since there's no way to
stop
an app which got started this way, it always gets respawned. Alas X-Maemo-Prestarted= doesn't take any other meaningful arguments than "always"
/jOERG
__________________
Maemo Community Council
member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council
inaugural member.
MCe.V. foundation member
EX
Hildon Foundation approved
Maemo Administration Coordinator
(stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running
-
Devotion to Duty
http://xkcd.com/705/
IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of
H-E-N
Last edited by joerg_rw; 2012-10-30 at
15:47
.
Quote & Reply
|
The Following 8 Users Say Thank You to joerg_rw For This Useful Post:
cfh11
,
Char
,
gionni88
,
Mentalist Traceur
,
mr_pingu
,
nicolai
,
Raif
,
woody14619
joerg_rw
View Public Profile
Visit joerg_rw's homepage!
Find all posts by joerg_rw