Apps launched with pkexec have no access to server xsettings, Gtk falls back to org.gnome gsettings (Wayland)

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
49/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
linux
領域
desktop

調査の方向性

Start by reproducing the theme behavior with an app launched through pkexec in both Wayland and X11 sessions, comparing default Mint themes with a downloaded theme. The issue names no source files or tests, so trace how elevated apps receive the session's theme and xsettings, then identify a test or reproducible check for that path. Done means elevated apps consistently use the selected theme in both session types.

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

説明

Wayland session

During a wayland session the issue is more noticeable because it happens with all themes:

https://github.com/user-attachments/assets/b168871a-a33d-45b3-a2cf-b75562c7e70f

Video showing the issue.

Screenshot_mint-27_2026-11-27_15:02:57

Img. above with nemo open in a folder with elevated permissions.

Screenshot_mint-27_2026-11-27_15:02:30

Img. above with timeshift (which like the system administration needs elevated perms to open).

Changing the setting for the theme mode preference to dark mode didn't help in any of the cases above (since I think the issue is that the theme is not being loaded at all).

X11 session

In X11 sessions the theme is applied for all the themes that come by default with Mint, but if you download a theme from the theme module that applies to applications, it is only applied to the headerbar of the application open in elevated privileges, but the body of the application has the default adwaita themes applied instead:

Screenshot_mint-27_2026-11-27_15:09:38

Img. with nemo in normal mode on the right side and nemo open with elevated privileges on the left side using the Qogir theme downloaded from the theme module.

Considering the headerbar has the theme, and the default themes work, not sure what's the missing link for the X11 case.

主要言語
言語のデータがありません
スター
10
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

linuxmint/mint27-beta のほかの issue

linuxmint/mint27-beta の issue をすべて見る

似ている issue

Desktop Dev の issue をもっと見る

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

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