ZIMQTC

Starts the ZimQt client executable to run Zim applications.

 

zimqtc -n database [-u user] [-p password] [-c command] [-o port] [-h host name] [-w work path]

Parameters

-n database

is one of the database names provided in the zimdb.zim configuration file when Zim Server was started. This parameter is obligatory

-p password

is the password for this user as known by Zim. The users ZIM and super don't have a password; just provide the parameter as -p "". It omitted, it is assumed the null string ("")

-u user

is a user name known by Zim. Usually, any Zim database contains, by default, the users ZIM and super.  It omitted, this parameter is assumed "ZIM"

-c command

is the Zim command you want to execute when Zim starts.  It omitted, it is assumed "zimprof"

-o port

is the server port number used to connect to Zim Server as specified in zimconfig.srv configuration file.  It omitted, this port is "6002"

-h host name

is the name the machine where Zim Server is running. It can be a name or an IP address known to the network.  It omitted, it is assumed "localhost"

-w work path

is an operating system absolute address where temporary files used by this Zim session will be place. It omitted, it is assumed the null string ("")

Comments

When ZIMQTC starts, it connects to Zim Server using the database name specified, takes the appropriates parameters from the database configuration file and then either executes immediately the Zim command specified in the parameters or prompts to the user.

If one or more parameters are missing then ZIMQTC will prompt a login window for the user to provide the correct information, just like this example: