tuigreet icon indicating copy to clipboard operation
tuigreet copied to clipboard

Provided session not selected by default

Open JManch opened this issue 1 year ago • 3 comments

Describe the bug In the previous version, providing a single session with --sessions would select that session by default. Now, the CMD defaults to - and I have to manually select the session every login.

To Reproduce Launch tuigreet with tuigreet --sessions <session_dir>

Expected behavior The provided session should be selected by default

System information:

  • Distribution: NixOS
  • greetd version: 0.9.0
  • tuigreet version: 0.9.0

JManch avatar May 17 '24 13:05 JManch

What do you mean by "providing a single session" ? Providing a directory containing a single desktop file?

apognu avatar May 17 '24 14:05 apognu

I would like to add that the same behavior happens when --session is not specified. No session is selected by default, and when you try to log in, it just doesn't. Took me a while to figure this out, it felt like a bug.

It would be cool if tuigreet had a way to pick a default session, as most login managers do. Especially when there is only one desktop file.

Edit: I just realized this was already pointed out in #140.

bertini97 avatar May 17 '24 14:05 bertini97

This should be fixed on the dev/default-session branch.

I will probably merge this and #140 when I can properly test them (I lost access to my main development computer, so it is a bit harder right now).

apognu avatar May 17 '24 15:05 apognu

This is now available in the 0.9.1 version of tuigreet.

apognu avatar Jun 02 '24 10:06 apognu

The new release seems to break --remember-user-session for me here. The last successful session isn't remembered anymore. Is this now intentional?

andyrtr avatar Jun 03 '24 14:06 andyrtr