LIGHT - File manager cannot open root terminal or window.

Issue #113 resolved
Moises Henriquez created an issue

When in SpaceFM in 7.2 LIGHT as of A0.2.6

File -> Root Terminal or File -> Root Window presents an error about setting a valid Graphical SU command.

Opening View -> Preferences reveals the default value for 'Graphical SU' is set to /usr/bin/ktsuss which does not exist in VL. Changing this value to /usr/bin/gksu fixes the problem.

It looks like to set the default values you the spacefm package needs to be re-built and ship the default values in /etc/spacefm/spacefm.conf. The default values seem to be set correctly there, but they are commented.

Comments (5)

  1. roarde

    Installed spacefm on STD A1.2. Root Terminal and Root Window opened fine; gksu was used.

    Installed Light A0.2.6.
    Logged in as regular user.
    Verified problem, as stated.
    Rebooted to existing 7.1 install.
    Mounted A0.2.6 install at /mountpoint.
    Removed su and gsu references from /mountpoint/home/roarde/.config/spacefm/session.
    Removed other spacefm/session* files.
    Rebooted into A0.2.6 and logged in as roarde.
    Root Window and Root Terminal operated normally, using gksu.
    Viewed /home/roarde/.config/spacefm/session
    su_command-s=/bin/su
    gsu_command-s=/usr/bin/gksu
    had been automatically appended to the file.

    What I gather is that the commented-out options in the config are the compiled-in defaults. Light already has gksu, and it works here once ktsuss is taken out of the picture. Presently, ktsuss is set by the file etc/skel/.config/spacefm/session in the icewmvmods package.

    OTOH, ktsuss has finally found a home after berlios.de shut down. It's now on GitHub and is at version 2.1. Just a matter of whether you want to use what's there already and used by default, or build ktsuss.

    Reminder: Spacefm's default graphical editor is set to abiword. Good choice for the package in general, but Abiword is not (yet?) on Light 7.2.

  2. Moises Henriquez reporter

    So, sounds like that icewmvmods package needs to either exclude the etc/skel/.config/spacefm/session file, or update it to make use of gksu. I found that a lot of these config files provided by vlconfig2 and wm skel files can really be eliminated if the app responsible for using each config file is provided with sane defaults on their default config files.

  3. roarde

    All that's needed is one "session" file. The location for that is /etc/xdg/spacefm/session. The setttings there will be copied to any user who starts without a session file.

    I think only wanted settings that differ from defaults need be mentioned, with the rest being filled in automatically. But that needs to be tested.

    At first glance, it looks like the changed settings are specific to Light/icewmvmods, so that session file would go in the icewmvmods package.

    Also noticed that the default editor was automatically set to Leafpad by default. It's the default editor on the system the diffs were taken from; so editor probably doesn't need to be mentioned when configuring.

    It will take some work to determine which "changed" settings are actually needed, and which aren't.

  4. Log in to comment