8.31.2009

ChemPup USB boot

Ideally ChemPup would be delivered on a 2GB USB flash drive that had a small (128MB) windows readable (VFat or NTFS) partition that has the ChemPup user guide, quick-start guide, tech support info etc. Then upon reboot, the flash drive will already be inserted and the bootable ext2 partition with ChemPup will boot up and they will know exactly what to do for the initial boot. Well it seems that this is very possible, but not necessarily fail-safe and instead depends on the hardware configuration. I am unsure if it is important which partition be "first" on the drive, but on initial test it seems that windows is only happy reading the first partition. Likewise I had trouble on at least one older computer to boot ChemPup from the second partition, but when first in line it was okay....meanwhile, at school I have found ChemPup on partition 2 boots without any trouble. So I am encouraged, but again, I will need to have "back-up" plans that can be rapidly deployed if a user has trouble with older hardware.

8.29.2009

ChemPup-0.2.0: Wife Tested...trouble in paradise

I had my wife try to do a first boot of ChemPup-0.1.5 and get through it without any instruction or interference....it didn't go the way I had hoped but nevertheless was a very valuable trial that lead to several improvements. She had significant trouble with the initial Puppy boot since it asks a couple tough questions about hardware configuration: mouse type, and monitor type. It's true, once a windows only user I can attest that determining my screen size and resolution presented some challenge when I first tinkered with DSL. So the first critical change is to provide step-by-step documentation on the initial boot that can be read and printed from the users current Windows OS or otherwise sent as a hard copy.

Once we made it past boot-up, I found that I had serious desktop icon arrangement problems depending on the size screen I booted on. Now I know why Barry K arranged all the icons to the referenced upper left hand corner so it would remain the same no matter the screen size. I made the adjustment. I also changed the GTK them to "stardust" which offered a "windows-like" icon set. Finally I tweaked the main menu, removed unnecessary programs, added descriptions the the chemistry programs and changed the location of the "home" folder.

8.27.2009

ChemPup-0.1.5 ready for beta testing

I now have a ChemPup "full" version that I am happy enough to beta test. The .iso is 454MB which is kind of in the middle for a puplet based on my survey of the official puplet page, though most attempt to be smaller than 100MB. However, I decided to leave devx.sfs which adds some extra but will facilitate growth for now, and of course as mentioned previously the "full" version comes default with openoffice3.0.

Notes on making the puplet:

I had difficulty figuring out how to retain most of the aesthetic settings like desktop wallpaper and icons, and additions made to the menu. I sort of cheated and simply renamed the puppy-fun module to "Chemistry" in /etc/xdg/_root_.jwmrc and /etc/xdg/menus/jwm.menu but I left the rest of the settings pointed to puppy-fun.menu. Then I simply edited puppy-fun.menu to read name "Chemistry" I removed all categories listed and replaced with "Chemistry." Afterwards I needed only generate appropriate .desktop files for each new program added (just like with ubuntu/debian) and I was in business with all my chemistry programs added to the main menu.

During the "puppy remaster" process I then had to make sure to copy /etc/xdg over to the /tmp/etc/ folder at the appropriate time. Likewise, in order to preserve the rest of the desktop configurations, I copied any files I thought would be "config-like" from /root to /tmp/root at the appropriate time. By this procedure, I save all desktop configurations but do not jeopardize any Xorg, keyboard, video, mouse settings for the next user who will likely have a different hardware configuration.

I played around with burning a multi-session DVD or CD and although initially successful, it seems that I only can change the settings once and save to the disk which then closes the session. So now I believe I will offer ChemPup on a CD or a 2GB ext2 flashdrive and encourage CD users to save the personal file and ChemPup.sfs to a flashdrive as well. As such, I took my own 2GB flash drive, dual-partitioned into a 1GB vfat32 and 1GB ext2 to which I installed ChemPup-0.1.5. I selected mbr.bin for the master boot record step since I had done a complete reformat.

I am now working to set up www.chemtoolbox.com to be a mostly functional site that will at least a) not look hideous and b) host the ChemPup-0.1.5 .iso file as well as a few other support documents.

8.24.2009

ChemPup-0.1.3

