I’ve discovered for my workflow, Okular is the best app for pdfs; however, since it’s Qt-based it looks wonky with my current theming setup.
I’ve installed Kvantum and the “KDE” version of my GTK theme, Qogir, but absolutely nothing looks different in Okular even after logging out and back in.
If you are looking for alternative tools to open PDFs, don’t look just at dedicated tools but also consider a browser. E.g., you can also set Firefox to be the default for opening PDFs. It will open them as a tab. This is what I use. I’m quite sure this would also work with other browsers
Hrm, not sure how to go about debugging this. Could you create a new user, install the themes there, and then open Okular there? That’ll at least tell us if the issue is with the theme itself or or with Okular or maybe just a config in your user that didn’t update correctly?
I’m definitely not looking for an alternative to Okular, @py0xc3, because I use the highlighting and note-taking features of the app.
I followed the Kvantum guide to set them, @dalto, but if there are any others I’m missing I wouldn’t know; however, the link you provided @ilikelinux got me the furthest. Although Kvantum has “Qogir” set as the default theme, when it is rendered via QT_QPA_PLATFORMTHEME=gtk2 okular, the window border is white rather than black. Odd, for sure.
Interesting… So QT_QPA_PLATFORMTHEME=gtk2 okular works around Kvantum? I already have QT_STYLE_OVERRIDE=kvantum in ~/.profile and it, obviously, wasn’t working.
I’m unfamiliar with qt5ct; how can I add my theme to it?
Yup. Interestingly, after clearing everything out and rebooting, qt5ct complains QT_QPA_PLATFORMTHEME=qt5ct is not set; however, I have this line in ~/.profile: export QT_QPA_PLATFORMTHEME=qt5ct
Well, that at least made something apply; however, the theme doesn’t seem to be formatted correctly. What I mean is the title bar is white/gray, which should be black according to the theme, and the “header” is black, which should be white/gray.