MC Midnight Commander slow start

Terpentijn

Active Member

Reaction score: 10
Messages: 101

I have a weird problem. Today I reinstalled FreeBSD 13 RC4, this time on a UEFI boot disk. Last week I had it installed on a legacy boot system. It is exactly the same config with exactly the same programs installed. The system is running fine. However, MC takes now 5 seconds to start (in a xfce terminal). This did not happen last week. MC was fast. Since the only thing that has changes is the boot method I wonder if that can have something to do with it. It is far fetched but I have no idea why this has started happening. The pkg number is the same. Running the latest packages. Any ideas?
 

_martin

Aspiring Daemon

Reaction score: 224
Messages: 982

I doubt that. Maybe something in the mc's history is bothering it ? In your home you have ~/.config/mc directory. Try to rename it to old ( mv ~/.config/mc ~/.config/mc.old ) and try to launch mc again.
 

Zirias

Daemon

Reaction score: 1,095
Messages: 1,977

You could try running it through truss(1), e.g. like truss -d -o /tmp/mctruss.log mc. Then you might see in the log which call is blocking for several seconds…
 
OP
Terpentijn

Terpentijn

Active Member

Reaction score: 10
Messages: 101

I’ll try both suggestions tomorrow. I’ll come back to it. Thanks.

update: I've removed .local/share/mc and .config/mc and all is well :)
 
Top