Great! It's working now with the following steps in dom0 terminal:

Download qt5-qtstyleplugins RPM file from: 

https://kojipkgs.fedoraproject.org//packages/qt5-qtstyleplugins/5.0.0/39.fc32/x86_64/qt5-qtstyleplugins-5.0.0-39.fc32.x86_64.rpm

Move it from your AppVM to dom0 with:

qvm-run --pass-io <from_AppVM> 'cat 
/home/user/Download/qt5-qtstyleplugins-5.0.0-39.fc32.x86_64.rpm' > 
/home/<your_dom0_user>/Downloads/qt5-qtstyleplugins-5.0.0-39.fc32.x86_64.rpm

Install the package with:

sudo dnf install -y qt5-qtstyleplugins-5.0.0-39.fc32.x86_64.rpm

then insert in /etc/environment:

-------------[Start]---------------------

QT_QPA_PLATFORMTHEME=gtk2

-------------[End]-----------------------

finally you can check, if all changes were set & working:

[TheGardner@dom0]$ cat /etc/environment
QT_QPA_PLATFORMTHEME=gtk2

[TheGardner@dom0]$ echo $QT_QPA_PLATFORMTHEME
gtk2

[TheGardner@dom0]$ sudo dnf info qt5-qtstyleplugins
Qubes OS Repository for Dom0                                               
      1.9 MB/s | 3.0 kB     00:00
Installed Packages
Name         : qt5-qtstyleplugins
Version      : 5.0.0
Release      : 39.fc32
Architecture : x86_64
Size         : 1.2 M
Source       : qt5-qtstyleplugins-5.0.0-39.fc32.src.rpm
Repository   : @System
 From repo    : qubes-dom0-cached
Summary      : Classic Qt widget styles
URL          : https://github.com/qtproject/qtstyleplugins
License      : LGPLv2 or GPLv2
Description  : Classic Qt widget styles, including cleanlooks, motif, 
plastique, qgtk.

FINISHED! 
Just restart your machine and voila --> Qubes Manager in dark style!

TheGardner schrieb am Freitag, 22. Juli 2022 um 12:39:31 UTC-4:

> seems so, my dark Qubes Manager went white from 4.0 to 4.1 and I didn't 
> understand why and how to change, since today
>
> Qubes schrieb am Freitag, 22. Juli 2022 um 04:20:46 UTC-4:
>
>> Sven Semmler wrote:
>> > This is quite easy to fix by installing qt5-qtsyleplugins in dom0 and 
>> > exporting QT_QPA_PLATFORMTHEME=gtk2 in /etc/environment
>> > 
>> > --> https://github.com/QubesOS/qubes-issues/issues/7389
>> > 
>>
>> Did the Qubes Manager implementation change from 4.0 to 4.1? I am just 
>> asking because i have checked my 4.0 installation and it neither has 
>> qt5-qtsyleplugins installed nor does it have an environment variable 
>> configured for it.
>>
>> It is just really odd that this would be needed now when it wasn't 
>> needed in the past. It sounds not right having to install software in 
>> dom0, something we guard against, just to get Qubes Manager to honor 
>> dark theme settings.
>>
>> Isn't Qubes Manager a GTK application? The qt5-qtsyleplugins and the 
>> corresponding environment variable should only be necessary for Qt (KDE) 
>> style applications.
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/d475e772-59bd-4e50-a14d-e4de0afb56b1n%40googlegroups.com.

Reply via email to