December 30, 20205 yr Hi, how can i make a persistent default path for midnightcommander? I want it to start with "/mnt/user" preferably on both sides. best regards
December 30, 20205 yr 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
January 4, 20215 yr Author 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'
May 2, 20215 yr On 1/4/2021 at 11:26 AM, Greyberry said: 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' And did it work or does it work that way?
Archived
This topic is now archived and is closed to further replies.