Hi Sandeep, If you have more than one Chimera running on a machine then "chimera --send" sends the file to the most recent one that is accepting connections. Each time you change the Favorites/Preferences/Web Data option to accept connections, that Chimera becomes the most recent. The way this works is there is a list of running Chimera instances that are accepting connections in file (on unix /tmp/chim_webinfo-<username> where <username> is your login name). This file lists the Chimera process id and port number it is listening on. The last line indicates the most recent Chimera that is accepting connections. I wouldn't recommend relying on info in this file since the implementation may change in the future. Tom
I'd like to supplement Tom's response by saying that, when using 'chimera --send' with multiple instances running, whichever Chimera has most recently gotten focus (i.e. been clicked in) will receive the 'chimera --send' command . (Of course, as Tom said, clicking Favorites->Preferences->Web Data implicity gives that instance of chimera the focus, thus making it the most 'recent') --dan Thomas Goddard wrote:
Hi Sandeep,
If you have more than one Chimera running on a machine then "chimera --send" sends the file to the most recent one that is accepting connections. Each time you change the Favorites/Preferences/Web Data option to accept connections, that Chimera becomes the most recent.
The way this works is there is a list of running Chimera instances that are accepting connections in file (on unix /tmp/chim_webinfo-<username> where <username> is your login name). This file lists the Chimera process id and port number it is listening on. The last line indicates the most recent Chimera that is accepting connections. I wouldn't recommend relying on info in this file since the implementation may change in the future.
Tom
_______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users
i have already saved my preference as to allow web data. so every instance will have tat option enabled. so it will be the last opened window will get the file . or lets say i have 2 windows open and lets say i am looking into the structure of 1st one. now will it get opened in the 1st ? Sandeep
Sandeep N Seshadri wrote:
i have already saved my preference as to allow web data. so every instance will have tat option enabled.
Right. Once you have saved that preference, every subsequent instance of Chimera that is started will have 'Accept Web Data' set to True.
so it will be the last opened window will get the file .
If by 'opened' here, you mean the last instance of Chimera that was started, then yes, this is *initially* true. By default, the most recently started instance of Chimera will receive web data files. I say *initially*, because if you subsequently click into another instance of Chimera (i.e. bringing that window to the top, in front of the other Chimera windows), then *that* instance will now be the one that receives the files.
or lets say i have 2 windows open and lets say i am looking into the structure of 1st one. now will it get opened in the 1st ?
Yes, assuming that first window is the one that has most recently been clicked into. But if you have a structure open in window A, then click on window B (bringing it to the top), then window B will now receive the files. I hope this clarifies things.... Let me know if you have any further questions. --dan
Sandeep
participants (3)
-
Dan Greenblatt
-
Sandeep N Seshadri
-
Thomas Goddard