Reply to topic

Dolphin shows no icons when using in openbox (standalone)

rodler
Registered Member
Posts
2
Karma
0
Since dolphin got updated to version 15.08 I don't see any icons in dolphin anymore when opening it in openbox, which is my standard window manager (standalone). Even when entering the properties of a folder in order to change the icon there no icon is visible in the properties window. Under kwin/plasma there is no problem, all icons show up as expected. When starting dolphin from console there is one message occuring only in openbox:
QPainter::begin: Paint device returned engine == 0, type: 2

I am using Arch linux,
uname -a
Linux bumblebee 4.1.6-1-ARCH #1 SMP PREEMPT Mon Aug 17 08:52:28 CEST 2015 x86_64 GNU/Linux
openbox --version
Openbox 3.6.1

If you need more info about my system I'll gladly provide it.

What could be the problem here? Thanks!
luebking
Karma
0
There's likely no QPA loaded, so no icon theme available.

Try
Code: Select all
XDG_CURRENT_DESKTOP=kde dolphin
QT_QPA_PLATFORM_THEME=kde dolphin
QT_QPA_PLATFORM=kde dolphin


One of them should likely do ;-)
rodler
Registered Member
Posts
2
Karma
0
Great, thanks a lot!!! The first one did the trick!
User avatar scummos
Global Moderator
Posts
1175
Karma
7
OS
luebking wrote:There's likely no QPA loaded, so no icon theme available.

Try
Code: Select all
XDG_CURRENT_DESKTOP=kde dolphin
QT_QPA_PLATFORM_THEME=kde dolphin
QT_QPA_PLATFORM=kde dolphin


One of them should likely do ;-)


Hmm. That's not really a solution. If you set XDG_CURRENT_DESKTOP to kde, qt will load the kde platform integration plugin ... which will for example always use SNI. If you run a desktop without SNI, this doesn't work (and currently even crashes horribly, see https://git.reviewboard.kde.org/r/126212/). So what does one do to get icons in KDE apps outside Plasma?

Edit: Ok, one solution is using "qt5ct" to select an icon theme and a style, and then
Code: Select all
export QT_QPA_PLATFORMTHEME="qt5ct"
. That works and shouldn't have the problem mentioned above.


I'm working on the KDevelop IDE.
spectrum70
Registered Member
Posts
4
Karma
0
I am in fluxbox and to have breeze icons in Dolphin i used this solution:

[email protected] ~ > cd /usr/share/icons
[email protected] /usr/share/icons > sudo mv hicolor hicolor_backup
[email protected] /usr/share/icons > sudo ln -s breeze hicolor

Test it:
[email protected] ~ > XDG_CURRENT_DESKTOP=kde dolphin

add then
export XDG_CURRENT_DESKTOP=kde
in your .profile

Regards
angelo
User avatar scummos
Global Moderator
Posts
1175
Karma
7
OS
Do not use XDG_CURRENT_DESKTOP=kde outside KDE. It will explode in some cases. Instead, use qt5ct or so. I don't like the situation either :(


I'm working on the KDevelop IDE.

 
Reply to topic

Bookmarks



Who is online

Registered users: Bing [Bot], deskuio, eight-bit, Google [Bot], millk