Ticket #3873 (closed defect: invalid)

Opened 6 years ago

Last modified 6 years ago

extfs handlers not picked up from ~/.config/mc/extfs.d nor ~/.mc/extfs.d

Reported by: marcelpaulo Owned by:
Priority: trivial Milestone:
Component: mc-core Version: master
Keywords: extfs .config .mc extfs.d Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

extfs handlers stored in either ~/.config/mc/extfs.d nor ~/.mc/extfs.d are not picked up. To reproduce it:

  1. Move one of the extfs handlers from /usr/lib/mc/extfs.d to either ~/.config/mc/extfs.d or ~/.mc/extfs.d
  2. Restart mc
  3. Try to open a file handled by the extfs handler: it won't open

Change History

comment:1 Changed 6 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to invalid
  • Milestone Future Releases deleted

Why do you want ~/.config/mc/extfs.d? Look at the output of mc -F:

[User data]
    Config directory: /home/andrew/.config/mc/
    Data directory:   /home/andrew/.local/share/mc/
	skins:          /home/andrew/.local/share/mc/skins/
	extfs.d:        /home/andrew/.local/share/mc/extfs.d/
	fish:           /home/andrew/.local/share/mc/fish/
	mcedit macros:  /home/andrew/.local/share/mc/mc.macros
	mcedit external macros: /home/andrew/.local/share/mc/mcedit/macros.d/macro.*
    Cache directory:  /home/andrew/.cache/mc/

comment:2 follow-up: ↓ 3 Changed 6 years ago by marcelpaulo

/usr/lib/mc/extfs.d/README says:

To handle requests, create a shell/perl/python/etc script/program
(with executable permissions) in $(libexecdir)/mc/extfs.d
or in ~/.mc/extfs.d.

so I supposed ~/.config/mc/extfs.d was the correct place to put them. Thanks for mc -F, I didn't know about it.

comment:3 in reply to: ↑ 2 Changed 6 years ago by andrew_b

Replying to marcelpaulo:

/usr/lib/mc/extfs.d/README says:

or in ~/.mc/extfs.d.

Fixed in the 3780_cleanup branch. Thanks!

so I supposed ~/.config/mc/extfs.d was the correct place to put them.

extfs script isn't config though.

Note: See TracTickets for help on using tickets.