>> When I click F4 on a video file, mc still tries to open in in my text
>> editor. What am I doing wrong?
>
> F3 == View
> F4 == Edit
> ENTER == Open
>
> include/video # does nothing
> ...Open=(mplayer %f >/dev/null 2>&1 &)
>
> # you might have to apply it to a file name pattern
> regex/\.(wmv|WMV)$
> Include=video
of course, I have matching pattern like this (I just left it out for the
sake of brevity):
regex/\.([aA][vV][iI])$
Include=video
...
...
include/video
Open=([ $(id -u) != 0 ] && [ "$DISPLAY" ] && mplayer %f &)
View=%view{ascii} mediainfo %f
Edit=
_______________________________________________
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc