apognu / tuigreet

Graphical console greeter for greetd
GNU General Public License v3.0
986 stars 45 forks source link

Provided session not selected by default #141

Closed JManch closed 5 months ago

JManch commented 6 months ago

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:

apognu commented 6 months ago

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

bertini97 commented 6 months ago

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.

apognu commented 6 months ago

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 commented 5 months ago

This is now available in the 0.9.1 version of tuigreet.

andyrtr commented 5 months ago

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