<F3>: *.gif ?!

My Slakware-13 which auto-rendered *.gif, *.jpg, ... by mc: <F3>
developed a problem, causing me to use a 'fork' of an earlier Slakware,
which lacks zgv and gqview.

So I edited /etc/mc/mc.ext from:
        Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (gqview %f &); fi
        View=%view{ascii} identify %f
 #  Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (gqview %f &); fi
   Open=if [ "$DISPLAY" = "" ]; then gwenview %f; else (gqview %f &); fi
   View=%view{ascii} identify %f

gwenview is the only graphics-viewer that I could find and of course
 `gwenview <graphicFile>` test OK.

In mc, <F3> gives error message:

/tmp/mc-root/mcextHhBNQd: line 2: identify: command not found
   and WHILE the error mesg is still showing
ls /tmp/mc-root/mcext*

After I 'accept' mc's error message,
ls /tmp/mc-root/mcext*
shows that
has gone.

OK, it was temporary. And the other 2 are 'previous dirt'?
Instead of <F3>, mousing gives:
 /tmp/mc-root/mcextpim7Oa: line 2: gqview: command not found

Let's try to redirect the gqview ?
 ln -s /usr/bin/gwenview /usr/local/sbin/gqview

OK, now mousing renders, but <F3> shows the similar error-message.

Please advise.

== Chris Glur.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]