D28072: [GTK Config] Apply color scheme to GTK3 applications

Mikhail Zolotukhin noreply at phabricator.kde.org
Tue Mar 31 11:31:05 BST 2020


gikari added a comment.


  In D28072#638514 <https://phabricator.kde.org/D28072#638514>, @ngraham wrote:
  
  > Same error about not being able to find the module. Sorry for not being clear.
  
  
  Does the specified path contain (`/home/nate/kde/usr/lib64/gtk-3.0/`) `modules` directory with the `libcolorreload-gtk-module.so` file?
  If there it is, try launching GTK app with:
  
    gtk-app --gtk-module /home/nate/kde/usr/lib64/gtk-3.0/modules/libcolorreload-gtk-module.so
  
  The parameter must be **absolute** path.
  
  In D28072#638515 <https://phabricator.kde.org/D28072#638515>, @cblack wrote:
  
  > You can provide a full path to the library instead of letting GTK do name to library resolution.
  
  
  Yes, you can, but that's inconvenient. According to this <https://developer.gnome.org/gtk3/stable/gtk-running.html> you can specify `GTK_PATH` environment variable, so that GTK knows where to search for modules. It works for me at least.
  
  I also noticed a **dynamic** recoloration bug: it doesn't work if the app is launched with the color scheme, that it was using in the previous launch. To make it work I have to change color scheme and relaunch the app. The app therefore changes its color scheme to a new one and it is now reacting to color scheme change properly (i.e. changes it without restart).

REPOSITORY
  R99 KDE Gtk Configuration Tool

BRANCH
  set-colors

REVISION DETAIL
  https://phabricator.kde.org/D28072

To: gikari, cblack, #plasma
Cc: ngraham, davidre, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200331/16f2bc99/attachment.html>


More information about the Plasma-devel mailing list