Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 2 [3] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Midnight Commander, Full version< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 04 2004,14:51 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
caulktel Offline





Group: Members
Posts: 185
Joined: Sep. 2003
Posted: Nov. 04 2004,15:28 QUOTE

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?


--------------
Joel
KB6QVI
Back to top
Profile PM 
Nassho Offline





Group: Members
Posts: 14
Joined: Mar. 2004
Posted: Nov. 11 2004,03:06 QUOTE

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
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 11 2004,16:50 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
ico2 Offline





Group: Members
Posts: 802
Joined: July 2004
Posted: Nov. 11 2004,17:37 QUOTE

i generally use scite, nano is good for editing config files that prevent x from going though lol

--------------
ico2
Back to top
Profile PM MSN 
14 replies since Nov. 03 2004,18:21 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 2 [3] >/
reply to topic new topic new poll
Quick Reply: Midnight Commander

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code