Re: imageviewer in mc



At least for the root user, you also have to make sure $PATH includes the relevant directory for where gwenview resides (try $(which gwenview) as a user to find it). A normal user already has the relevant directory if they're running a graphical display.

Regards, Brickviking (a.k.a. DrSmokey)


On 30 December 2017 at 10:17, ratatouille <ratatouille nimmini de> wrote:
Hello!

No, I dont know how to do this or what the new command should look like.

if [ -n "$DISPLAY" ]; then
            (gpview "${MC_EXT_FILENAME}" &)

Somehow gwenview must be called some way different.

  Andreas

solarflow99 <solarflow99 gmail com> schrieb am 29.12.17 um 13:12:25 Uhr:

> Can you create a symlink for the old command pointing to the new command?
>
> On Dec 29, 2017 1:07 PM, "ratatouille" <ratatouille nimmini de> wrote:
>
> > Hello!
> >
> > Is this list active? I have a question about viewing images with mc.
> >
> > I am on openSUSE and there is no gpview anymore available but gwenview.
> >
> > As normal user I can view images with mc nice (gwenview is called) but
> > not as root. I get
> > /usr/lib/mc/ext.d/image.sh: Zeile 45: gpview: Kommando nicht gefunden
> >
> > Replacing gpview with gwenview in line 45 give mismatch on the screen.
> >
> > How can this be solved?
> >
> > Kind regards
> >
> >   Andreas
> > _______________________________________________
> > mc mailing list
> > https://mail.gnome.org/mailman/listinfo/mc
> >

_______________________________________________
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc



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