Page 1 of 1
command line variables for MP?
Posted: Fri Oct 30, 2009 6:47 pm
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.
Re: command line variables for MP?
Posted: Sun Nov 01, 2009 12:04 am
by marsh
Opening image with "xnview.sh" works here.
Re: command line variables for MP?
Posted: Sun Nov 01, 2009 12:29 am
by akahige
Specifically, how are you doing what you're doing?
Maybe I'm missing something obvious. Any help would be most appreciated...
Re: command line variables for MP?
Posted: Sun Nov 01, 2009 1:20 am
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
Re: command line variables for MP?
Posted: Sun Nov 01, 2009 1:33 am
by akahige
Sorted!
Thanks!
Now if only reading networked drives would work... =]