Bug 349650 - Icons are not correctly seen in the "root mode" of Krusader in Kubuntu 15.04
Summary: Icons are not correctly seen in the "root mode" of Krusader in Kubuntu 15.04
Status: RESOLVED FIXED
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Davide Gianforte
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-27 10:37 UTC by Toni Asensi Esteve
Modified: 2016-04-22 08:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of the "normal mode" of Krusader (138.92 KB, image/png)
2015-06-27 10:39 UTC, Toni Asensi Esteve
Details
Screenshot of the "root mode" of Krusader (147.33 KB, image/png)
2015-06-27 10:40 UTC, Toni Asensi Esteve
Details
after executing `sudo -E krusader` (60.11 KB, image/png)
2015-06-27 17:59 UTC, Toni Asensi Esteve
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toni Asensi Esteve 2015-06-27 10:37:46 UTC
Icons are not correctly seen in the "root mode" of Krusader (the one launched with its red icon) in Kubuntu 15.04, however, they are correctly seen in the "normal mode" of Krusader (the one launched with its blue icon).

I'll attach two screenshots where the differences can be seen (icons, etc.)

I'm available for further testing! Thanks for Krusader!

Reproducible: Always
Comment 1 Toni Asensi Esteve 2015-06-27 10:39:06 UTC
Created attachment 93361 [details]
Screenshot of the "normal mode" of Krusader
Comment 2 Toni Asensi Esteve 2015-06-27 10:40:16 UTC
Created attachment 93362 [details]
Screenshot of the "root mode" of Krusader
Comment 3 Toni Asensi Esteve 2015-06-27 10:53:51 UTC
Note: Krusader was compiled and installed with:
        git clone git://anongit.kde.org/krusader 
        cd krusader
        git checkout plasma
        mkdir -p krusader-kf5-build
        cd krusader-kf5-build
        cmake ../krusader -DCMAKE_INSTALL_PREFIX=/usr/ -DCMAKE_C_FLAGS:STRING="-O2 -fPIC" -DCMAKE_CXX_FLAGS:STRING="-O2 -fPIC"
        make
        sudo make install
Comment 4 Davide Gianforte 2015-06-27 17:39:35 UTC
From a terminal, launch "sudo -E krusader"; I tried it on a kubuntu 15.04, the problem is that environment variables are not passed with kdesudo; I'll investigate further
Comment 5 Toni Asensi Esteve 2015-06-27 17:59:38 UTC
Created attachment 93369 [details]
after executing `sudo -E krusader`

After executing `sudo -E krusader` the icons are seen (altough using `sudo` and not `kdesudo` for graphical programs has its problems).

Thanks for Krusader!
Comment 6 andreas_k 2015-08-31 12:38:55 UTC
KDE use in root oxygen icons maybe that the problem is from there.
Comment 7 Davide Gianforte 2015-09-16 12:51:50 UTC
Closing this bug; this is a common problem of sudo distros and it's not internal to krusader. Many solutions refer to unlock root login to configure its environment like a standard user.
Comment 8 Toni Asensi Esteve 2016-04-22 08:15:54 UTC
Update: In https://bugs.kde.org/show_bug.cgi?id=353263#c12 there is a way to prepare the system so that `kdesudo`can be used, with its advantages, and so`kdesudo krusader`, `kdesudo kate`, etc. show icons, etc.