Commit graph

399 commits

Author SHA1 Message Date
Ashley Wulber
b87331f4eb fix: for exclusive keyboard interactivity layer must be >= Top
moves osk to overlay
2026-09-22 17:10:59 -06:00
Jeremy Soller
4c1e532b69 Reduce keyboard layout max width 2026-09-22 17:10:59 -06:00
Jeremy Soller
04d61e30c5 Move greeter surface to bottom to allow OSK to show on top 2026-09-22 17:10:59 -06:00
Jeremy Soller
ce726d8470 OSK integration 2026-09-22 17:10:59 -06:00
Jeremy Soller
db39ee661d Remove zed settings and use stable rustfmt 2026-09-22 17:10:59 -06:00
Nara Díaz Viñolas
bbf553e284 fix: compilation error on greeter bin 2026-09-21 22:55:38 +02:00
Nara Díaz Viñolas
b9587deadb chore: put systemd-homed extra support behind 'systemd' feature 2026-09-21 22:55:38 +02:00
Nara Díaz Viñolas
8ff96e94f7 feat: load user icon and background from systemd-homed paths as a
fallback
2026-09-21 22:55:38 +02:00
Nara Díaz Viñolas
63c2812959 fix: add systemd-homed reported uids to user filter 2026-09-21 22:55:38 +02:00
Ashley Wulber
0b0d2925ff chore: blur updates 2026-09-16 11:12:18 -06:00
Michael Murphy
bb5c7e12a4
i18n: translation update from Hosted Weblate (#529)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for [Pop OS/COSMIC
Greeter](https://hosted.weblate.org/projects/pop-os/cosmic-greeter/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/pop-os/cosmic-greeter/matrix-auto.svg)
2026-09-15 21:55:52 +02:00
Hosted Weblate
31ca2e67b3
i18n: translation updates from weblate
Co-authored-by: Amadɣas <massiin@proton.me>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Kurt Harren Catindig <kurtharrencatindig03@gmail.com>
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Co-authored-by: Satakun Utama <galaxytomostore@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/kab/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/oc/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/th/
Translation: Pop OS/COSMIC Greeter
2026-09-12 13:51:38 +02:00
Ian Douglas Scott
06a762caca locker: Rely on cosmic-bg for showing background
Requires https://github.com/pop-os/cosmic-comp/pull/2792 and
https://github.com/pop-os/cosmic-bg/pull/144.
2026-09-11 14:38:19 -06:00
Hojjat
601e16af0e chore: adapt to the changes in libcosmic 2026-09-11 21:49:05 +02:00
Jeremy Soller
ff31b59b7d
Fix error when compiling without logind feature (#536)
`crate::logind::is_available()` function was used despite `logind`
module being gated behind `logind` feature, `cfg!(feature = "logind")`
was used wrongly here as it doesn't remove surrounding code from
compilation.

Additionally initialized nix development shell and a nix package with
support for flakes and legacy nix, let me know if it's too complicated
for this repo.

- [x] I have disclosed use of any AI generated code in my commit
messages.
- If you are using an LLM, and do not fully understand the changes it is
making to the code base, do not create a PR.
- In our experience, AI generated code often results in overly complex
code that lacks enough context for a proper fix or feature inclusion.
This results in considerably longer code reviews. Due to this, AI
authored or partially authored PRs may be closed without comment.
- [x] I understand these changes in full and will be able to respond to
review comments.
- [x] My change is accurately described in the commit message.
- [x] My contribution is tested and working as described.
- [x] I have read the [Developer Certificate of
Origin](https://developercertificate.org/) and certify my contribution
under its conditions.
2026-09-09 10:01:53 -06:00
r0chd
14cc125fcd
fix: compile without the logind feature 2026-09-09 10:10:52 +02:00
r0chd
499f13a634
chore: add nix 2026-09-09 10:10:52 +02:00
Frederic Laing
0a16d339a4 fix: remove unused Color import 2026-09-01 15:10:56 -06:00
demi
cde1a13140
fix: handle sequential PAM prompts in greeter and locker 2026-09-01 17:04:46 +02:00
chris-010
935891e36b fix(greeter): do not cancel the session on a non-fatal PAM error message
greetd delivers PAM_ERROR_MSG as an auth message of type Error, and ipc.rs
turned that into Message::Error, which cancels the greetd session. But such a
message describes the current attempt, not the end of the conversation:
pam_fprintd reports "Failed to match fingerprint" this way and then retries
until max-tries is reached.

The consequence at the login screen is that a single failed fingerprint press
ends the conversation. The greeter reconnects and immediately creates a new
session, whose PAM worker calls fprintd's Claim 14 ms later while the previous
worker still holds it, so the claim is denied and no fingerprint prompt ever
appears again. The previous worker only exits when it next tries to talk to the
greeter, which can be arbitrarily far in the future, so delaying the new session
does not help either.

Per the greetd protocol every auth message has to be acknowledged with
PostAuthMessageResponse, and for a non-interactive one the response is None,
which is what the Info arm already does. Route the Error message to its own
Message::AuthError that shows the text and acknowledges it. Message::Error and
the Response::Error path stay as they are, so a failed authentication still
cancels the session.

Drafted with AI assistance (Claude Code); the change and the measurements behind
it were reviewed and tested by me on real hardware.

Signed-off-by: chris-010 <10660568+chris-010@users.noreply.github.com>
2026-08-25 02:33:15 +02:00
Michael Murphy
a133abe686
i18n: translation update from Hosted Weblate (#518)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for [Pop OS/COSMIC
Greeter](https://hosted.weblate.org/projects/pop-os/cosmic-greeter/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/pop-os/cosmic-greeter/matrix-auto.svg)
2026-08-24 20:51:07 +02:00
Hosted Weblate
c35a64e704
i18n: translation updates from weblate
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jens Peter Nielsen <mail@jp-nielsen.dk>
Co-authored-by: lorduskordus <lorduskordus@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/cs/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/da/
Translation: Pop OS/COSMIC Greeter
2026-08-22 19:35:58 +02:00
Michael Aaron Murphy
e9ab9e74a5 feat: enable JPEG-XL and AVIF image support 2026-08-18 18:58:39 +02:00
Michael Murphy
7e7b0261c3
i18n: translation update from Hosted Weblate (#506) 2026-08-18 14:03:26 +02:00
Hosted Weblate
aee6352fdc
i18n: translation updates from weblate
Co-authored-by: CodeBeats <nicholai67@hotmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Martin Meizoso <martinmeizoso@gmail.com>
Co-authored-by: Michael Millet <mikevlet@protonmail.com>
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Co-authored-by: Steen Rabol <steen@rabol.dev>
Co-authored-by: Walter William Beckerleg Bruckman <spayk.99@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/da/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/gl/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/oc/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/pt_BR/
Translation: Pop OS/COSMIC Greeter
2026-08-18 09:08:33 +00:00
chris-010
088f26cbb8 fix: ignore empty responses on the login screen
Message::Auth is constructed in exactly one place, the .on_submit of the
password input, and it forwards whatever the field holds to greetd. An
empty field therefore sends PostAuthMessageResponse with response
Some(""), PAM rejects it, and greetd tears the session down; the greeter
then reconnects with a fresh CreateSession. Every stray Enter costs that
round trip, and while it runs the user is looking at the authenticating
spinner.

Non-interactive auth messages (AuthMessageType::Info) are acknowledged
separately with response None and never reach Message::Auth, so an empty
Some can only come from the user submitting an empty field.

This is the login-screen counterpart of the lock-screen fix in #509. The
two do not overlap; that one guards Message::Submit in locker.rs.

Drafted with AI assistance (Claude Code); the change was reviewed, built
and tested by me as described.

Signed-off-by: chris-010 <10660568+chris-010@users.noreply.github.com>
2026-08-18 04:21:19 +02:00
Ralph S
ae627ab0d0
fix: ignore empty password 2026-08-17 13:45:03 -06:00
Hugo
f64e2d8fab
fix: detect and enable logind functionality at runtime
Downstream distributions have optional logind, but the logind feature
must be defined at compile time. If cosmic-greeter is compiled with
logind support it fails to run on a host that's not running logind.

Detect whether logind is present at runtime, enabling the use of the
same binaries regardless of whether logind is installed or not.
2026-07-29 17:51:37 +02:00
Ian Douglas Scott
d39915ae23 Use cosmic-keymap-unstable-v1 2026-07-28 16:17:56 -04:00
Michael Murphy
15476e3861
i18n: translation update from Hosted Weblate (#479)
i18n: translation updates from weblate






Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/de/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/en_GB/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/fa/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/sat/
Translation: Pop OS/COSMIC Greeter

Co-authored-by: Andi Chandler <andi@gowling.com>
Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Co-authored-by: Prasanta-Hembram <Prasantahembram720@gmail.com>
Co-authored-by: Saeed <s.zare.org.82@gmail.com>
2026-07-28 16:40:34 +02:00
Hosted Weblate
766a77a2a7
i18n: translation updates from weblate
Co-authored-by: Andi Chandler <andi@gowling.com>
Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Prasanta-Hembram <Prasantahembram720@gmail.com>
Co-authored-by: Saeed <s.zare.org.82@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/de/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/en_GB/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/fa/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/sat/
Translation: Pop OS/COSMIC Greeter
2026-07-28 08:01:59 +00:00
Ashley Wulber
2290aae5e2 chore: update libcosmic 2026-07-09 17:51:17 -06:00
Ashley Wulber
95067445be improv: better handling of popover dialog after dropdown 2026-07-09 12:10:46 -06:00
Ashley Wulber
05f09fe33c improv: use the new menu column widget 2026-07-09 12:10:46 -06:00
Ashley Wulber
6a19629f15 fix: update libcosmic 2026-07-09 12:10:46 -06:00
Ashley Wulber
119d98fe7c chore: update deps 2026-07-09 12:10:46 -06:00
Ashley Wulber
0b7803077a feat: blur 2026-07-09 12:10:46 -06:00
Fred
953478f801
feat: use spinner widget from libcosmic for authentication 2026-06-24 19:12:46 +02:00
Daniel Fox Franke
b877ea6573
fix(justfile): bash syntax error if SOURCE_GIT_HASH was set 2026-06-24 17:03:08 +02:00
Michael Murphy
a57265f480
i18n: translation update from Hosted Weblate (#462)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for [Pop OS/COSMIC
Greeter](https://hosted.weblate.org/projects/pop-os/cosmic-greeter/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/pop-os/cosmic-greeter/horizontal-auto.svg)
2026-06-23 17:12:31 +02:00
Hosted Weblate
4b2b044582
i18n: translation updates from weblate
Co-authored-by: CYAXXX <85353920+CYAXXX@users.noreply.github.com>
Co-authored-by: Fedorov Alexei <aleksejfedorov963@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/kmr/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/ru/
Translation: Pop OS/COSMIC Greeter
2026-06-23 09:01:23 +02:00
Jeremy Soller
7a0c083f01
Autofill SOURCE_DATE_EPOCH and SOURCE_GIT_HASH during vendoring (#464)
- [X] I have disclosed use of any AI generated code in my commit
messages.
- If you are using an LLM, and do not fully understand the changes it is
making to the code base, do not create a PR.
- In our experience, AI generated code often results in overly complex
code that lacks enough context for a proper fix or feature inclusion.
This results in considerably longer code reviews. Due to this, AI
authored or partially authored PRs may be closed without comment.
- [X] I understand these changes in full and will be able to respond to
review comments.
- [X] My change is accurately described in the commit message.
- [X] My contribution is tested and working as described.
- [X] I have read the [Developer Certificate of
Origin](https://developercertificate.org/) and certify my contribution
under its conditions.

This is a small fix to autofill correct defaults for SOURCE_DATE_EPOCH
and SOURCE_GIT_HASH when running `just vendor`. See
https://github.com/pop-os/cosmic-epoch/issues/3571 for further context.
2026-06-09 07:59:08 -06:00
Daniel Fox Franke
4d72264b89 Autofill SOURCE_DATE_EPOCH and SOURCE_GIT_HASH during vendoring 2026-06-01 15:12:07 -04:00
Jeremy Soller
178d5222ee
i18n: translation update from Hosted Weblate (#458)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for [Pop OS/COSMIC
Greeter](https://hosted.weblate.org/projects/pop-os/cosmic-greeter/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/pop-os/cosmic-greeter/horizontal-auto.svg)
2026-05-26 08:32:42 -06:00
Hosted Weblate
2a2ba9f68f
i18n: translation updates from weblate
Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Isaac Subirana <isaacsubiranac@gmail.com>
Co-authored-by: Nara Díaz Viñolas <nara.diaz.vinolas@gmail.com>
Co-authored-by: therealmate <hellogaming91@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/ca/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/hu/
Translation: Pop OS/COSMIC Greeter
2026-05-25 13:12:33 +02:00
Michael Murphy
1047333fbb
i18n: translation update from Hosted Weblate (#449)
Translations update from [Hosted Weblate](https://hosted.weblate.org)
for [Pop OS/COSMIC
Greeter](https://hosted.weblate.org/projects/pop-os/cosmic-greeter/).



Current translation status:

![Weblate translation
status](https://hosted.weblate.org/widget/pop-os/cosmic-greeter/horizontal-auto.svg)
2026-05-12 17:07:22 +02:00
Hosted Weblate
df0a1a4284
i18n: translation updates from weblate
Co-authored-by: BoneNI <bounkirdni@gmail.com>
Co-authored-by: Dan <jonweblin2205@protonmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Марко М. Костић <marko.m.kostic@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/sr/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-greeter/uk/
Translation: Pop OS/COSMIC Greeter
2026-05-11 12:24:07 +02:00
Jeremy Soller
6798cca10c
chore: update libcosmic (#454)
- [x] I have disclosed use of any AI generated code in my commit
messages.
- If you are using an LLM, and do not fully understand the changes it is
making to the code base, do not create a PR.
- In our experience, AI generated code often results in overly complex
code that lacks enough context for a proper fix or feature inclusion.
This results in considerably longer code reviews. Due to this, AI
authored or partially authored PRs may be closed without comment.
- [x] I understand these changes in full and will be able to respond to
review comments.
- [x] My change is accurately described in the commit message.
- [x] My contribution is tested and working as described.
- [x] I have read the [Developer Certificate of
Origin](https://developercertificate.org/) and certify my contribution
under its conditions.
contains a fix for iced described in
https://github.com/pop-os/cosmic-comp/issues/2096 &
https://github.com/pop-os/libcosmic/issues/1253
2026-05-10 07:11:49 -06:00
Ashley Wulber
c9307585a5 chore: update deps 2026-05-07 12:51:01 -04:00
Michael Murphy
2cbfba0c0b
i18n: translation update from Hosted Weblate 2026-04-29 00:21:14 +02:00