JMOL(1)

πŸ’– JMOL(1) β€” the manual page, but make it a group chat πŸ’–

okay bestie, sit down, hydrate, because we're talking about jmol today and she is that girl 🧚✨


✨ NAME ✨

jmol β€” a 3D molecule and crystal viewer πŸ¦‹

like, you give her chemical stuff, she spins it around in three dimensions. iconic behaviour honestly.


🌸 SYNOPSIS 🌸

jmol [options] [file]

πŸ’œ DESCRIPTION πŸ’œ

so jmol is a program that is able to view 3D chemical information like molecular structures, vibrations of bonds or animations. no cap. molecules? she sees them. bonds doing a little wiggle? she sees that too. animations? literally her whole thing. πŸŽ€


πŸ‘‘ OPTIONS πŸ‘‘

here's the whole menu, bestie, and I mean the whole menu β€” I'm not skipping a single one because every single flag is a little star ⭐

  • -a, --autoanimationdelay <arg> β€” delay time in seconds for press-and-hold operation of toolbar animation buttons (default 0.2; numbers > 10 assumed to be milliseconds; set to 0 to disable). so like, how long you gotta hold that animation button before it goes brrr. set it to zero and it just… doesn't. bye πŸ‘‹
  • -b, --backgroundtransparent β€” transparent background. for when you want your molecule floating in the void, main character style 🌈
  • -C, --checkload β€” check script syntax only - with file loading. vibe check the script, but also bring the file along 🫢
  • -c, --check β€” check script syntax only - no file loading. just the vibe check, no file. periodt.
  • -D, --property=value <arg> β€” supported options are given below. yes bestie, scroll down, they're all listed, I got you πŸ’…
  • -d, --debug β€” debug. when something's acting up and you need the receipts 😭
  • -G, --Plugin β€” jmol is a plugin to some other app. she's not the whole show here, she's a guest star ✨
  • -g, --geometry <arg> β€” window width x height, e.g. -g500x500. you're literally setting the window size. that's it. that's the flag. πŸ“
  • -h, --help β€” give this help page. hi, this is the help page πŸ‘‹
  • -I, --input β€” allow piping of input from System.Input. pipe that input in, bestie 🚰
  • -i, --silent β€” silent startup operation. she wakes up quietly, no drama πŸŒ™
  • -J, --jmolscript1 <arg> β€” Jmol script to execute BEFORE -s option. note the BEFORE, capital letters, she means it πŸ”₯
  • -j, --jmolscript2 <arg> β€” Jmol script to execute AFTER -s option. and this one's the AFTER πŸ¦‹
  • -k, --kiosk β€” kiosk mode -- no frame. no frame, no chrome, just vibes πŸŽ€
  • -L, --nosplash β€” start with no splash screen. straight to business, no intro sequence πŸ’…
  • -l, --list β€” list commands during script execution. narration on, bestie πŸ—£οΈ
  • -M, --multitouch <arg> β€” use multitouch interface (requires "sparshui" parameter. yes it needs that parameter, and yes the parenthesis in the original is just like that, I don't make the rules 🀷
  • -m, --menu <arg> β€” menu file to use. pick your menu, queen πŸ‘‘
  • -n, --nodisplay β€” no display (and also exit when done). she's headless and she knows when to leave 🌸
  • -o, --noconsole β€” no console -- all output to sysout. everything goes to sysout, nothing stays behind 🫢
  • -P, --port <arg> β€” port for JSON/MolecularPlayground-style communication. she's talking to other apps now, networking era πŸ’œ
  • -p, --printOnly β€” send only output from print messages to console (implies -i). only the print messages make it through. also, heads up, this implies -i πŸ“’
  • -q, --quality <arg> β€” JPG image quality (1-100; default 75) or PNG image compression (0-9; default 2, maximum compression 9). so for JPG it's quality 1-100 default 75, and for PNG it's compression 0-9 default 2 and the max compression is 9. two different scales, one flag, don't mix them up bestie 😭
  • -R, --restricted β€” restrict local file access. locked down, no wandering πŸ”’
  • -r, --restrictSpt β€” restrict local file access (allow reading of SPT files). same lock-down energy, but SPT files get a hall pass 🎟️
  • -s, --script <arg> β€” script file to execute or '-' for. yes, that's where the sentence ends in the original, I'm not inventing the rest, I'm just reporting 🫑
  • -T, --headlessmaxtime <arg> β€” headless max time (sec). in seconds, and when time's up, time's up ⏰
  • -t, --threaded β€” independent command thread. she does her own thing on her own thread, independent queen πŸ’…
  • -U, --plugin <arg> β€” plugin to start initially. which plugin gets to go first 🌟
  • -w, --write <arg> β€” CLIP or GIF|JPG|JPG64|PNG|PPM:filename. write it out β€” either to the clipboard with CLIP, or to a file with one of those formats and a :filename ✍️
  • -x, --exit β€” exit after script (implicit with -n). she dips when the script's done. also heads up: -n already implies this one πŸ‘‹

πŸ”₯ EXAMPLE πŸ”₯

jmol -ions myscript.spt -w JPEG:myfile.jpg > output.txt

and now the part everybody forgets about: the -D options. they are as follows (defaults in parenthesis) and β€” and this is the important bit β€” they must be called preceding '-jar /usr/share/java/Jmol.jar'. like, before. do not pass go. do not collect $200. πŸ’€

display.speed=[fps|ms] (ms)

logger.debug=[true|false] (false)

logger.error=[true|false] (true)

logger.fatal=[true|false] (true)

logger.info=[true|false] (true)

logger.logLevel=[true|false] (false)

logger.warn=[true|false] (true)

plugin.dir (unset)

user.language=[ca|cs|de|en_GB|en_US|es|fr|hu|it|ko|nl|pt_BR|tr|zh_TW]
(en_US)

note that plugin.dir is (unset) β€” no default, she's a mystery πŸ¦‹ and user.language has a whole little language list with (en_US) as the default, multilingual icon behaviour 🌍


πŸŽ€ FILES πŸŽ€

  • ~/.jmol/plugins β€” Per-user plugin directory. that's where your personal plugins live, in your own lil home folder 🏠

πŸ’– SEE ALSO πŸ’–

More information about JMol can be found at http://jmol.sourceforge.net/ and in /usr/share/doc/jmol/html (User-Guide). go read, bestie, the User-Guide is right there πŸ“š


🌸 AUTHORS 🌸

This manual page was written by Egon Willighagen <egonw@users.sourceforge.net>, Daniel Leidert <daniel.leidert@wgdd.de> and Pierre Gruet <pgt@debian.org> for the Debian GNU/Linux distribution (but may be used by others). give them their flowers, they wrote this whole thing πŸ’


and that's the whole page, bestie. this version was the one dated September 14, 2021, from the JMOL(1) manual β€” go build something pretty, ily 🫢✨πŸ’