Hi,<br><br>Incidentially, you may have found this bug useful once upon a time: <a href="https://bugs.maemo.org/show_bug.cgi?id=374">https://bugs.maemo.org/show_bug.cgi?id=374</a> *grin*<br><br>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.<br>
<br>Regards,<br>Faheem<br><br><div class="gmail_quote">On Wed, Jun 17, 2009 at 5:28 AM, Nick Nobody <span dir="ltr"><<a href="mailto:me@nikosapi.org">me@nikosapi.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Is there a way to specify a default nice value for an application on maemo? I<br>
noticed that if an application is launched by the menu directly from an<br>
executable (using the Exec variable in the .desktop file) it gets a nice value<br>
of -1. But, if the application is started over D-Bus (using the X-Osso-Service<br>
variable in the .desktop file) it gets a nice value of 0.<br>
<br>
The application I'm working on needs at least a nice value of -1 or else it<br>
becomes unusable. Is there a way to make this happen while still being able to<br>
start the application over D-Bus?<br>
<br>
Thanks,<br>
<br>
nick<br>
_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
</blockquote></div><br>