shell icon indicating copy to clipboard operation
shell copied to clipboard

[FEATURE] Greeter Implementation posibility?

Open ZerkerEOD opened this issue 1 year ago • 11 comments

What would you like to be added?

With hyprland going to the newest version, it broke SSDM and I needed to create a really bad greeter css setup. Any way to edit the lock screen for a greeter implementation?

How will it help?

Keet the quickshell theme consistent from before logging in.

Extra info

Would be good to have a way to keep the theme consistent from login to logout.

ZerkerEOD avatar Jul 25 '25 07:07 ZerkerEOD

@ZerkerEOD

With hyprland going to the newest version, it broke SSDM ..

In what way? SDDM still works as it should for me

nuknes avatar Jul 25 '25 09:07 nuknes

It's on the to-do list, after the Bluetooth panel and a few other things

soramanew avatar Jul 25 '25 10:07 soramanew

In what way? SDDM still works as it should for me

It appears to be a known issue with hybrid devices. Basically when I go to log in, the screen goes black for a few seconds then takes me right back to the SDDM login screen. Anyone that doesn't have different GPUs do not appear to be affected. It's due to hyprland switching to Aquamarine for rendering in the newest update.

It's on the to-do list, after the Bluetooth panel and a few other things

That's awesome, I have a makeshift greeter that ai gave me. Hard to read and looks like crap but it got me back up and running.

ZerkerEOD avatar Jul 25 '25 11:07 ZerkerEOD

In what way? SDDM still works as it should for me

It appears to be a known issue with hybrid devices. Basically when I go to log in, the screen goes black for a few seconds then takes me right back to the SDDM login screen. Anyone that doesn't have different GPUs do not appear to be affected. It's due to hyprland switching to Aquamarine for rendering in the newest update.

@ZerkerEOD

I'm on an Optimus hybrid setup and it's working fine. Although what you're describing sounds like a login loop. Do you have UWSM installed? In the SDDM login screen make sure Hyprland (uwsm managed) is selected.

nuknes avatar Jul 26 '25 15:07 nuknes

maybe greetd + cage or sway-kiosk? a nixos example: https://github.com/Misterio77/nix-config/blob/main/hosts/common/optional/greetd.nix

N4CH723HR3R avatar Jul 29 '25 13:07 N4CH723HR3R

@soramanew I've actually taken to this, this last week and have a working greetd using quick shell. I plan on testing it a little more and then putting in a pull request. I basically took the lock screen, striped it any post Auth info such as notifications, weather (my internet doesn't connect until the user logs in), music, ect.. and then adapted from the hyprlock to greetd login. I lost some functionality like the borders around the clock and user prompt but added something similar back to keep in the same to similar style. It isn't perfect and I'm no expert, but you can review one I get the pull and see what you think. If all else fails, it can be a decent starting point when you get to it.

@N4CH723HR3R the implementation I have started uses greetd with cage.

ZerkerEOD avatar Jul 29 '25 13:07 ZerkerEOD

In what way? SDDM still works as it should for me

It appears to be a known issue with hybrid devices. Basically when I go to log in, the screen goes black for a few seconds then takes me right back to the SDDM login screen. Anyone that doesn't have different GPUs do not appear to be affected. It's due to hyprland switching to Aquamarine for rendering in the newest update.

@ZerkerEOD

I'm on an Optimus hybrid setup and it's working fine. Although what you're describing sounds like a login loop. Do you have UWSM installed? In the SDDM login screen make sure Hyprland (uwsm managed) is selected.

I'm on the proprietary drivers and SDDM is also working fine.

running sddm-astronaut-theme.

dalpax avatar Aug 04 '25 00:08 dalpax

Isn't there a way we could use the default screen you get when you press SUPER + L? I think it look awesome if there's some greeter that would support just using that I think why not reuse what's already there.

XenoWad01 avatar Oct 18 '25 15:10 XenoWad01

Isn't there a way we could use the default screen you get when you press SUPER + L? I think it look awesome if there's some login screen that would support just using that I think why not reuse what's already there.

Great question, this does reuse a lot. However, the issue I ran into is a lot was broken since you do not have an authenticated session. A lot of the information on the lock screen requires a logged in user or a very specific setup to pull data such as an active Internet connection. Which really is useful for a lock screen but not the initial login screen. So I pulled a lot of it out to keep in a minimal Linux mentality, single purpose tool.

ZerkerEOD avatar Oct 18 '25 15:10 ZerkerEOD

I'm on the proprietary drivers and SDDM is also working fine.

running sddm-astronaut-theme.

That's awesome, mine stopped after an update in one of the components, not sure it mf it was Hyprland,l itself or other component indirectly, but it stopped and when I looked it up I saw a lot of others with the problem also. So I fixed it.

ZerkerEOD avatar Oct 18 '25 15:10 ZerkerEOD

Isn't there a way we could use the default screen you get when you press SUPER + L? I think it look awesome if there's some login screen that would support just using that I think why not reuse what's already there.

Great question, this does reuse a lot. However, the issue I ran into is a lot was broken since you do not have an authenticated session. A lot of the information on the lock screen requires a logged in user or a very specific setup to pull data such as an active Internet connection. Which really is useful for a lock screen but not the initial login screen. So I pulled a lot of it out to keep in a minimal Linux mentality, single purpose tool.

Oh, gotcha. Yea in that case I understand your current approach.

XenoWad01 avatar Oct 19 '25 03:10 XenoWad01