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

Abierto
#6 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
49/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
linux
Área
desktop

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Sin datos de lenguaje
Estrellas
10
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de linuxmint/mint27-beta

Todos los issues de linuxmint/mint27-beta

Issues similares

Más issues de Desktop Dev

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.