John, after a re-boot my icon no longer launches root mode although I can still launch from the user actions menu. Any ideas on how to fix this? I've tried editing it with different commands and icons but I get the same error message as before. If you have any suggestions feel free to tell me. Otherwise I won't sweat it and be happy with the success that I got using your method. Thanks.
I had to stop and think about how I got my action to that toolbar button. I had forgotten how!
But all actions show up in the 'configure toolbar' dialog on the left side. Just take out on the right side the existing button for root and sub yours. But I think you already have done this, so, I give you my action here:
Title: Root mode &w/set folders
Tooltip: Runs Krusader with current dirs as root
Description: Mar. 12, 2011 - I made this useraction because Krusaders own is broken. It surrounds the command in two single quotes, which confuses the system.
Command: krusader --left %lPath% --right %rPath%
Exectution mode: Normal
Command accepts local files only
Under advanced properties, make sure 'run as different user' is set to root.
Then assign this action to the toolbar button.