Tim's blag

To content | To menu | To search

Monday 20 August 2012

OpenProj export as PNG/SVG

OpenProj is one of the few project management software programs available on the Mac platform, intending to replace Microsoft Project. Unfortunately it is impossible to easily export schemes as PDF for use in publications. OpenProj was forked to ProjectLibre which promises to release a new and improved version in August 2012.

Until that time, there are a few people who wrote patches for OpenProj so you can fix it yourself. openprojext adds an 'export to PNG' feature for OpenProj, and Eduardo Suarez-Santana extended this patch to also allow 'export as SVG', which subsequently allows conversion to PDF. The latter patch worked fine for me so I put up a patched version of OpenProj 1.4 online. It is patched exactly according to the instruction on Eduardo's website, using Batik version 1.7 and XML Commons External version 1.3.05. To start it, run

 java -jar openproj.jar

There is also an even more extended patch for OpenProj called Angelfalls, but I did not get this running easily and export to SVG was all I needed anyway.

Thursday 17 November 2011

OSX launchd and launchctl issues

I recently re-installed Lion on my MBP and ran into the problem that by default ssh-agent remembers my private key indefinitely. I wanted to reduce this to something sane and found the file /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist which controls ssh-agent's behaviour. I started tweaking stuff with launchctl, first broke my ssh-agent altogether and after a while figured out how to tweak it to my needs.

After initially breaking my ssh-agent because I copy/pasted commands that I didn't really understand, I found the following apt quote:

A good rule for rocket experimenters to follow is this: always assume that it will explodeAstronautics, issue 38, October 1937 (source)

Fortunately I managed to fix it and get some basic understandign of launcd on OSX. This information seemed to be a bit fragmented, so here are my findings.

Continue reading...

Tuesday 28 June 2011

Change Airport & Time Machine with Applescript - update

Earlier I wrote a bit about changing mouse preferences on your Mac. I added some other settings which might change from location to location using Applescript, such as Airport and Time Machine backup disk.

Continue reading...

Tuesday 21 June 2011

Old version Skype for Mac

Because Skype for Mac version 5.x sucks monkey balls, here's how to downgrade to version 2.8:
There is also a tutorial available if you need step-wise instructions. If you don't know why you're reading this check here and here.

Multiple mouse preferences

If you're using multiple mouses with your Apple as I am (work and home), it might annoy you that the mouse speeds are different for each mouse. To mitigate these problems to some extent, you can use Steermouse to configure your mouse and then use the Applescript snippet on their website to make shortcuts for your specific mouse settings in an Applescript file.

Currently I'm using the following settings:

tell application "SteerMouse"
  set text "cursor tracking speed" to 0.025
  set text "cursor sensitivity" to 800
end tell

Related info:

Monday 20 June 2011

Quick look plugins for mkv/gif/source code

Apparently there are plugins for Apple's Quick look such that you can view different file types. Here are some plugins that I found useful: