Hello Sven, Am Dienstag, dem 24.02.2026 um 18:40 +0100 schrieb Sven Hoexter: > On Tue, Feb 24, 2026 at 05:13:30PM +0100, David Ayers wrote: > > > > Setting Dark Theme in GNOME Shell Settings, does not affect the Theme upon > > the next start of Vym. > > Setting Dark Theme explicitly does change the setting on next startup. > > since I'm using a wayland + sway setup, and have a personal preference for > light themes, > I can not provide a lot of advice without further research and testing. > > What I could find with a quick search was that there is > a) qt6-gtk-platformtheme package which might help to have it installed > b) setting env variable QT_QPA_PLATFORMTHEME=gtk3 > > For a) I would assume an `apt install qt6-gtk-platformtheme` and restart of > vym is enough to test. > b) requires starting from a terminal, and to be sure run `export > QT_QPA_PLATFORMTHEME=gtk3; vym`. >
On "testing" the package is already installed during Gnome Desktop
installation:
Start-Date: 2026-02-24 13:41:23
Commandline: packagekit role='install-packages'
Requested-By: ayers (1000)
...
vym:amd64 (2.9.604-1), zip:amd64 (3.0-15, automatic),
qt6-gtk-platformtheme:amd64 (6.9.2+dfsg-4, automatic),
...
(Installing that package on trixie though, does have the effect of new
maps having a dark canvas. It doesn't make the window, menu or widget
use the Dark Theme and existing maps still have the white background,
but that may be something I can tweak... let's focus in testing.)
Setting "export QT_QPA_PLATFORMTHEME=gtk3" before starting via command
line does not have an effect on honoring the "System setting for dark
theme".
Thank you very much for picking this up so promptly with actionable
advice!
I've got a testing VM running and may find the time to dig into this
further:
sudo apt install dpkg-dev
apt build-dep
dpkg-source -x vym_2.9.604-1.dsc
It may very well be an upstream logic bug here:
src/main.cpp
L424
// Use dark theme depending on system appearance and preferences
int text_hsv_value = app.palette().color(QPalette::WindowText).value();
int bg_hsv_value = app.palette().color(QPalette::Base).value();
systemSeemsDark = (text_hsv_value > bg_hsv_value);
QString settingsDarkTheme = settings.value("/system/darkTheme",
"system").toString();
usingDarkTheme = false;
iconTheme = "bright";
if (settingsDarkTheme != "never") {
if (settingsDarkTheme == "always" || (settingsDarkTheme == "system" &&
systemSeemsDark)) {
usingDarkTheme = true;
iconTheme = "dark";
}
}
I haven't wrapped my head around it yet but once I find time to figure
out how to actually build and install the package, I hope to be able to
provide a patch that could be submitted upstream.
Thank you very much!
David Ayers
PS: I did find:
https://www.debian.org/doc/manuals/maint-guide/build.en.html
which is actually target for maintainers but now I also found this:
https://wiki.debian.org/BuildingTutorial
so please give me the weekend, to see if I can figure this out...
--
David Ayers
Supporting:
Free Software Foundation Europe [] (http://www.fsfe.org)
Become a supporter of the FSFE! [][][]
Your donation powers important work! || (http://fsfe.org/donate)
signature.asc
Description: This is a digitally signed message part

