LuxRiot Blog

July 18, 2007

HOWTO: Conveniently start two instances of LuxRiot DVR Client on dual monitor systems

Filed under: How To — roman @ 4:56 am

The information applies to:

  • LuxRiot 1.6.5 and more recent

Summary

LuxRiot DVR Client application saves and restores it’s position on the screen to make its use convenient when however single instance of the application is used. On dual monitor systems it is sometimes convenient to have two instances to run independently, for example, one instance is persistently running on secondary monitor and the other is started on demand on primary monitor.

LuxRiot DVR Client accepts a command line switch /InstanceNumber which allows to store window positions independently between different instances.

Description

To be able to use separate instances conveniently, a shell shortcut (desktop, quick launch etc.) and LuxRiot DVR Client configuration file (*.lxd) are to be created for each instance.


First, prepare configuration files creating a copy of the file or using File, Save As menu command in the application. For example, use Save As to create Primary.lxd and Secondary.lxd files under My Documents. Initially the files may be equal, it will be possible to customize the files later, such as for example configure startup layout.

Second, create shell shortcuts to start LuxRiot DVR Client using specified instance number and configuration file. Use shell context menus (e.g. in Windows Explorer) to create a shortcut. The command line for the first shortcut will be (provided LuxRiot is installed into C:\Program Files\LuxRiot Digital Video Recorder directory, Windows user name is John Doe and path to My Documents direcory may depend on operating system):

“C:\Program Files\LuxRiot Digital Video Recorder\DVRClient.exe” “C:\Documents and Settings\John Doe\My Documents\Primary.lxd”

The second shortcut will be:

“C:\Program Files\LuxRiot Digital Video Recorder\DVRClient.exe” /InstanceNumber:2 “C:\Documents and Settings\John Doe\My Documents\Secondary.lxd”

Shortcut

The /InstanceNumber:2 parameter instructs to use independent settings to avoid confusion with another instance. First shortcut will open client application with Primary.lxd configuration file and the second - with Secondary.lxd. Put application windows into desired positions on the virtual desktop (for example, drag second window to secondary monitor) and all window positions will be saved independently. Some of the settings (such as under menu Tools, Options) will remain be shared between the instances.

No Comments »

No comments yet.

RSS feed for comments on this post.

Leave a comment

You must be logged in to post a comment.

Powered by WordPress