<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:
 include/image
        Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (gqview %f &); fi
        View=%view{ascii} identify %f
to:
 include/image
 #  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*
 gives:
/tmp/mc-root/mcextAKNWOd
/tmp/mc-root/mcextHhBNQd
/tmp/mc-root/mcextfde6De

After I 'accept' mc's error message,
ls /tmp/mc-root/mcext*
shows that
  /tmp/mc-root/mcextHhBNQd
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]