The behavior your describe is a function of the program which launches your image viewer. This behavior may or may not be modifiable to do what you want. You haven't said what the program is, so there is little anyone can do to provide a good answer. You haven't even said what Linux distribution you are using, so it is difficult to take even an educated guess. Do you need to use this particular application to launch your image viewer, or would a shell script or other method do just as well?