Avogadro Customization [SOLVED]
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Avogadro Customization [SOLVED]
I've installed the molecular visualization tool, Avogadro (0.9.7) and want to customize the labeling of individual atoms, however, when the settings, under label, is changed to "custom", nothing happens.
This is an extraordinary animation tool. It would be nice to find out how to change this setting. Or even the basics of the label file.
This is an extraordinary animation tool. It would be nice to find out how to change this setting. Or even the basics of the label file.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Avogadro Customization
Google or the apps homepage if it exists, is probably your best bet.
[Edit] your original post and add [SOLVED] once your question is resolved.
“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
Re: Avogadro Customization
Thank you for your suggestion.remoulder wrote:Google or the apps homepage if it exists, is probably your best bet.
Avogadro homepage is a wiki at http://avogadro.openmolecules.net/wiki/Main_Page . I am slowly making my way through its pages ... but so far I have been unable to find out why the custom label doesn't function.
I've also asked at the mailing list, avogadro-discuss @ lists.sourceforge.net, but haven't heard anything yet.
It also helps that I don't understand how to deal with the label file: is it a .so file; if yes, then how to deal with it? This may be it:
/usr/lib/avogadro/engines/labelengine.so
How do I open it? Do I need some supernatural programming abilities to deal with this file?
Re: Avogadro Customization
Sorry don't know anything about this particular application, but anything in /usr/lib is part of the application executable and probably shouldn't be touched. The .so file is a library, similar to a Windows .dllalbert wrote:/usr/lib/avogadro/engines/labelengine.so
[Edit] your original post and add [SOLVED] once your question is resolved.
“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
Re: Avogadro Customization
Thanks. I won't touch those files.
I found some xml example files in the usr/share/doc but if these are modified then it screws up the results.
I guess I wait for them to fix it.
I found some xml example files in the usr/share/doc but if these are modified then it screws up the results.
I guess I wait for them to fix it.
Re: Avogadro Customization
Hello! You could try avogadro 1.0.0 from debichem repositories http://ppa.launchpad.net/debichem/ppa/ubuntu/ karmic main
I'm using it (you don't have to setup repositories, just download the deb files and dependencies which are in the same place) with no problem in Linux Mint x86_64.
I'm using it (you don't have to setup repositories, just download the deb files and dependencies which are in the same place) with no problem in Linux Mint x86_64.
"A scientist is someone whose curiosity survives education's assaults on it". Sir Hermann Bondi
Re: Avogadro Customization
Thanks. I downloaded it but perhaps you can tell me how I would install it. It's now sitting in my downloads folder.
Re: Avogadro Customization
Im at http://ppa.launchpad.net/debichem/ppa/u ... /avogadro/ and I installed the 1.0.0 data file at the top of the list and downloaded the application .. help!! now A doesn't open
Re: Avogadro Customization
In the Mint distribution there is a utility gdebi which install everithing that has the *.deb extension. Usually is necessary only click on the deb file in file browser. This would tell you if some files are missing. Did you downloaded also libavogadro files?
"A scientist is someone whose curiosity survives education's assaults on it". Sir Hermann Bondi
Re: Avogadro Customization
Thanks for stepping in vortex59.
albert, it's probably easier if you add the PPA to your sources, then you can install via synaptic and get updates when they're posted. To do this open Software Sources, go to the Other Software tab, click Add and enter ppa:debichem/ppa, click Add source, then Close. You'll be asked to reload so say yes. When finished open mintupdate and you should find there's an update to the version you have already installed.
albert, it's probably easier if you add the PPA to your sources, then you can install via synaptic and get updates when they're posted. To do this open Software Sources, go to the Other Software tab, click Add and enter ppa:debichem/ppa, click Add source, then Close. You'll be asked to reload so say yes. When finished open mintupdate and you should find there's an update to the version you have already installed.
[Edit] your original post and add [SOLVED] once your question is resolved.
“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
Re: Avogadro Customization
You also need openbabel (translate different chemistry file types) installed and eigen2 (for some molecular mechanics optimizations I presume) both program and libraries. It's possible also to compile the program but you need more time and installations.
"A scientist is someone whose curiosity survives education's assaults on it". Sir Hermann Bondi
Re: Avogadro Customization
Ok. Done. Updated.remoulder wrote:Thanks for stepping in vortex59.
albert, it's probably easier if you add the PPA to your sources, then you can install via synaptic and get updates when they're posted. To do this open Software Sources, go to the Other Software tab, click Add and enter ppa:debichem/ppa, click Add source, then Close. You'll be asked to reload so say yes. When finished open mintupdate and you should find there's an update to the version you have already installed.
Thank you.
But I am still unable to use the custom data function on the label setting. That is, I would like to label individual atoms with custom data.
Re: Avogadro Customization
Thnak you for your suggestion. I have installed as above, however, I am still unable to implement the custom label settings. I am hoping that I am not missing something in the procedure and thus wasting everyones time! My intention is to label each atom with custom text.vortex59 wrote:You also need openbabel (translate different chemistry file types) installed and eigen2 (for some molecular mechanics optimizations I presume) both program and libraries. It's possible also to compile the program but you need more time and installations.
Re: Avogadro Customization
I went to the label settings just now and selected the 'custom data' for atom labels; then went to the properties menu under the view menu and opened the atom properties table: I changed the element name to some custom text but then the 'Type' column autofilled to an X and then the 'Element' field followed and changed to an 'Xx', which displayed on the animation. So I guess that the element cannot be custom filled with anything other than a bona fide element name, such as H or C. But how to adjust this to allow custom names?
Re: Avogadro Customization
Hi Albert!
I think the "Custom" field in "Label settings" in not yet useable. If you have programming skills you may look in the source files /avogadro-1.0.0/libavogadro/src/engines/ where there are three files labelengine.h, labelengine.cpp and labelsettingswidget.ui. I presume that if one can modify these files one may also activate in a way the Custom Label settings. But this also presume the recompilation of the sources. Maybe it's a better choice to try a dialog with the authors (http://avogadro.openmolecules.net/wiki/Main_Page).
Mihai
I think the "Custom" field in "Label settings" in not yet useable. If you have programming skills you may look in the source files /avogadro-1.0.0/libavogadro/src/engines/ where there are three files labelengine.h, labelengine.cpp and labelsettingswidget.ui. I presume that if one can modify these files one may also activate in a way the Custom Label settings. But this also presume the recompilation of the sources. Maybe it's a better choice to try a dialog with the authors (http://avogadro.openmolecules.net/wiki/Main_Page).
Mihai
"A scientist is someone whose curiosity survives education's assaults on it". Sir Hermann Bondi
Re: Avogadro Customization
Once again, thank you for your help. I have followed your instructions and am awaiting the results.vortex59 wrote:Hi Albert!
I think the "Custom" field in "Label settings" in not yet useable. If you have programming skills you may look in the source files /avogadro-1.0.0/libavogadro/src/engines/ where there are three files labelengine.h, labelengine.cpp and labelsettingswidget.ui. I presume that if one can modify these files one may also activate in a way the Custom Label settings. But this also presume the recompilation of the sources. Maybe it's a better choice to try a dialog with the authors (http://avogadro.openmolecules.net/wiki/Main_Page).
Mihai
Re: Avogadro Customization
This was recently implemented in the latest version, thanks to the diligent Avogadro developers.albert wrote:I've installed the molecular visualization tool, Avogadro (0.9.7) and want to customize the labeling of individual atoms, however, when the settings, under label, is changed to "custom", nothing happens.
This is an extraordinary animation tool. It would be nice to find out how to change this setting. Or even the basics of the label file.
In fact, the labeling menu is very comprehensive now.
Thanks Avogadro Dev team!
Re: Avogadro Customization [SOLVED]
Glad you got everything working in the end. If there was anything special you had to do, perhaps you could write a tutorial in the Howto section to help any other users wanting to use this app?
[Edit] your original post and add [SOLVED] once your question is resolved.
“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.