Setting left and right panel directories at startup

Keith Roberts keith at karsites.net
Sun Mar 18 21:38:51 UTC 2018



On 18/03/18 20:14, wwp wrote:
> Hello Keith,
>
>
> On Sun, 18 Mar 2018 19:14:33 +0000 Keith Roberts <keith at karsites.net> wrote:
>
>> Hi all,
>>
>> I found this in /home/keith/.config/mc/panels.ini
>>
>> [Dirs]
>> current_is_left=true
>> other_dir=/home/keith/Documents/
>>
>> I'd like mc to open /home/keith/Documents/ in the left panel as well whenever I start mc up, so both panels are showing the /home/keith/Documents/ directory.
>>
>> Is there some way to tell mc how to do this please?
> I think you could use: `mc <path> <path>`, for instance:
> `mc /home/keith/Documents/ /tmp`, but of course this requires you to know
> the second path to open in addition to your ~/Documents. Not really
> satisfying?
>
>
> Regards,
Hi wwp,

Thanks for your suggestion and that seems to work OK - I just start mc 
with the following command:

mc ~/Documents

and both panes are opened at the ~Documents directories now which is fine.

Kind Regards,

Keith Roberts




More information about the mc mailing list