Can't manually type commands or pass arguments
Posted: Mon Sep 27, 2010 8:24 am
I'm using XNviewMP, most recent version 0.26 for Ubuntu linux.
I want to use qiv (a command line image viewer) to set my wallpaper. I currently use Gthumb and I have a keyboard shortcut associated with this command: "qiv -t -m -x %f". That opens qiv and passes it specific arguments that resize the image and set it as desktop wallpaper.
I would like to to do the same thing in XnviewMP, but I am unable to manually type the command when I select "Open With" and then "Add Program". I can find the executable of the program and it will open in it, but the problem is that to set the image as wallpaper (which is what I want to do) I need to pass arguments to that program.
Is there a way to do that? If not, please allow people to add their own commands instead of requiring they select specific executable files.
I even tried putting the commands in a script and setting "open with" to that file (and yes, I did make it executable) but it wouldn't work.
I want to use qiv (a command line image viewer) to set my wallpaper. I currently use Gthumb and I have a keyboard shortcut associated with this command: "qiv -t -m -x %f". That opens qiv and passes it specific arguments that resize the image and set it as desktop wallpaper.
I would like to to do the same thing in XnviewMP, but I am unable to manually type the command when I select "Open With" and then "Add Program". I can find the executable of the program and it will open in it, but the problem is that to set the image as wallpaper (which is what I want to do) I need to pass arguments to that program.
Is there a way to do that? If not, please allow people to add their own commands instead of requiring they select specific executable files.
I even tried putting the commands in a script and setting "open with" to that file (and yes, I did make it executable) but it wouldn't work.