elementary / elementary/greeter

Remember session type (Secure or Classic) per-user

Open
#830 0 comments 1 reaction 0 assignees View on GitHub
Confirmed Needs Design
Dominant language
Vala
Stars
175
Forks
42
Avg merge
2h 51m
Merged PRs (30d)
1

Description

## 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](https://wayland.app/protocols/tearing-control-v1), 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](https://github.com/user-attachments/assets/c2f66a70-eb1a-419f-b296-e75564447cb8)

#### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.