Download raw body.
KDE Plasma Readme: Mention resource limits and other workarounds
KDE Plasma Readme: Mention resource limits and other workarounds
KDE Plasma Readme: Mention resource limits and other workarounds
KDE Plasma Readme: Mention resource limits and other workarounds
oh no not cap_mkdb...
--
Sent from a phone, apologies for poor formatting.
On 21 May 2025 05:55:21 Rafael Sadowski <rafael@sizeofvoid.org> wrote:
> On Wed May 21, 2025 at 06:42:17AM +0200, Sebastien Marie wrote:
>> Rafael Sadowski <rafael@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.
>
> Hi Sebastien,
>
> copy&waste err, fixed. I also fixed a typo and added a cap_mkdb example.
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/meta/kde/Makefile,v
> diff -u -p -r1.38 Makefile
> --- Makefile 11 May 2025 05:27:01 -0000 1.38
> +++ Makefile 21 May 2025 04:52:57 -0000
> @@ -30,6 +30,8 @@ PKGNAME-utils = kde-utils-${MODKDE_GEAR
> PKGNAME-plasma = kde-plasma-${MODKDE_PLASMA_VERSION}
> PKGNAME-plasma-extras = kde-plasma-extras-${MODKDE_PLASMA_VERSION}
>
> +REVISION-plasma = 0
> +
> MULTI_PACKAGES += -main \
> -games \
> -admin \
> Index: pkg/README-plasma
> ===================================================================
> RCS file: /cvs/ports/meta/kde/pkg/README-plasma,v
> diff -u -p -r1.4 README-plasma
> --- pkg/README-plasma 9 Feb 2025 09:04:15 -0000 1.4
> +++ pkg/README-plasma 21 May 2025 04:52:57 -0000
> @@ -45,11 +45,37 @@ proper function, it requires messagebus
> consolekit2 and polkit-kde-agent, it will also allow you to suspend the
> laptop from the logout dialog.
>
> +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=default:
> +
> +Depending on your use-case and if KDE widgets or plasmashell keep
> crashing, the
> +value must be set higher accordingly.
> +
> +You can change the login class for the user to be created with:
> +
> +# cap_mkdb -f /etc/login.conf.db /etc/login.conf.d/* /etc/login.conf
> +# usermod -L kde your-user-name
> +
> +Touch screen calibration
> +========================
> +xtsscale(1) can be used for touch screen calibration, however it will not
> +work under kwin, as a workaround, you can kill kwin first, calibrate your
> +screen, then launch kwin_x11 again.
> +
> Screen compositor
> =================
> -The KDE compositor may not run properly by default. You can deactivate it
> -under: "System Setting" -> "Display Configuration" -> "Compositor" or
> -in `~/.config/kwinrc":
> +You can deactivate the screen compositor under: "System Setting" -> "Display
> +Configuration" -> "Compositor" or in `~/.config/kwinrc":
>
> [Compositing]
> Enabled=false
> @@ -90,11 +116,11 @@ ${LOCALBASE}/bin/ck-launch-session dbus-
> Known issues
> ============
> - The first start may take a little longer.
> +- Touchscreen configuration does not work
>
> Not yet ported Plasma applications/plugins
> ==========================================
> - aura-browser
> - - kpipewire
> - bluedevil
> - breeze-plymouth
> - discover
KDE Plasma Readme: Mention resource limits and other workarounds
KDE Plasma Readme: Mention resource limits and other workarounds
KDE Plasma Readme: Mention resource limits and other workarounds
KDE Plasma Readme: Mention resource limits and other workarounds