How can I get the name of the current (High Contrast) GTK-theme in Onboard?

Asked by marmuta

Hi everyone,

Is there a way to get the High Contrast setting from outside the greeter process? I'm just about done adding high and low contrast theme support to Onboard. It seems to work in the user session, but can't figure out how to get the current GTK theme in lightdm.
Unity-greeter writes to the GtkSettings property "gtk-theme-name" which apparently has no effect on other processes. Onboard at least always sees theme "Raleigh", no matter the state of the high contrast toggle.

In the user session, as far I can tell, themes are written to gsettings key org.gnome.desktop.interface gtk-theme. Then gnome-settings-daemon, plugin xsettings somehow makes sure that all interested processes get their GtkSettings:gtk-theme-name updated. Would it make sense to enable the xsettings plugin in the greeter?

Question information

Language:
English Edit question
Status:
Expired
For:
Unity Greeter Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.