Share your knowledge at the LQ Wiki.
Go Back > Blogs > linux-related notes
User Name


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Rate this Entry

Making Dolphin instances launched by Chrome or Firefox follow the QT theme set elsewhere, in Openbox, possibly other non-KDE environments

Posted 03-05-2021 at 12:46 PM by the dsc
Updated 03-07-2021 at 06:28 PM by the dsc

I had this issue, if I clicked to open a folder for a downloaded file on Chrome, the Dolphin file manager launched would be somewhat theme-less, even without any icon theme set, making it less usable than the same program if I ran it from an Openbox menu or "alt+F2" run command.

While I was hoping there was a somewhat "secret" environment variable that I hadn't set in order to make it work right, I couldn't find one. Instead the only "solution" I have so far is to add on my Openbox autostart script:

dolphin --platformtheme kde --daemon &
I don't know if something analog exists for pcmanfm-qt, or if just dolphin doing that will make any other QT app opened by Chrome inherit the proper theme.

"Kde" there is because I use systemsettings5 to set the "appearance," rather than qt5ct. For people using qt5ct, it would be "qt5ct" there instead.

Ideally I'd not "needlessly" have dolphin running on the background, but I think it's still worth, cost/benefit wise.

Doesn't make something like libreoffice "inherit" the theme, unfortunately. At least on libreoffice the wrong theme is still more functional, not iconless.
Posted in Uncategorized
Views 851 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 02:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration