Get respect from QT apps....

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
User avatar
manyroads
Posts: 2657
Joined: Sat Jun 30, 2018 6:33 pm

Get respect from QT apps....

#1 Post by manyroads »

If, like me, you have been irritated by QT apps rarely respecting dark themes (or any GTK themes), here is a link that will allow you better alignment of your QT apps (like the MX Tools suite) with your dark GTK theme. I know the article says it's for VirtualBox (and it is) but it also fixes all your other QT apps at the same time. :number1:

I just wish it were perfect, but remember: "better is never to be confused with good...." :eek:

Here's the link: https://stukev.com/giving-virtualbox-a-dark-mode/
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
Eadwine Rose
Administrator
Posts: 15288
Joined: Wed Jul 12, 2006 2:10 am

Re: Get respect from QT apps....

#2 Post by Eadwine Rose »

To avoid everything here to become "look at this - link", can you please also post the content in question? Thanks!
MX-23.6_x64 July 31 2023 * 6.1.0-39amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
manyroads
Posts: 2657
Joined: Sat Jun 30, 2018 6:33 pm

Re: Get respect from QT apps....

#3 Post by manyroads »

It's not my content to post... @Eadwine Rose
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
Eadwine Rose
Administrator
Posts: 15288
Joined: Wed Jul 12, 2006 2:10 am

Re: Get respect from QT apps....

#4 Post by Eadwine Rose »

You posted the source already, as long as that is included.
MX-23.6_x64 July 31 2023 * 6.1.0-39amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
AVLinux
Posts: 3195
Joined: Wed Jul 15, 2020 1:15 am

Re: Get respect from QT apps....

#5 Post by AVLinux »

Wait, are you talking about qt5ct? Isn't that in common use for years already? I've been using it and including it in spins for years.. In many circles it seems that it has already been superceded by kvantum but I've never tried that..

User avatar
kobaian
Posts: 369
Joined: Fri Jan 03, 2020 5:49 am

Re: Get respect from QT apps....

#6 Post by kobaian »

As far as I remember the default value of QT_QPA_PLATFORMTHEME in MX-Linux is "gtk2" and that's why there is no problem for theming the majority of apps under XFCE or Fluxbox, because most of the available gtk themes are both gtk2 and gtk3. The only problematic QT-app I use is XnView MP that uses "fusion" instead of "gtk2". And if you want to have fusion themes that match your gtk themes qt5ct is probably the best solution. But you have to remember that for the best effect you have to set not only the color-palette, but also fonts, icons etc.
Qt5ct is a really powerful tool that helps theming QT apps outside of the KDE environment. It's capabilities are much greater than only applying a dark theme. IYou can manage a lot of diffrent themes: gtk2, fusion, motiv and even kvantum, if you have installed the kvantum package before. And using kvantum themes you can make your XFCE or MX-Fluxbox environment looking as fancy, as KDE, like on the picture below. (It's MX-Fluxbox with PCmanFM-qt with an oldschool aqua-brushed-metal theme.)
You do not have the required permissions to view the files attached to this post.
Last edited by kobaian on Sat Dec 17, 2022 2:12 pm, edited 1 time in total.
Desktop PC: AMD Ryzen 5 5600 3.5GHz, MSI B550M PRO-VDH, 32GB RAM, Gigabyte RX 570. Laptop: MacBook Late 2008, Core2Duo 2.0GHz, 8GB RAM. Netbook: Asus EEEPC Intel Atom 1.6GHz, 2GB RAM. System: MX23 64bit/32bit Fluxbox.

User avatar
manyroads
Posts: 2657
Joined: Sat Jun 30, 2018 6:33 pm

Re: Get respect from QT apps....

#7 Post by manyroads »

FWIW. The apps I use that benefit from this fix include:
Virtualbox
calibre
MX Tools
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
FullScale4Me
Posts: 1167
Joined: Fri Jan 08, 2021 11:30 pm

Re: Get respect from QT apps....

#8 Post by FullScale4Me »

manyroads wrote: Sat Dec 17, 2022 1:04 pm FWIW. The apps I use that benefit from this fix include:
Virtualbox
calibre
MX Tools
VirtualBox 7.0.4 has figured out that some of us like it dark [without the 'fix' BTW], unlike the previous version I upgraded from via MX Package Installer.
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10

User avatar
manyroads
Posts: 2657
Joined: Sat Jun 30, 2018 6:33 pm

Re: Get respect from QT apps....

#9 Post by manyroads »

FullScale4Me wrote: Sat Dec 17, 2022 3:25 pm
manyroads wrote: Sat Dec 17, 2022 1:04 pm FWIW. The apps I use that benefit from this fix include:
Virtualbox
calibre
MX Tools
VirtualBox 7.0.4 has figured out that some of us like it dark [without the 'fix' BTW], unlike the previous version I upgraded from via MX Package Installer.
Only true if you are running using a DE or a desktop preset to deal with the issue... I am not. :eek:
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
Stevo
Developer
Posts: 14888
Joined: Fri Dec 15, 2006 7:07 pm

Re: Get respect from QT apps....

#10 Post by Stevo »

FullScale4Me wrote: Sat Dec 17, 2022 3:25 pm
manyroads wrote: Sat Dec 17, 2022 1:04 pm FWIW. The apps I use that benefit from this fix include:
Virtualbox
calibre
MX Tools
VirtualBox 7.0.4 has figured out that some of us like it dark [without the 'fix' BTW], unlike the previous version I upgraded from via MX Package Installer.
Is that 7.0.4 direct from Oracle or the Debianized 7.0.4 in our test repositories?

Post Reply

Return to “Tips & Tricks by users (not for help)”