In the View -> Preferences -> Advanced dialog window, I put "leafpad %f" in the Root's editor field.
When I clicked the OK button, it popped up the message:
Quote:
Save Root Setting
You will now be asked for your root password to save the root settings for this user to a file in /etc/spacefm/ Supplying the password in the next window is recommended. Because SpaceFM runs some commands as root via su, these settings are best protected by root.
|
I clicked the OK button in this message window. I was not prompted for root password. But that maybe because I had used "sudo" earlier.
Doing that stops the warning message from appearing when executing "spacefm" from a terminal window.
It also created the file /etc/spacefm/"myuserid"-as-root and contains the following:
Quote:
# SpaceFM As-Root Session File
# THIS FILE IS NOT DESIGNED TO BE EDITED
root_editor-s=leafpad %f
main_terminal-s=lxterminal
main_terminal-b=2
|