Remember session type (Secure or Classic) per-user

オープン
#830 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

@lenemter がすでに取り組んでいます。

2025年11月10日 から。

  • #839 @lenemter による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
領域
desktop

調査の方向性

まず、issue に記載されている greeter のユーザーごとのカードとセッションタイプセレクターを追跡します。最後に選択したセッションをユーザーごとに保存できる場所を特定し、その後、各ユーザーが greeter に戻ったときに自分の Secure または Classic の設定を保持することを確認します。

索引モデルが issue の本文から書いたものです。

説明

Confirmed Needs Design

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

主要言語
Vala
スター
175
フォーク
43
平均マージ
12時間 9分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

elementary/greeter のほかの issue

elementary/greeter の issue をすべて見る

似ている issue

Desktop Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。