# Applications don't follow desktop theme

**URL:** <https://forum.endeavouros.com/t/applications-dont-follow-desktop-theme/23844>\
**Category:** Budgie\
**Created:** [February 8, 2022, 5:33pm UTC](https://forum.endeavouros.com/t/applications-dont-follow-desktop-theme/23844 "2022-02-08T17:33:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ender](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/e/58f4c7/32.png) [@ender](https://forum.endeavouros.com/u/ender)\
**Post date:** [February 8, 2022, 5:33pm UTC](https://forum.endeavouros.com/t/applications-dont-follow-desktop-theme/23844/1 "2022-02-08T17:33:24Z")

</div>

Hi, noob there but I recently installed EndeavourOS with Budgie desktop and noticed that several applications, namely qbittorrent & flameshot, don’t follow my desktop theme (juno) and stay white. What I tried so far is based on [Uniform look for Qt and GTK applications](https://wiki.archlinux.org/title/Uniform_look_for_Qt_and_GTK_applications#Theme_engines), that is:

- Option 1: install QGnomePlatform. `QT_QPA_PLATFORMTHEME` is set by default by I don’t know what to ‘gnome’. Didn’t change anything.
- Option 2: removed qgnomeplatform and installed qt5-sytleplugins. Set `QT_QPA_PLATFORMTHEME` to ‘gtk2’, but no matter where I set this variable: `/etc/environment` and/or `/etc/profile.d/qtfix.sh` and/or `~/.zshenv` (I don’t have a `~/.profile`), it is always re initialised by I don’t know what to ‘gnome’. And the problem persists.

I’m out of idea…

---

<div class="post-metadata">

**Author:** ![sradjoker](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/sradjoker/32/64224_2.png) [@sradjoker](https://forum.endeavouros.com/u/sradjoker)\
**Post date:** [February 8, 2022, 5:47pm UTC](https://forum.endeavouros.com/t/applications-dont-follow-desktop-theme/23844/2 "2022-02-08T17:47:02Z")

</div>

Can you try the solutions in this wiki article?  
[https://discovery.endeavouros.com/applications/uniform-theme-and-fonts-for-qt-apps-in-gtk-environments/2021/05/](https://discovery.endeavouros.com/applications/uniform-theme-and-fonts-for-qt-apps-in-gtk-environments/2021/05/)

---

<div class="post-metadata">

**Author:** ![ender](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/e/58f4c7/32.png) [@ender](https://forum.endeavouros.com/u/ender)\
**Post date:** [February 9, 2022, 8:04pm UTC](https://forum.endeavouros.com/t/applications-dont-follow-desktop-theme/23844/3 "2022-02-09T20:04:04Z")

</div>

thx but that doesn’t work either. Seems no matter what I do, the variable `QT_QPA_PLATFORMTHEME` is always set to ‘gnome’…

---

<div class="post-metadata">

**Author:** ![ender](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/e/58f4c7/32.png) [@ender](https://forum.endeavouros.com/u/ender)\
**Post date:** [February 10, 2022, 2:33pm UTC](https://forum.endeavouros.com/t/applications-dont-follow-desktop-theme/23844/4 "2022-02-10T14:33:46Z")

</div>

Ok I think I figured it out:

- In fact, different applications use a wide range of QT version. Each QT version seems to require its own `QT_QPA_PLATFORMTHEME` variable. So it’s a mess of figuring out which QT version is used by which application & overriding the variable for that specific application (along with installing the corresponding plugin)…
- Still don’t know what is overriding `QT_QPA_PLATFORMTHEME` when echoed from terminal but it’s not really a pb (which I find quite puzzling…), applications do follow the global system variable. So far in budgie, `qgnomeplatfom` seems useless.

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [February 10, 2022, 3:18pm UTC](https://forum.endeavouros.com/t/applications-dont-follow-desktop-theme/23844/5 "2022-02-10T15:18:27Z")

</div>

on my last checking i left myself confused in away about this… it seems there is no general setup that will work on all DEs …

[https://discovery.endeavouros.com/applications/uniform-theme-and-fonts-for-qt-apps-in-gtk-environments/2021/05/](https://discovery.endeavouros.com/applications/uniform-theme-and-fonts-for-qt-apps-in-gtk-environments/2021/05/)

> **The article needs help and is partly outdated! It seems with change on qt6 it needs some extra to set up for all qt applications.** (10.01.2022)

---

<div class="post-metadata">

**Author:** ![ender](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/e/58f4c7/32.png) [@ender](https://forum.endeavouros.com/u/ender)\
**Post date:** [February 10, 2022, 5:41pm UTC](https://forum.endeavouros.com/t/applications-dont-follow-desktop-theme/23844/6 "2022-02-10T17:41:42Z")

</div>

I think I may need to change the way I think about this matter. Instead of wanting a “Uniform theme” for all applications, which in hindsight seem pretty difficult to implement beyond “core” specific desktop related apps, I should be wanting to find for each application the native theme that best suit my taste. And keep the `QT_QPA_PLATFORMTHEME` stuff as a kind of hack for applications that doesn’t provide a suitable native theme. This line in the arch wiki seems to hint at this idea imho : _These engines add some extra code in the process and it is arguable that this kind of a solution is not as elegant and optimal as using native styles._
