command line variables for MP?

Ideas for improvements and requests for new features in XnView MP

Moderators: helmut, XnTriq, xnview

akahige
Posts: 26
Joined: Mon May 28, 2007 8:54 am

command line variables for MP?

Post by akahige »

I'm trying to set MP as my default graphic viewer, but it doesn't seem to support having files passed to it from the command line.

Usually, the format is "appname %f" or "appname filename" but I can't make that work no matter what I try, so I thought I should ask in case MP doesn't support that.

I'm running v0.21 on Ubuntu Karmic AMD64.
--
michael
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: command line variables for MP?

Post by marsh »

Opening image with "xnview.sh" works here.
akahige
Posts: 26
Joined: Mon May 28, 2007 8:54 am

Re: command line variables for MP?

Post by akahige »

Specifically, how are you doing what you're doing?

Maybe I'm missing something obvious. Any help would be most appreciated...
--
michael
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: command line variables for MP?

Post by marsh »

You can choose a script as the default program to open a file type with (at least with Thunar).

From topic, Linux script for launching windows version from file-manager:

Code: Select all

4. Open file manager.
5. Right mouse button upon image.
6. Choose "Open with other application".
7. Browse and select xnview.sh.
8. Image should launch in either fullscreen or windowed view according to settings.
The latest MP script:
XnView MP 0.21 Linux- crash on link start
akahige
Posts: 26
Joined: Mon May 28, 2007 8:54 am

Re: command line variables for MP?

Post by akahige »

Sorted!

Thanks!


Now if only reading networked drives would work... =]
--
michael