Menu

#238 Default background color

v10
closed-fixed
nobody
5
2018-03-08
2018-03-08
Anton
No

Dear developers,
Could you add an option for changing default background color in Jmol, please? I guess, many users prefer a color different from black, and choosing it at every program launch is very annoying.

Discussion

  • Angel Herraez

    Angel Herraez - 2018-03-08

    Hi Anton
    I understand you mean the Jmol Application (and not the web object, JSmol, which already has such possibility)
    The big question is where would that preference be stored. Right now, you have two possible solutions:

    1. Define a macro (which is stored in your disk) and invoke it (every time) via the Jmol top menu. See http://wiki.jmol.org/index.php/Macro
    2. Create a script file that applies the color and invoke Jmol.jar calling that script. See http://wiki.jmol.org/index.php/Jmol_Application#Loading_files_and_running_scripts
    3. Create a shortcut, bat file, bash file (or whatever it is called in your computer) that you will use to launch Jmol and contains the command. See link at #2
     
  • Angel Herraez

    Angel Herraez - 2018-03-08
    • labels: background, color --> background, color, application, launch, command line, preferences
     
  • Anton

    Anton - 2018-03-08

    Hi, Angel!
    Thank you for your answer! I've found that the following command does exactly what I want:
    java -jar .\Jmol.jar -j "background white"

     

    Last edit: Anton 2018-03-08
  • Bob Hanson

    Bob Hanson - 2018-03-08

    excellent choice

     
  • Bob Hanson

    Bob Hanson - 2018-03-08
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB