I want to use the dark cosmic theme with kweather from flatpak. I’ve tried lots of stuff, but I don’t understand how to determine what is a valid theme from terminal, or how to add to use it with a flatpak.

  • 3H3x36tBElshOa@feddit.nlOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 months ago

    I forgot to say, it’s also possible to use Kvantum with KDE applications that are flatpaks.

    I just had to set the theme to Kvantum in the KDE Settings. I also noticed that the theme works slightly better if the platform theme on KDE applications is exported as QT_QPA_PLATFORMTHEME=kde, though it’s not necessary. One other note, QT works by using plugins. I think the export is specifying the installed plugin. That was confusing to me, I was searching for config files but it’s a plugin to QT.


    edit: When opening the KDE settings, I think I also had to change the export to QT_QPA_PLATFORM=kde temporarily so that KDE recognized that it was supposed to change configuration files on the filesystem. Otherwise, I think it expects that qt6ct is managing it, and it shouldn’t do anything. (because qt6ct was likely set earlier in in either the /etc/environment or in the ~/.profile)

    I don’t remember it was a requirement or not. Just that I had to change it so that KDE Settings would use the theme when I opened it.