I would advise installing a login.conf.d file with the suggested limits,
and just ask the user to set the group. That way, if you need to tweak it
in the future, the file will be updated automatically. Otherwise you'll
somehow need to get them to pay attention to the changed part of the
pkg-readme and update the file by hand.
--
Sent from a phone, apologies for poor formatting.
On 21 May 2025 05:42:40 Sebastien Marie <sema...@kapouay.eu.org> wrote:
Rafael Sadowski <raf...@sizeofvoid.org> writes:
+Resource limits
+===============
+
+The "default" login-class resource limits are too conservative for KDE Plasma
+users. It is recommended to create a new login-class based on the "default"
+class for all KDE Plasma users. Here is an example for /etc/login.conf.d/kde:
+
+kde:\
+ :datasize=8192M:\
+ :openfiles-cur=2048:\
+ :openfiles-max=4096:\
+ :tc=daemon:
+
the wording (inherit from "default") doesn't correspond to the effective
declaration. you should have ":tc=default:" instead of ":tc=daemon:" on
the last line.
Regards.
--
Sebastien Marie