Re: Priorities for Desktop

Dan Kegel <[email protected]>
Newsgroups gmane.linux.redhat.release.phoebe
Message-ID <[email protected]>
Maynard Kuona wrote:
> Is there any way to set default nice values for apps. I want to run my
> media player (Net-Rhythmbox) at greater than default priority every time
> I start it without having to do it manually....

Write a setuid root wrapper program that launches the real net-rhythmbox with
the desired priority, and run that instead.  You can do this with
a shell script if you're not worried about security, probably.

> I also want to know how to increase priority for focused windows though.
> Although I hear the new kernel (2.6) will be able to do that.

Yes, the 2.6 kernel ought to get rid of the needs for such hacks.
- Dan

-- 
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045



-- 
Phoebe-list mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/phoebe-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.