## Starting mrViewer

mrViewer can be started in a variety of ways.
If you have no icon on your desktop, the simplest way is to go the place where mrViewer was installed, look for the directory for the appropiate platform and architecture for your machine and click on the:
mrViewer.sh
( Linux ) or
mrViewer.exe
( Windows ) application icon.
mrViewer can also be started from any command-line or shell window, as mrViewer may have already added its path to your standard system PATH variable. Open any shell window and then you can type in:
> mrViewer [-options] [<images...>]
On Linux, you would do:
> mrViewer.sh [-options] [<images...>]
where -options are optional mrViewer command-line options and images are optionally a list of images or sequences you want to display. For a list of valid options, use:
> mrViewer -h
On certain platforms, like Windows, mrViewer can also associate itself to several image and video files it knows about. In that case, opening a Windows Explorer window and double-clicking on a file that mrViewer recognizes may automatically invoke a new copy of mrViewer.
mrViewer will start in the natural language of the OS, if there are translations available. If you want mrViewer to open always in English, set the environment variable:
On Linux bash, look in mrViewer.sh and add:
export LC_ALL=C
Under Windows, create a .bat file, like:
@echo off
set LC_ALL=C
start "" "Path/To/mrViewer.exe"
Note that file associations will need changing.
If mrViewer has the single instance preference set, only one mrViewer will get started and any other image that would go to a new viewer will get redirected back to the first instance.
In order for this to work, mrViewer creates a dummy lock file in your home directory in:
$HOME/.fltk/filmaura/mrViewer.lock.prefs
on linux
and
$USERPROFILE/filmaura/mrViewer.lock.prefs
If mrViewer crashes, that file might get left behind and prevent mrViewer from starting up. Make sure you delete it manually in that case.