Allow (feral)gamemode to renice processes

gamemode fails to renice game processes. After some research, I found the solution might be adding a line
MYUSERNAME - nice -15
to /etc/security/limits.conf
I did not find the file on opensuse except a directory ‘limits.d’ under /etc/security.
Any idea?

@bonedriven that’s because ‘system’ files moved to /usr in this case /usr/etc/security/ /etc is for you to use to allow modifications to override the defaults and create your own file in /etc/security/limits.d/ for your requirements.

Thanks ! It works great now. BTW, does it mean that opensuse is better than other distros who put limit.conf directly under /etc/security ?! :stuck_out_tongue:

@bonedriven well /etc is for the system admin to use, /usr for vendor… See openSUSE:usr merge - openSUSE Wiki and TheCaseForTheUsrMerge

1 Like