![]() Registered Member ![]()
|
Hello,
I'm using Dolphin 15.08.1 and all icons in the application are missing. However, I'm using Dolphin without KDE Window Manager / Plasma but I'm using the i3 window manager. When using the full KDE it's fine though there are still icons missing for some file types. Is there anything that can be done to have Dolphin's icons on i3 as well? http://xgm.de/upload/dolphin.jpg Best and Thanks! |
![]() ![]()
|
|
![]() Registered Member ![]()
|
Neither one worked. The first two showed no effect, the last one:
Any more ideas? Thx! |
![]() ![]()
|
Do you have the breeze and/or oxygen icons installed and also /usr/lib/qt/plugins/platformthemes/KDEPlatformTheme.so
If you want to use another platform theme (eg. lxqt) you'll have to convince Qt that you're on such session, I *guess* one of
would do. If you want to use the KDE platform theme, but another icon theme, ensure to have ~/.config/kdeglobals contain
|
![]() Registered Member ![]()
|
Ok, I hadn't installed KDEPlatfromTheme.so but now it is installed from package frameworkintegration.
Breeze / Oxygen icons should be installed, since I also use full KDE on that machine and dolphin has icons there. .config/kdeglobals contains no Theme entry. But XDG_CURRENT_DESKTOP=kde dolphin now works and dolphin has icons. Still, shouldn't this work anyway, without pretending to be on KDE? (I fear some yet unknown side effects). |
![]() ![]()
|
Qt aligns to the present platform.
Thus the platform themes (depending on the configuration and the system, ie. this covers OSX and windows as well) resolve icons. You need *some* platform or it won't resolve icons. => Dolphin would have to compile in failsafe icons in case the system returns an empty one. You may file such request, but I assume it WONTFIX (since it completely crosses the conceptual approach of the sublying toolkit) The "proper™" solution would be to write an i3 platform theme for Qt that somehow™ resolves icons - no idea whether that's feasable since i3 is not actually some desktop environment (has no icon config tool etc.) |
![]() Registered Member ![]()
|
What is a platform in this sense? I assume something like KDE / Gnome (something offering a theming facility). Actually for me it would be fine to completely have KDE to be that platform, even on i3. I use both WMs and that would make configuration life easier for me. I don't like changing XDG_CURRENT_DESKTOP because it's set to "i3" and it's also being used by other applications, like dex (https://github.com/jceb/dex).
I was not going to request that. I would rather expect said toolkit to have some working default. BTW, other KDE applications such as okular 0.23.1 (KDE 4.14.12) or kmail 4.14.10 are working. They have icons. It does not seem to be a systemic problem.
|
![]() Registered Member ![]()
|
When started in a shell, dolphin spits out a lot of messages like:
|
![]() ![]()
|
exporting "QT_QPA_PLATFORM_THEME=kde" should do in this case
> other KDE applications such as okular 0.23.1 (KDE 4.14.12) or kmail 4.14.10 are working. Those are Qt4 / KDE SC4 based applications. This QPA design was introduced with Qt5. > When started in a shell, dolphin spits out a lot of messages like: Seems like it tries to operate on a null pixmap (missing icon?), not an actual bug, but bad code and Qt warns about it. |
![]() Registered Member ![]()
|
|
![]() ![]()
|
|
![]() Registered Member ![]()
|
Ok, that works!
I try to set it user session wide in my .zshenv:
But that seems to somehow brake all KDE applications with regard to dbus:
Edit: after some minutes it seems to work again. But after a reboot it's broken again. Maybe some other application fixed the dbus? Any idea? |
![]() ![]()
|
At least your okular is a Qt4 application - it completely ignores the QPA environment variable, so you can be sure that change didn't cause this problem.
If no session bus is available, kdelibs applications (okular) will usually start one - I'm at hand not sure whether KDE5 applications will as well. The export should however probably not be in .zshenv but in the scripts used to run the i3 session (eg. xinitrc, but I don't know whether and how there's something like a "starti3" and what files it sources.
This looks weird, systemd should be a system daemon? |
![]() Registered Member ![]()
|
I'm pretty sure that this change cause the problem. It's reprodicible by just these lines. Probably it also affects okular indirectly.
Ok, I will look into a better place to put that.
Sorry, what do you mean? Is it that I'm already using user session d-bus? https://www.archlinux.org/news/d-bus-no ... ser-buses/ |
![]() ![]()
|
I'm not sure whether Qt supports systemd session services (and if they're the only ones ...)
Do you have
If the export alone screws dbus access, does this also happen if you do not put into .zshenv? Did you have a .zshenv before? |
Registered users: Bing [Bot], Google [Bot], rockscient, Yahoo [Bot]