How to set up file associations in the mc?
Please tell us the example images. To all the images (by clicking) to open in viewnior.
I looked through dozens of pages on the Internet, but did not understand. :(

File associations in mc
(5 posts) (3 voices)-
Posted 13 years ago #
-
here is a tutorial for video - http://ubuntuincident.wordpress.com/2010/12/08/configure-mc-open-files/
for images go to the image section (mine is line 350) and try
include/image
Open=(viewnior %f >/dev/null 2>&1 &)if that does not work ask in the mailing list http://mail.gnome.org/mailman/listinfo/mc
Posted 13 years ago # -
Commented out what happened. Wrote a new rule. Did not work. It is not clear.
$ ./224043-1440x900.jpg
./224043-1440x900.jpg: line 1: ���JFIFHH��
GoodFon.ru��C: not found
./224043-1440x900.jpg: line 6:: not found
./224043-1440x900.jpg: line 7:
: not found
./224043-1440x900.jpg: line 10: ��C: not found
./224043-1440x900.jpg: line 11: : not found
./224043-1440x900.jpg: line 63: syntax error: unexpected ")"Posted 13 years ago # -
@black dog
X session running
mc/Command/Edit extension filestable:
include/image
Open=(gpicview %f >/dev/null 2>&1 &)cooking:
include/image
Open=(viewnior %f >/dev/null 2>&1 &)Highlight a jpg file within mc
Hit enter/return
or
Dbl click jpg filename within mc with mouse.Image viewer program opens displaying highlighted/clicked on jpg file
Posted 13 years ago # -
I installed slitaz-cooking (in VirtualBox). Mc I run in the X-session. I click the mouse on a jpg file and there are strange messages.
Now I'm finished writing the file bindings (end):
# Default target for anything not descriebed above default/* Open=pcmanfm %f Viev=
Now open the image. But music is not playing. Perhaps all you need to reconfigure. But in pcmanfm still works!
Posted 13 years ago #
Reply
You must log in to post.