Config options

From GnokiiWiki

Jump to: navigation, search
Command Line Options

--config

               --config filename

Select a different config file.

The default config files are searched if filename is an empty string (ie. "") or this option is omitted.

On Linux by default are searched $HOME/.gnokiirc and /etc/gnokiirc.

On Windows by default are searched %HOMEDRIVE%\%HOMEPATH%\_gnokiirc and %SYSTEMROOT%\gnokiirc.

--phone

               --phone phone_section

Select a different phone section (by default the global section is used).

The default section is used if phone_section is an empty string (ie. "") or if this option is omitted.

For example, if in your configuration file you add:

[phone_myconfig]
port = /dev/tty/USB0
model = 6510
connection = dku2libusb

you can call:

gnokii --phone myconfig --identify
Personal tools