View Single Post
Posts: 436 | Thanked: 406 times | Joined on Jan 2010
#7
Originally Posted by outdoors View Post
I wanted to open an image with the image viewer this way, but had no luck. I tried cd /home/user/MyDocs/.images && image-viewer photo.jpg
also tried image_viewer. Both are stated as the exec in the real shortcut for the image viewer. Any ideas?
Basically if an app cant open with an xterm command, then it wont work with the command line I gave before.

For example leafpad can be called in xterm using

leafpad filename.txt

however image-viewer cant, at least not with a simple command. It may need a long dbus command which I'm not certain of. If i ever figure it out I would post back here.