Difference between revisions of "Command-line options and configuration"

From Freeplane - free mind mapping and knowledge management software
(Debug start script under Linux)
Line 1: Line 1:
= Command-line options =
+
== Command-line options ==
 
Call freeplane like this:
 
Call freeplane like this:
 
  freeplane [options] [file1 [file2 ...]]
 
  freeplane [options] [file1 [file2 ...]]
Line 10: Line 10:
  
 
Batch execution of menu items (e.g. scripts) is described in a [[Batch Jobs|special wiki article]].
 
Batch execution of menu items (e.g. scripts) is described in a [[Batch Jobs|special wiki article]].
 +
 +
== Debug start script under Linux ==
 +
 +
Start Freeplane in debug mode (if you have problems starting):
 +
DEBUG=true freeplane.sh
  
 
= Environment variables =
 
= Environment variables =
Line 20: Line 25:
 
Set Java Properties, e.g. set the freeplane user config directory in Freeplane < 1.3.3:
 
Set Java Properties, e.g. set the freeplane user config directory in Freeplane < 1.3.3:
 
  JAVA_OPTS=-Dorg.freeplane.userfpdir=$HOME/blabla freeplane.sh
 
  JAVA_OPTS=-Dorg.freeplane.userfpdir=$HOME/blabla freeplane.sh
 
== DEBUG ==
 
Start Freeplane in debug mode (if you have problems starting):
 
DEBUG=true freeplane.sh
 

Revision as of 20:14, 23 April 2017

Command-line options

Call freeplane like this:

freeplane [options] [file1 [file2 ...]]
  • -h|--help: list available options
  • -X<menukey>: execute menu item with key <menukey>. Use devtools add-on to find the menu keys
  • -S: stop after executing menu items
  • -N: set the 'nonInteractive' system property to 'true'
  • -U<userdir>: set the freeplane user config directory (only since version 1.3.3!!!)

Batch execution of menu items (e.g. scripts) is described in a special wiki article.

Debug start script under Linux

Start Freeplane in debug mode (if you have problems starting):

DEBUG=true freeplane.sh

Environment variables

Select Java installation used to run Freeplane

if you want to run Freeplane with any particular Java installation under Windows OS, the recommended way is to set environment variable FREEPLANE_JAVA_HOME to its root and run freeplane.exe or freeplaneConsole.exe

 FREEPLANE_JAVA_HOME=C:\Program Files\Java\jre1.8.0_131

JAVA_OPTS

Set Java Properties, e.g. set the freeplane user config directory in Freeplane < 1.3.3:

JAVA_OPTS=-Dorg.freeplane.userfpdir=$HOME/blabla freeplane.sh