Page 1 of 1

cannot save changes in terminal

PostPosted: Jan 19th, '14, 03:40
by marten
hi,i am fairly new to linux, i have been trying to get qjackctl to work properly.When i go to konsole as su and make the changes eg.. ulimit -r 95 and ulimit -l unlimited,i cant save the changes,i cant find any save key or button.......what am i doing wrong :oops:

Re: cannot save changes in terminal

PostPosted: Jan 19th, '14, 15:58
by doktor5000
There is no save button. ulimit is a command which does the change for your current session.
If you want to change it permanently, you have to add the value you want fo the users you want to change it for into /etc/security/limits.conf
You may also want to have a look at the man page via
Code: Select all
man limits.conf


Apart from that, what do you actually want to achieve by changing realtime scheduling priorities?

Re: cannot save changes in terminal

PostPosted: Jan 19th, '14, 20:01
by wintpe
its probably worth noting for all newbies

this is how linux works, and has always worked

theres no registry, that utilities write into.

its all about dozens of scripts running during start up, reading settings from config files, and setting
them for that boot (thats for the system).

then

everytime you login, as your session is started up, your personal settings files that are stored in your home directory are all read and
all the .files (dot-files that is) (or sometimes refered to as hidden files) in your home directory are read and those settings are applied to your personal session.

so if you want to change a system setting you have to start a terminal or use a tool, that asks you for roots password.
(in a terminals case you have to su - first). (su alone is OK in some cases, the - (minus) means read the new users startup files, as you change to its ID)

if you want to change a setting that is in your session, so it takes effect the next time "you" login, then you do it as yourself.
this then saves it to your personal config files in your home directory.

Its this distinction that makes linux so much more resiliant to malware.

hope that helps, as ive seen a few questions and points of view posted that seem to missunderstand this.

regards peter