Active Topics

 


Reply
Thread Tools
joerg_rw's Avatar
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.
 

The Following 8 Users Say Thank You to joerg_rw For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 03:32.