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

Đang mở
#6 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
49/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux
Lĩnh vực
desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
10
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của linuxmint/mint27-beta

Tất cả issue của linuxmint/mint27-beta

Issue tương tự

Thêm issue về Desktop Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.