that should be the solution. Did it wrong also on my first try. After 
editing the /etc/environment , it works...

a...@qubes-os.org schrieb am Dienstag, 26. Juli 2022 um 10:15:58 UTC+2:

> On 7/25/22 4:53 PM, 'taran1s' via qubes-users wrote:
> > I tried this but didn't succeed.
> > 
> > sudo qubes-dom0-update qt5-qtstyleplugins
> > sudo qubes-dom0-update
> > export QT_QPA_PLATFORMTHEME=gtk2
> > 
> > cat /etc/environment QT_QPA_PLATFORMTHEME=gtk2
> > cat: 'QT_QPA_PLATFORMTHEME=gtk2': No such file or directory
> > 
> > Qube Manager is still white ^^. Any ideas?
> > 
>
> You have to actually edit the file `/etc/environment` in order to insert 
> the string `QT_QPA_PLATFORMTHEME=gtk2` into that file, then reboot 
> afterward.
>
> P.S. -- Please avoid top-posting.
>
> > 
> > TheGardner:
> >> Thanks very much Demi Marie.
> >> Then this should be the correct way:
> >>
> >> Source & Info: https://github.com/QubesOS/qubes-issues/issues/7389
> >>
> >>
> >> Install the package qt5-qtstyleplugins with:
> >>
> >> sudo qubes-dom0-update qt5-qtstyleplugins
> >>
> >> then insert in /etc/environment:
> >>
> >> -------------[Start]---------------------
> >> QT_QPA_PLATFORMTHEME=gtk2
> >> -------------[End]-----------------------
> >>
> >> in dom0 terminal do:
> >>
> >> export QT_QPA_PLATFORMTHEME=gtk2
> >>
> >> ---
> >>
> >> 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.
> >>
> >> Demi Marie Obenour schrieb am Samstag, 23. Juli 2022 um 04:07:18 UTC+2:
> >>
> >> On Fri, Jul 22, 2022 at 05:45:13PM -0700, TheGardner wrote:
> >>>>> 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
> >>
> >> This is not safe. You can do:
> >>
> >> sudo qubes-dom0-update qt5-qtstyleplugins
> >>
> >> and it will work as with any other package.
> >>
> >> That reminds me: Marek, should we set repo_gpgcheck=1 and/or
> >> %_pkgverify_level all in dom0, to protect against mistakes like this?
> >>>
> >>
> > 
>
>

-- 
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/9b3b1dec-a05b-4084-9f90-d1ac73656571n%40googlegroups.com.

Reply via email to