D25945: Sync dark theme preference for GTK3 applications

Björn Feber noreply at phabricator.kde.org
Tue Dec 17 18:35:18 GMT 2019


GB_2 added a comment.


  In D25945#577731 <https://phabricator.kde.org/D25945#577731>, @gikari wrote:
  
  > In D25945#577677 <https://phabricator.kde.org/D25945#577677>, @cblack wrote:
  >
  > > For flatpaks not respecting the setting preference, have you checked that the dark theme variant is installed?
  >
  >
  > Yes, I have installed the theme. But after changing the value in gtk configs nothing happens. It could also be the result of my local setup bugs (because as the @GB_2 said, the patch works for him flawlessly). So I think he (or someone else) should test it.
  >
  > There is a bug <https://bugs.kde.org/show_bug.cgi?id=387091> about flatpak not using selected GTK theme on X11. It is because it can only be done by letting the xsettingd to control the theme of the flatpak app. So, to test dark-theme preference sync you need to add to the `~/.config/xsettingsd/xsettingsd.conf` this line:
  >
  >   Net/ThemeName "Adwaita"
  >
  >
  > check the dark theme preference checkbox in old GTK KCM and then relaunch xsettingsd. The flatpak app should be dark.
  
  
  No, looks like there is no way to make this option work for Flatpak apps, because it can't be set with xsettingsd.

REPOSITORY
  R99 KDE Gtk Configuration Tool

BRANCH
  sync-dark-gtk3-theme-preference (branched from master)

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

To: gikari, apol, cblack, broulik, #vdg
Cc: GB_2, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, alexeymin, 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/20191217/9b5f1d72/attachment.html>


More information about the Plasma-devel mailing list