I tried that, but chrt keeps the prio on 0 for me (SCHED_OTHER). When manually setting it to 99 it works but that needs sudo, and I do not want to run synergyc as root when I do not have to. I automated this by creating a file 'startsynergyc.sh' with file mode 6755 and the following contents:
I tried that, but chrt keeps the prio on 0 for me (SCHED_OTHER). When manually setting it to 99 it works but that needs sudo, and I do not want to run synergyc as root when I do not have to. I automated this by creating a file 'startsynergyc.sh' with file mode 6755 and the following contents:
/usr/bin/synergyc myserver; pgrep synergyc | sudo xargs chrt -p 99
It now works for me when running synergyc as user again.