Reply to topic

Krusader 2.5.0 missing toolbar icons in root mode

User avatar Cobber
Registered Member
Posts
53
Karma
0
OS
The update to Krusader 2.5.0 has broken the toolbar when opened in Root mode.

You cannot get any icons to display in the toolbar, only text. Right-clicking on the toolbar shows "Icons Only" is selected, but doesn't work. Works fine if opened in User mode.

Could be this bug, but not sure.

Tried forcing the version to the previous one in Synaptic, but then Krusader won't open at all in Root mode.


The Town Site Buy your own town and promote it however you want.
User avatar Cobber
Registered Member
Posts
53
Karma
0
OS
Version 2.5.0 is a KDE 5 version. The previous version was KDE 4. The bug I referred to is not the one causing my issue, but is more related to this one.

GUI applications should never be run as Root using sudo. That is why it is better to use something like Krusader (which is designed to work as a User or Root) than trying to run Dolphin as root.

The command to open Krusader that has come with 2.5.0 opens it in such a way that it doesn't know where the icons live. The correct command should be:

Code: Select all
kdesudo -c "KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true  dbus-launch krusader"


According to the bug above, a simpler command can be used by creating a new file "/etc/sudoers.d/workaround_kde5" containing the code:

Code: Select all
Defaults env_keep += "KDE_SESSION_VERSION KDE_FULL_SESSION"


However, I have been unable to get this file to work. So for now, I am using the long "kdesudo" command. If anyone knows of a simpler way to solve this problem, please let me know as I'm stumped at the moment.


The Town Site Buy your own town and promote it however you want.
User avatar themroc
Registered Member
Posts
13
Karma
0
OS
Same here, but an useraction can be a simple workaround:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE KrusaderUserActions>
<KrusaderUserActions>
<action name="rootmode">
<title>Root Modus</title>
<tooltip>Root Modus</tooltip>
<icon>krusader_root</icon>
<category>System</category>
<command>kdesudo -c "KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true krusader --left='%lPath%' --right='%rPath%'"</command>
</action>
</KrusaderUserActions>

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], extinct, Google [Bot], JesusM, kde-zagzigger, Majestic-12 [Bot], peje, Sogou [Bot], Yahoo [Bot]