> Yes, that would be nice. But I don't know how to do it. I believe that
> Jmol should be recognized as a Firefox plugin as Chime in order to do
> so. 

No, Jmol is not a plugin and cannot be. It is an applet, so it can be embedded 
in a web page 
by the web page author.
It all depends on who controls the server. If you do, there should be a way to 
deliver your 
molecules using an applet.


> As a standalone program, I hope it can remember the user preferences and
> display the structure in the same style/scheme/format every time when
> you start the program. 

This is not currently possible as far as I know.
Well, you have configured the browser to launch jmol.sh. So it should be 
possible to edit the 
sh file so that the default script is put there. Of course, that would only 
affect you as user, not 
other potential users in other computers. Is that what you need?
I have no practice on Linux shell scripts, but it can certainly be done.


> And I just realize that the style/scheme options are not included (or
> are hidden some where) in the main menu. Previously, I found the options
> by clicking the display window with right mouse key. How could we change
> the display style/scheme without using the hidden menu I mentioned?

I don't understand this. Style is in the main menu. How are you opening the 
menu? Maybe by 
clicking on the "Jmol" frank? That opens the last-accessed menu subentry, but 
you can get 
the full menu too. Or just right-click of the empty space in Jmol window and 
you always get 
the full menu.
Apart from that, you can use custom menus too (documented in the Wiki). But 
that again 
needs setting ptions in the command line that opens Jmol.


> In my opinion, there should be a preference file for each jmol user,
> which is stored under user profile folder on Windows system or user home
> directory on unix/linux system.  

Sounds reasonable. But may or not be easy to implement. Most of us use the 
applet more 
than the app. You also have macros for the app (they go into the "Macro" menu 
entry in the 
topbar).


> The "history" and "properties" files under /home/user/.joml/ do store
> some settings. For example, the size of display window. I increased the
> size of display window before closing the program. I got a display
> window with the same size as I adjusted when I restarted the program.
> Jmol does remember the window size, why not other settings?    

That's right. But I have no answer.

Coming back to the shell script file idea:
jmol.sh has this as its last line:

$command -Djmol.home="$JMOL_HOME" -jar ${JMOL_HOME}/Jmol.jar "$@"

based on 
http://wiki.jmol.org/index.php/Jmol_Application#Basic_options
I would try to edit jmol.sh  so that that line reads

$command -Djmol.home="$JMOL_HOME" -jar ${JMOL_HOME}/Jmol.jar "$@" -J set 
defaultLoadScript "trace only"

(all in one line)
That may be what you want.







------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to