Tuesday, February 9, 2010

Incollector with good Karma

Incollector is a great  information collector for Linux and Windows which I use to store interesting snippets and pieces of code. Unfortunately it doesn't have a ppa and the latest edition 1.2 wouldn't run on Karmic. No problem, all it takes is a quick hack.

1. Open terminal and enter command:
 sudo gedit /usr/bin/incollector

2. Find line:

#!/bin/sh
exec /usr/bin/mono /usr/lib/incollector/incollector.exe 
$MONO_EXTRA_ARGS “$@”


3. Change it to:

#!/bin/sh
exec /usr/bin/mono --runtime=v2.0.50727 /usr/lib/incollector/incollector.exe
$MONO_EXTRA_ARGS “$@”


4. Save the file.

5. Start Incollector

2 comments:

  1. I am wondering if you have a typo on line 3. Shouldn't the path be:
    /usr/lib/incollector/incollector.exe ?

    ReplyDelete
  2. I see this is a relatively old posting from back when I was blogging on wordpress. The width of the blog needs to be changed in order to accommodate it.
    You are correct. that is the right path. The only change really is to add an operator to the /usr/bin/mono ie. by adding --runtime=v2.0.50727

    ReplyDelete