this post was submitted on 05 Aug 2024
19 points (100.0% liked)

KDE

5331 readers
182 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 1 year ago
MODERATORS
 

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?

top 15 comments
sorted by: hot top controversial new old
[–] ozymandias117@lemmy.world 4 points 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 4 points 3 months ago* (last edited 3 months ago) (2 children)

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.

[–] joyjoy@lemm.ee 2 points 3 months ago* (last edited 3 months ago) (1 children)

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 1 points 3 months ago

Cool! I always found the switching buttons strange

[–] russjr08@bitforged.space 1 points 3 months ago (1 children)

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

[–] boredsquirrel@slrpnk.net 2 points 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

[–] joyjoy@lemm.ee 3 points 3 months ago* (last edited 3 months ago) (1 children)

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
[–] piracysails@lemm.ee 2 points 3 months ago (1 children)

Unfortunately flatpak search or install cannot find these.

[–] joyjoy@lemm.ee 3 points 3 months ago (1 children)

They're not on flatpak. They would be done via rpm-ostree install

[–] piracysails@lemm.ee 2 points 3 months ago (1 children)

I see, thank you. I do not think I will use that option just for theming though xD

[–] joyjoy@lemm.ee 3 points 3 months ago (1 children)

It might already be installed.

[–] boredsquirrel@slrpnk.net 1 points 3 months ago

They are installed.

We are working on better documentation on Atomic Desktops.

rpm -qa | grep APPNAME

Is a good way to find installed RPMs.

[–] penquin@lemm.ee 1 points 3 months ago (2 children)

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

[–] DmMacniel@feddit.org 2 points 3 months ago

Flatseal is a gui for Flatpaks overrides configuration.

[–] boredsquirrel@slrpnk.net 1 points 3 months ago

Flatseal is not needed.