Comment 12 for bug 108718

Revision history for this message
AndyDap (gate2a) wrote :

I´m no linux expert by any stretch but the ´sudo´ commands mentioned above appear wrong to me (John Seales refers to them).

As I understand it, the command is invoking superuser/root authority (sudo) and then doing it again with su (super user). It should be one or the other. The -c has something to do with applying some sort of user parameter, rather than roots (not sure on that). The ´echo´ command normally just ´echoes´ whatever you type on the keyboard back to standard output, normally your PCs monitor. The ´>>´ changes that to appending that echo to the end of the two files in /etc/security.

So, correct me if I´m wrong but I think this would work:

sudo echo ´@audio - rtprio 99´ >> /etc/security/limits.conf
sudo echo ´@audio - memlock 250000´ >> /etc/security/limits.conf
sudo echo ´@audio - nice -10´ >> /etc/security/limits.conf

but it would be easier if you just used:

sudo gedit

... then just added the lines

@audio - rtprio 99
@audio - memlock 250000
@audio - nice -10

... at the end.

Please, correct me if I´m wrong. Ubuntu Studio controls didn´t seem to have a spot to add the rtprio switch, so I just added them all with gedit.

I still have to switch jack on and off, depending on what application I´m using and whether it needs jack, alsa, pulseaudio, etc. Real pain, but at least jack is working now.