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@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 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

  • boredsquirrel@slrpnk.net
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    3 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@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      3 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.

      • boredsquirrel@slrpnk.net
        link
        fedilink
        arrow-up
        2
        ·
        3 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@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    3 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
  • penquin@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Try flatseal. I don’t use flatpaks, but I heard flatseal allows theming.