[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: umask - default user settings?



On 15/07/2024 01:10, Greg Wooledge wrote:
On Sun, Jul 14, 2024 at 19:57:45 +0200, tomas@tuxteam.de wrote:
The place to do this is the X session [1]; system-wide in
/etc/X11/Xsession.d/... and for each user in ~/.xsessionrc.

Does that work in KDE?

First of all, it is up to display manager to read or to ignore ~/.profile and ~/.xsessionrc. SDDM reads them. However it affects only /usr/bin/startplasma-x11 subtree. Most user applications are started under "/lib/systemd/systemd --user"

https://wiki.archlinux.org/title/umask#Set_umask_value_for_KDE_/_Plasma
Setting the umask value via /etc/profile does no longer work for KDE /
Plasma sessions because these are started as systemd user units.

...and some recipes.



Reply to: