[SHR-testing] where to get the 'nice' binary

Konstantin Chaosspawn23 at gmx.net
Fri Apr 10 12:13:55 CEST 2009


Joachim Ott wrote:
> 2009/4/8 Konstantin <Chaosspawn23 at gmx.net>:
>> Hi there,
>>
>> I hope someone can help me with that. I'd love to raise the nice-value of apps I
>> start (for example mplayer), but I can't find the nice binary on SHR testing.
>> Any hints as to where to get it? In Ubuntu/Debian, it's in the package
>> coreutils, if that helps, but I didn't find a similar package in the SHR
>> repositories...
> 
> Start the mplayer thru a shellscript, like this:
> 
> #!/bin/sh
> 
> renice -20 $$
> exec mplayer

Great, just what I was looking for! Thanks a lot! :)

P.S.: I've put "$1" after exec mplayer, because that way I can give a file to
play as an argument. Works like a charm :D

Regards,
Konstantin



More information about the support mailing list