Icons not showing on sudo dolphin on 15.10
Solution 1
The root cause of the ops issue is a known bug in KDE affecting any application running under sudo
.
The recommended work around is to
-
Open Konsole and enter the following commands to edit the sudoers file:
sudo visudo -f /etc/sudoers.d/workaround_kde5
-
In the appearing editor add the line:
Defaults env_keep += "KDE_SESSION_VERSION KDE_FULL_SESSION"
Save and exit the editor.
For reasons unknown to the commenter these variables are required for proper icon loading. sudo
/su
strips them by default this line tells it not to.
Solution 2
I finally got icons working by installing the full kubuntu-desktop
package, restarting, and logging into plasma once.
Logging out and back into gnome3 gave me a few icons.
Interestingly enough, dolphin4 gives all icons as expected, it's just the QT5 build of dolphin that doesn't have icons, (and consequently any package compiled with QT5 instead of Qt4 misbehaves).
Related videos on Youtube
Comments
-
Yohan Leafheart over 1 year
Greetings again everyone, I update my system recently from 15.04 to 15.10. And among the many bizarre errors, when I open dolphin as root, by using
kdesudo dolphin
, no icons load. They do load normally on dolphin but not as root.EDIT: Another error happened now, I tried navigating on the elevated dolphin and this error popped.
-
int_ua over 8 yearsIIRC, it's also not showing icons if started in an openbox session
-