Rahul Sandhu c2c8f83483 acct-user/greetd: install with a home directory
Some graphical greeters, such as gtkgreet and wlgreet, store various
things in their home directory, such as the mesa shader cache. Having
a home directory also doesn't hurt for greeters that don't make use of
it.

As an example, greeters using Wayland compositors will attempt to cache
shaders in the $HOME/.cache/mesa_shader_cache directory. Also, greetd
explicitly is designed to not really care about the greeter in use, so
it doesn't make sense to NOT have a home directory for the greeter: the
lack of one is making an assumption about the greeter run by greetd and
serves little purpose (having an extra empty directory for greeters not
making use of a home directory doesn't hurt).

With regard to other distros, Debian also creates a home directory for
their greetd user[1][2], as does Fedora[3].

[1] https://salsa.debian.org/debian/greetd/-/blob/master/debian/greetd.postinst?ref_type=heads#L6
[2] https://salsa.debian.org/debian/greetd/-/blob/master/debian/greetd.postinst?ref_type=heads#L12-13
[3] https://src.fedoraproject.org/rpms/greetd/blob/rawhide/f/greetd.sysusers

Signed-off-by: Rahul Sandhu <nvraxn@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44139
Closes: https://github.com/gentoo/gentoo/pull/44139
Signed-off-by: Sam James <sam@gentoo.org>
2025-11-13 18:51:14 +00:00
2025-11-13 12:24:48 +00:00
2025-11-13 19:24:27 +02:00
2025-11-12 09:40:31 +00:00
2025-11-13 07:09:33 -05:00
2025-11-12 13:08:35 -05:00
2025-11-12 12:53:34 +01:00
2025-11-04 10:45:41 +01:00
2025-11-12 13:15:28 -05:00
2025-11-13 07:42:33 +01:00
2025-11-12 03:26:13 +00:00
2025-10-30 09:37:30 +01:00
2025-11-04 18:00:59 +01:00
2025-11-12 13:17:31 -05:00
2025-10-09 21:43:23 +01:00
2025-11-10 23:39:32 +01:00
2025-11-10 23:39:31 +01:00
2025-11-05 21:11:14 +02:00
2025-11-12 13:18:12 -05:00
2025-11-12 09:48:37 +00:00
2025-11-11 15:26:16 +01:00
2025-11-12 15:35:52 -06:00
2025-11-04 09:13:46 +01:00
2025-11-09 11:55:17 +01:00
2025-11-12 22:43:29 +01:00
2025-11-06 20:29:20 +01:00
2025-11-12 23:46:45 +01:00
2025-11-04 09:20:05 +01:00
2025-11-12 09:40:27 +00:00
2025-11-06 17:58:58 +01:00
2025-11-12 08:29:00 -08:00
2025-11-12 13:17:47 -05:00
2025-11-05 21:09:41 +02:00
2025-11-12 10:44:43 +01:00
…
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%