mc midnightcommander default path


Recommended Posts

By default mc uses the current path as the default.  So you can "cd" to wherever you want to be prior to executing mc

 

Or, you can edit /root/.config/mc/panels.ini to suit (google is your friend)

 

Once you've got panels.ini working the way you like then you save the file to the flash drive and at boot time copy it back to the appropriate folder to make it persistent

Link to comment

Thank you for the hints.

 

I don't think panels.ini is capable to set both panels directories; at least i was not able to set the default dir of both panels via panels.ini.

 

I now added an alias in the /boot/config/go script, and hope the alias will persist:

alias mc='. /usr/share/mc/bin/mc-wrapper.sh /mnt/user /mnt/user'

 

  • Thanks 2
Link to comment
  • 3 months later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.