This scripts prompts you to enter your username and then it uses it inside the script to give realtime priority to that user
read -p "Enter username: " USERNAME && echo -e "$USERNAME - rtprio 99\n$USERNAME - nice -10" | sudo tee -a /etc/security/limits.conf
when you run renoise you need to run it as sudo
so you no longer need to sudo open renoise:
sudo -s
chown root:root `which renoise`
chmod 4755 `which renoise`
No comments:
Post a Comment