Commit graph

24 commits

Author SHA1 Message Date
bf630a4b57 fix(daemon): resolve outputs.ron from the user's passwd home
The greeter daemon runs as root without HOME set, so
xdg::BaseDirectories resolved the state dir against root's
environment and never found the user's cosmic-comp output layout.
The greeter therefore came up with the default monitor arrangement
instead of the saved one.

Resolve the home directory from the passwd entry of the user being
described, read ~/.local/state/cosmic-comp/outputs.ron directly, and
fall back to an empty list when the file is absent.

Also revert the two version fields that the 1.3.0 bulk bump rewrote by
mistake: greetd_ipc has no 1.3.0 release, and the crate version is kept
at 0.1.0 to stay consistent with Cargo.lock so --locked builds work.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 16:29:20 +02:00
Vukašin Vojinović
9895bd4b43 chore: add rustfmt config 2026-04-29 00:20:17 +02:00
Vukašin Vojinović
b021887c6c chore: update dependencies 2026-04-29 00:20:17 +02:00
Vukašin Vojinović
a7ca33b6eb chore:: clippy 2026-04-29 00:20:17 +02:00
Jeremy Soller
63cd93bddd
Security hardening (#426)
- Switch gid and supplementary groups to user's when reading user's
  config
- Only show users between UID_MIN and UID_MAX in /etc/login.defs
- Open accountsservice icons with O_NOFOLLOW to explicitly disallow
  symlinks
2026-03-13 08:35:18 -06:00
Vukašin Vojinović
7bab53c5b4 chore: clippy 2025-10-27 15:10:24 -06:00
Vukašin Vojinović
31912afaa1 chore: update dependencies
The ICU update reduces binary size by ~20 MB.
2025-09-16 09:28:25 -06:00
Ashley Wulber
79bf2cb4f8 chore: cleanup logs 2025-09-12 23:47:22 +02:00
Ashley Wulber
0e2141ac6c refactor: use randr kdl command
cleanup

chore: update deps

fix: typo
2025-08-29 10:29:15 -04:00
Ashley Wulber
f3f7d5cfb6 feat: load and apply output configs
fix: typo

chore: update deps

cleanup
2025-08-29 10:29:15 -04:00
Ashley Wulber
db59a72eb9 feat: introduce cosmic-greeter-start for state cleanup 2025-08-12 10:59:29 -05:00
Ashley Wulber
9a72c09fed better syncing 2025-08-12 10:59:29 -05:00
Ashley Wulber
abc591db6d refactor: allow entering username 2025-06-27 08:43:04 -04:00
Jeremy Soller
c9913834f2 Cleanup config handling 2025-05-12 14:48:32 -06:00
Jeremy Soller
04c3271f4a Unify user data handling between greeter and locker 2025-05-12 14:48:32 -06:00
Lily Foster
37a96b4b30
Set full_name_opt to None when GECOS data is empty 2024-09-27 10:52:27 -04:00
Josh Megnauth
912017615c
Respect user config for military time
Closes: #96
2024-09-06 21:48:00 -04:00
Michael Aaron Murphy
479fb1064e improv(greeter): use subscription for handling greetd IPC socket 2024-07-31 13:41:31 +02:00
Jeremy Soller
f6ccf0146e
Add greeter keyboard and user selection (#55)
* Add greeter keyboard and user selection

Fixes #37
Fixes #38

* Support switching users and add tooltips to icon buttons

* Implement switching users

* Implement keyboard layout switching

* Ensure that user's xkb_config is used
2024-06-04 22:17:44 -06:00
Lily Foster
4613fbb184
fix: dbus_error usage with zbus 4 2024-05-20 17:01:32 +02:00
Jeremy Soller
df5564e55a
Update libcosmic, fixing race conditions 2024-04-05 09:45:20 -06:00
Jeremy Soller
0d7624b76d Improved greetd error handling 2024-02-22 20:51:10 -07:00
Jeremy Soller
6747366724
Load theme from proxy 2024-02-06 15:48:57 -07:00
Jeremy Soller
fd049483c3
Add daemon to proxy user backgrounds 2024-02-06 15:03:07 -07:00