DSL Ideas and Suggestions :: Midnight Commander



or avoid the wrapper by exporting EDITOR=scite from .xinitrc and EDITOR=nano from .bash_profile

cbagger's idea is less likely to fail, though, in a situation where you may source .bash_profile while in X.

Hi,

I made the above changes, it works great! However, even before I made these changes, I was only able to use Midnight Commander as root. If I open it up under the user account it says:

                                          Hotlist Load

was unable to write ~/.mc/hotlist file, your old hotlist entries were not deleted.

So I deleted the .mc/hotlist file all together, and I still get the same error, but it works fine from root. Any Ideas?

Quote (ke4nt1 @ Nov. 03 2004,15:36)
Curious to know which one you will pick?
Wondering if that decision would make a good poll ?
( as to which editor everyone would pick for mc use )

If it´s usefull for the poll, now I tried  Nano and i´m happy with it.

Nassho

Quote (caulktel @ Nov. 04 2004,10:28)
Hi,

I made the above changes, it works great! However, even before I made these changes, I was only able to use Midnight Commander as root. If I open it up under the user account it says:

                                          Hotlist Load

was unable to write ~/.mc/hotlist file, your old hotlist entries were not deleted.

So I deleted the .mc/hotlist file all together, and I still get the same error, but it works fine from root. Any Ideas?

If you launched mc as root from the menu, what version of DSL are you using?  This was a menu bug which was fixed in version 0.8.0 (or maybe 0.7.3?).

If you launch mc from console using "sudo mc" before running it as a regular user, your configs are created with root ownership and can not be viewed/modified as regular user.

You can avoid this trouble in three ways:
1) Don't launch mc from console with "sudo mc" until after mc has been run once as normal user.
2) Use the fluxbox menu to launch mc (DSL 0.8.0+).
3) From console, use "sudo su - -c mc" to start mc as root instead of just "sudo mc".  This creates the root mc configs in /root instead of /home/dsl.

i generally use scite, nano is good for editing config files that prevent x from going though lol
Next Page...
original here.