Houston4444 / RaySession

Session manager for linux musical programs
GNU General Public License v2.0
166 stars 18 forks source link

Raysession and client priorities #116

Open newlaurent62 opened 3 years ago

newlaurent62 commented 3 years ago

Hello,

Does raysession handle process priority ?

I would like to start some process with the nice command. nice -n -20 Jamulus

or nice -n +20 firefox

Kind Regards, Laurent

Houston4444 commented 3 years ago

Hello. There is nothing implemented for that !

What you can do is : add a nice_jamulus file to your $PATH (e.g. ~/bin/). write in this file:

#!/bin/bash
exec nice -n 20 Jamulus "$@"

set this file as executable. change executable in your Jamulus RS client to nice_jamulus.

other subject: have you seen this : #112 ? I would be happy if you try this branch and make some feedback.

Cheers.