I have temporarily abandoned implementation of Avogadro in my ChemPup project. I was wasting too much time for a "proof-of-concept" product. Now I am thinking of dividing the project into a ChemPup "full" and ChemPup "lite" set. The difference will be that ChemPup "lite " will be released as a downloadable puplet (hopefully under 400MB) that I will host on a basic descriptive website. ChemPup "full" will be at least 700MB (I think) and will be burned "open-session" to a DVD (I hope). The full version will come with extra documentation, and OpenOffice3 will be bundled in along with several other features (see below). I also am hopeful to put together a useful spreadsheet template that will have relevant (solvable) chemical equations with descriptions. I also hope to write a simple program to calculate molecular weights since I haven't found a quick-and-easy one yet. So here is the list of features for each:

ChemPup-0.1.3 "lite"

Office Productivity: (Default Puppy Linux)
Abiword - word processor
Gnumeric - spreadsheet
mtPaint - image editing
SeaMonkey - web browser

Chemistry Programs:
Periodic Table Wallpaper
Nomen - generates 2D structures from chemical names
WebMolCalc - web utility to calculate formula weight, combustion analysis, and isotopic distribution
BKChem - 2D structure editor
JMol - 3D molecular viewer
ChemPupDoc - documentation on using above programs.

ChemPup-0.1.3 "full"

Office Productivity:
OpenOffice.org-3.0 - full office productivity suite compatible with MS Office
JabRef - reference manager that syncs with OOO3
SeaMonkey - web browser

Chemistry Programs:
ChemPup-lite programs +
GElemental - periodic table packed with information on each element
Avogadro (if I can get it working some day)
OpenBabel - chemical file-type converter
SciFinder Scholar (maybe) - must have site.prf file added from school administrator
ChemTool - spreadsheet template with useful chemical equations
MassCalc (need to write) - molecular mass calculator

8.15.2009

ChemPup-0.1.2

I recently had the idea to assemble a Puppy Linux "Puplet" that would be configured with software useful for an undergraduate chemistry student. Considering I know nothing about programming and I am still very new to Linux, this is proving to be a challenge...but I have had success so far.

ChemPup-0.1.2 has been developed from Puppy Linux 4.21 running with 512 MB ram in a VBox machine on Ubuntu-9.04 and so far includes most of the packages I have envisioned in this first generation build. The following is the list of added packages:

Office Productivity Suite:
OpenOffice.org-3.0

General Chemistry:
GElemental - a gtk+ periodic table of the elements with loads of information on each element
MoleCalc - a molecular weight calculator (runs in WINE)

Organic Chemistry:
BKChem - a 2D structure editor with .mol and .odt (openoffice) export capabilities
OpenBabel - a command line molecular file-type converter that handles over a dozen formats
WinDNMR - a dynamic NMR simulator (runs in WINE)

Need:
A suitable 3D molecular viewer (I want Avogadro which includes a force-field minimizer)

Plan to Make:
A slick spreadsheet template (OOCalc) that has useful conversions (mole to gram etc) and equations
Detailed documentation to maximize usage of the system (since most US Students don't know Linux)

Additionally I need to figure out what programs I should cut out to save space, if any, considering OOO is adding most of the extra weight. I will probably remove devx.sfs.

Building in the existing packages (listed above) was fairly straightforward....I needed to install Python, WINE (which I found as a .pet on the Puppy Forum) and a few other package dependencies that I cannot recall.

Update: In order to run BKChem it needs python 2.3 or later and after checking with > python --version <> ./configure; make; make install. Unfortunately these programs must be installed before python so I had to reconfigure python and went ahead and downloaded the upgraded 2.6. Python is a bit large so I removed the old version...2.6 also took several minutues (10 ish) to compile and install. Afterwards bkchem.py runs from command line with > python bkchem.py < in the working directory. I then easily created a bash script to start the program, made it executable with chmod 777 and added it to the desktop with a logo icon to make a simple point and click execution.

The real trouble has been with Avogadro. This is a nice, intuitive 3D molecular viewer and force-field minimizer program that I test-ran on Ubuntu and was quite happy with, however, unlike with Ubuntu, I do not have a prepackaged .deb (.pet) for Puppy and will have to build it from source. Avogadro has several package dependencies, some of which I am having trouble with building as well: Qt4, Eigen2, CMake, and OpenBabel are all required before you can compile and install Avogadro. I installed OpenBabel and CMake okay (I think), and Eigen2 supposedly only need to be unzipped and it is ready to go (although they don't say to which directory it belongs so I stuck it in /usr/local/bin). Qt4 on the other hand has proven very difficult and I also found that I had the wrong version of CMake!! These programs (OpenBabel, Qt4, and even CMake) took a long 20-30 minutes of compiling time each. So long as I can get a user-friendly 3D molecular viewer I will be satisfied with this first release.