Skip to content

Remember session type (Secure or Classic) per-user #830

@o-alquimista

Description

@o-alquimista

Problem

A little context. I use the Secure Session for everything, except for competitive gaming. That is because the Wayland compositor (Mutter) has not yet implemented the tearing control protocol, which was made to let games output to the screen as fast as they can without having to synchronize with the monitor refresh rate — which is perceived as screen tearing. This is especially important when playing a competitive first-person shooter such as CS:2. There is a small but noticeable delay in-game that makes your mouse movements feel slower — like it's heavy, or dragging behind.

My workaround to this problem is to create a separate user just for running some Steam games on a Classic session. My main user should continue to log in to a Secure session. Unfortunately, the elementary greeter does not remember the session type as a user preference, and it proceeds to load whatever the last user chose.

Screenshot of the Greeter showing cards for my user and a Steam user

UPDATE

After some more testing, it turns out that the game performs a lot worse in the Classic Session, with less responsive cursor movements. Regardless, this feature request can still be useful.

Proposal

Store the last session type used by each user as a preference somewhere. That way, a user would just log in to whatever session they prefer, without pissing off other users. Since the session type selector is contained within each user card in the greeter, it is natural to assume it is different for each user.

Prior Art (Optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions