Skip to content
Pliable Pixels edited this page Sep 20, 2018 · 13 revisions

Table of Contents

Scope

This page is dedicated to the Desktop version of zmNinja and tips & tricks

Command Line parameters

The following command line parameters are supported:

--path=<dir>  - starts zmNinja and stores user profile information to that directory. 
                This allows you to switch between different user settings.

--fs          - starts zmNinja in full screen mode

Multiple instances

It is actually possible to launch multiple instances of the same desktop app from command line. This allows you to watch different servers at the same time as well as use multiple monitors. I strongly recommend you use unique --path arguments with each instance because otherwise one instance will conflict with another.

So lets say you want to run 2 copies of zmNinja at the same time:

mkdir -p /path/to/instance1
mkdir -p /path/to/instance2

And then:

# for linux
zmninjapro-1.3.22-x86_64.AppImage  --path=/path/to/instance1
zmninjapro-1.3.22-x86_64.AppImage  --path=/path/to/instance2

#for OSX. Note the -n is critical to launch a new instance
open -n ./zmninjapro.app --args --path=/path/to/instance1 &
open -n ./zmninjapro.app --args --path=/path/to/instance2 &

Hotkeys

The following hotkeys are supported while the app is running:

[Cmd/Ctrl] + Alt + F -> toggle between full screen and windowed mode
[Cmd/Ctrl] + Alt + D -> opens the debug window. 
                        Super useful to see what is going on, 
                        especially when things don't work

Keyboard bindings

The desktop version supports keyboard bindings as follows: Global:

Cmd/Ctrl + Alt + F -> toggle full screen
Cmd/Ctrl + Alt + D -> open debug window

Live Monitor View (single view, not montage):

Arrow Left  -> move to previous monitor
Arrow Right -> move to next monitor
Esc         -> remove live view
P           -> toggle PTZ

PTZ Operations to move (PTZ should be toggled to on first):

Q W E  -> UpLeft, Up, UpRight
A S D  -> Left, Home,Right
Z X C  -> DownLeft, Down, DownRight

Event Footage View:

Arrow Left  -> move to previous event
Arrow Right -> move to next event
Enter       -> play the event if in snapshot mode (shows red play button)
Esc         -> remove event footage view

Timeline:

Arrow Up    -> Zoom In
Arrow Down  -> Zoom Out
Arrow Left  -> Pan Left
Arrow Right -> Pan Right
Esc         -> Fit timeline back to view (reset)
A           -> Previous Day
D           -> Next Day