Skip to content

Suggestion to deal with broken gtk+ themes and xfce4-notifyd.

I have been testing many GTK+ themes with latest xfce4-notifyd. Happens that 12 out of 15 tested themes had issues similar to the one reported for Numix gtk+ theme. Some of these broken themes use the deprecated osd class, others just had support for gtk2. There seems to be little interest from themes developers to fix xfce4-notifyd support. Once xfce4-notifyd starts being included in latest releases from Linux distributions, I bet many users will start reporting issues here instead of reporting issues to theme developers, as I did it last year (I'm sorry, my bad).

My suggestion is to temporarily/permanently/optionally(?) hardcode the use of Adwaita in xfce4-notifyd. Reasons:

  1. notifications will not display properly with many popular but broken themes
  2. Adwaita is the only theme guaranteed to work perfectly with xfce4-notifyd
  3. and... this will save xfce4-notifyd developers from the pain of having broken-theme-related issues filled here instead of somewhere else.

Guess putting something like this (somewhere) in xfce4-notifyd code will work:

g_object_set (gtk_settings_get_default (), "gtk-theme-name", "Adwaita", NULL);

Related to issue #26 (closed)

Greetings!