Wednesday, August 15, 2007

OpenOffice 2.2 Defaults

I created an Windows installer for people who do not like to spend time doing the following after installing OpenOffice 2.2.

1. Filling in the first time "License/User" wizard.
2. Configuring Calc, Writer and Impress to save in MS formats.

If you are recommending OpenOffice to your friends and do not wish to explain how to change the settings. Then this is the installer for you.

All the installer does is copy 4 files (Setup.xcu, Setup-calc.xcu, Setup-writer.xcu, Setup-impress.xcu) to C:\Program Files\ 2.2\share\registry\modules\org\openoffice\Setup. The xcu files have been configured to set the default file format to MS Office formats. The Setup.xcu serves to disable the first time user wizard. WARNING: It also deletes the Quickstarter from the Startup folder because I cannot justify it remaining in memory.

Friday, March 23, 2007

Migrating Moniwiki to MoinMoin

I had been using Moniwiki for our company for a while because the installation was quite easy as it was PHP based. However, I found out that document versioning didn't really work. It may have been a configuration issue but I took this opportunity to take a look at MoinMoin, as it was being used by Ubuntu and looked well supported.

The server was running Debian stable and MoinMoin was in the repositories. Installing was simple using aptitude. Configuration was a bit more involved as it required copying and editing files.

The new wiki site was pleasantly more responsive. The next task was to move the data in Moniwiki to MoinMoin. Upon inspecting the data repositories, I realized that Moniwiki stored the data in individual files with the WikiWord as the filename while MoinMoin organized that data with the WikiWord as a directory with the actual content under the revisions directory. I cooked up a quick script to migrate the data. I also ran the previous file through a 'tr' to filter out non ascii characters, which was present in Moniwiki and showed up as errors in MoinMoin.

The next problem was the way non WikiWord links were defined. In Moniwiki these are written as [Link to Text] while MoinMoin used ["Link to Text"]. I had a couple of those so I simply edited them to the MoinMoin syntax. It turned out to have another problem as Moniwiki saved it as a file named LinkToText while MoinMoin stored is as Link_to_Text. I simply renamed those links and MoinMoin powers the wiki now.



cd $DEST

for i in $PAGES; do
mkdir -p $i/revisions
echo "00000001" > $i/current
#cp $SRC/$i $i/revisions/00000001
tr -cd '\11\12\13\40-\176' < $SRC/$i > $i/revisions/00000001

Saturday, March 03, 2007

N80 Software Update

I just did the Nokia Software Update for my Nokia N80 last night. It took 3 hours to download the 78MB update. It's now running the N80 Internet Edition. However, when I restored my previous backup, the new Internet Folder disappeared. Gizmovoip also responds with a "Unable to configure GizmoVoip" when I tried to run that. I'm reinstalling the firmware again and will synchronize instead of restore. I'll lose my SMS messages and will have to reinstall applications but I guess that's the price of having a nice VOIP phone.

Monday, February 05, 2007

Compact Calendar (Printable CEO)

A tool I use to visualize what to do for the year is David Seah's Compact Calendar. He provides an Excel worksheet which you can customize for your own use. Discussing project schedules with other people is also breeze when using this tool. You'll probably throw away your desk calendar once you start using this.

Download the 2007 Philippine Version.