X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=help%2Fhelp%2Fhtml%2Ffeatures%2Fcommandline.html;h=2ffe0bc02aa9302eeb4bcc4511c10097d70be1f4;hb=2319ef1a410ce35bf2ef1800fd0be4e779ee44eb;hp=27a1a682935133281e9b14539f66b5160869d692;hpb=ee7fcf8d9d817e079c2f0498d149ec45a21f82dc;p=jalview.git diff --git a/help/help/html/features/commandline.html b/help/help/html/features/commandline.html index 27a1a68..2ffe0bc 100644 --- a/help/help/html/features/commandline.html +++ b/help/help/html/features/commandline.html @@ -28,28 +28,130 @@

Jalview can be run from the command line, and provides a range of arguments. These arguments - can also be passed via .JVL files, which are opened - automatically by the Jalview application when double-clicked in a - file browser on Windows and OSX. + href="clarguments.html">range of arguments.

- The way that you launch Jalview from the command line depends on the - platform you are on, and how it has been installed. +

There are a few different ways to do this:

+ +

+ Jalview's command line launch + script +

Since version 2.11.2, the Jalview native application includes a launching shell script. This is the easiest way to + launch an installed Jalview application from the command line.

To run the launch script, simply open a Terminal (or Command prompt on Windows), and type:

+  jalview
+ + +

There are some important differences between the using the launching script and launching Jalview from its icon: +

+ + + Adding the launch script to your path +

+ If typing 'jalview' in the terminal prompt (or windows command line) + doesn't work then you will need to add the location of the jalview + launch script to your + PATH.

+ How you do this depends on your operating system. +

+ + + +

Older versions of Jalview

+ +

+ If you are using a version of Jalview prior to 2.11.2, you can still launch from the command line, but you will have to + use a more platform specific way to launch and use command line arguments.

If you have installed Jalview via conda or another package @@ -65,10 +167,34 @@ open /Applications/Jalview.app --args -open ~/myalignment.fa(put

Passing JVM Arguments to Jalview
If you need - to modify parameters for Jalview's Java Virtual Machine, then take a - look at the instructions for how to setting - the JVM's maximum memory. + to modify parameters for Jalview's Java Virtual Machine, or + configure system properties, then take a look at the instructions + for how to setting the JVM's + maximum memory.
+

+ Changing Jalview's 'Look and Feel'
If you + are experiencing issues with the font size or layout of Jalview's + GUI, you can try changing Jalview's 'Look and feel' by + specifying a custom system property 'laf' on startup (see setting the JVM's memory for + instructions on how to do this for your platform).
For the + Jalview standalone executable jar, simply provide one of the + property settings before the -jar argument

+ + The currently configured look and feel is logged to Jalview's console. + Once the look and feel has been changed, it will be stored in + Jalview's .jalview_properties file for future Jalview sessions. This property is PREFERRED_LAF and can also be used to set the Look and feel by editing your .jalview_properties file. +