How to get notification when gnome theme has changed in realtime

Hi, I have a non-GTK application in Linux. I would like to get notification in real time of a theme change. Where can I find that?

I have found sufficient information to get the current theme from the command line, and find the style sheet for that. However, using that information I can only parse information from the style sheet (gtk.css) on application start. When I do a tweaks of the current theme, I note that GTK applications change their theme immediately. I would like to do that. To do this I would (ideally) need both a mechanisim to get notified when the theme changes (perhaps a property change from gdm3?) and a C level call to get the current theme name so I can find the .css file.

Thanks!

Scott Franco
San Jose, CA

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.