Hello all,

I have installed fedora kinoite and everything is working as expected, except theming.

I know this is a limitation due to sandboxing and that there is a way around it.

Now, all guides are either only for Gnome theming or 2-4 years old.

Is there a simplified way on how to make applications like Firefox and libreoffice use the standard breeze dark KDE theme?

  • @ozymandias117
    link
    English
    44 months ago

    For whatever reason org.gtk.Gtk3theme.Breeze-Dark was deprecated

    The workaround listed here: https://github.com/flathub/org.gtk.Gtk3theme.Breeze

    Is to run: flatpak override --user --filesystem=xdg-config/gtk-3.0:ro

    However, that exposes a little extra if you have favorite places stored

    I think it works if you only expose xdg-config/gtk-3.0/colors.css, xdg-config/gtk-3.0/gtk.css, and xdg-config/gtk-3.0/settings.ini

  • @[email protected]
    link
    fedilink
    4
    edit-2
    4 months ago

    Yes, apps use the default Breeze or Adwaita theme.

    The issue are the apps you mentioned, Firefox and Libreoffice.

    Libreoffice has its own GUI toolkit and simply doesnt follow the system. Sucks a bit.

    Firefox can sync between light and dark mode, but I think only if you use default theming. I made a Breeze Dark Firefox theme but already made a better one I just need to upload.

    • unalivejoy
      link
      fedilink
      English
      2
      edit-2
      4 months ago

      For Firefox 125+, you can at least make it use your configured window control buttons with any theme addon by setting the about:config option widget.gtk.non-native-titlebar-buttons.enabled=false.

    • Russ
      link
      fedilink
      English
      14 months ago

      Your theme looks great! I’d definitely love to hear when the new one comes out!

      • @[email protected]
        link
        fedilink
        24 months ago

        I already made it with Firefox Color, but didnt yet upload it.

        I even experimented with some Plasma Backgrounds but they are a bit distracting.

        I like the Galaxy one and the “4am in the morning” one though.

        Will upload them in a sec

  • unalivejoy
    link
    fedilink
    English
    3
    edit-2
    4 months ago

    I believe you just make sure the packages xdg-desktop-portal, xdg-desktop-portal-kde, and xdg-desktop-portal-gtk are installed. Applications using qt5/6 or gtk3/4 should automatically pick up the new themes.

    Additionally, add the following files via flatseal or flatpak override --global

    • xdg-config/gtk-4.0
    • xdg-config/gtk-3.0
    • xdg-run/gvfsd
    • ~/.themes
    • ~/.icons