The genesis of this blog consists of the desire to track personal growth regarding: 1. Deployment of a linux digital audio workstation having the goal and mind-set of inexpensive expression whilst achieving computing and musical maturity. 2. General interests with an emphasis on linux, music, homebrewing, chemistry and some philosophizing. 3. Keeping a journal somewhere that I know I cannot lose it.
8.31.2009
ChemPup USB boot
8.29.2009
ChemPup-0.2.0: Wife Tested...trouble in paradise
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
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
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
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.
7.31.2009
Puppy Rescues Windows
At a family get-together, I was recently asked by a war veteran who saw me tinkering with my hp pavilion laptop whether or not I knew "how to fix them things?" I asked what his problem was and he noted the last time he tried to boot his laptop it wouldn't start. His was also an hp pavilion. I told him to drop it off and I would see what I could do.
Upon initial investigation I found that the laptop would POST and the XP logo appeared as the OS began start-up, but then it suddenly would reboot...just as he indicated. So I decided to boot up Puppy Linux and see if I could access his hdd. I found I needed to boot with puppy pfix=ram (or something like that) since the Puppy startup script would hang when searching for the pup_save.sfs file. This was the first indication of a problem with the hdd. Once booted, I clicked the sda1 icon at the bottom left of the desktop and found (after futzing things up and a few reboots due to impatience) after about 120 seconds an error box indicates a problem with the drive and then after (no exaggeration) 20 minutes the ROX window finally opened and displayed the contents of the drive. After this initial wait, it took a mere 2 to 5 minutes for subsequent directories to open. It seemed as if the drive was spinning at only 10x or so.
Only 3 or 4 hours later (yes I was working on other stuff also) I had transferred the files that the owner cared to save to my external hd and started the reformatting and installation of my copy of XP. An hour after that I had XP installed and later at home I finished up with transferring his important data back. Success!