Hi, Incidentially, you may have found this bug useful once upon a time: https://bugs.maemo.org/show_bug.cgi?id=374 *grin*
But, anyway, the line you want to search in that bug is setpriority() which'll allow you to override the nice value from your app. Regards, Faheem On Wed, Jun 17, 2009 at 5:28 AM, Nick Nobody <m...@nikosapi.org> wrote: > Hi, > > Is there a way to specify a default nice value for an application on maemo? > I > noticed that if an application is launched by the menu directly from an > executable (using the Exec variable in the .desktop file) it gets a nice > value > of -1. But, if the application is started over D-Bus (using the > X-Osso-Service > variable in the .desktop file) it gets a nice value of 0. > > The application I'm working on needs at least a nice value of -1 or else it > becomes unusable. Is there a way to make this happen while still being able > to > start the application over D-Bus? > > Thanks, > > nick > _______________________________________________ > maemo-developers mailing list > maemo-developers@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers >
_______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers