Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have downloaded the zip version of KeePass. To run it I have to open the Terminal, go to wherever I unzipped it and run mono KeePass.exe. Is there someway I can take all the files in that zip file and that command and bundle them up so I get a KeePass.app I can stick in my Applications folder that can more easily be run?

share|improve this question
There is a Mac version of keepass you know. keepass.info/download.html –  Chris Nava Apr 19 '10 at 14:04
@Chris: Hm... do you mean under Contributed/Unofficial KeePass Ports and Builds? Can only see one there and looks like it's based on version 1. Can version 1 work with files from version 2? –  Svish Apr 19 '10 at 14:26
You are correct. I use 1.x files so they work everywhere. I think for 2.x files you need a 2.x version. (i.e. windows) –  Chris Nava Apr 20 '10 at 4:39
@Chris: The 2.x version should work under Mono though. But it seems to crash on my Mac... Think I might be missing some UI libraries or something... –  Svish Apr 20 '10 at 6:08
If you get it working please post details. I would love to upgrade ;-) –  Chris Nava Apr 20 '10 at 14:04

2 Answers 2

You can write a bundled AppleScript application that includes all the necessary binaries in its Resources folder, or you might be able to use Platypus: http://www.sveinbjorn.org/platypus

share|improve this answer
+1 for platypus –  Josh Apr 20 '10 at 3:34

I found this, which seems to promise what you're looking for.

Running KeePass 2.x on OSX using macpack « Journeyman to Master

It uses macpack to create a .app file. See the comments - some of them indicate how to update the icon.

Fortunately, I found KeePass. It can run using Mono under OSX, but it can be a hassle to run. The default way of doing that is:

  • Open Terminal and navigate to KeePass directory
  • Typing: mono KeePass.exe

We can do this:

  • Install Mono Framework
  • Download latest version of KeePass 2.x and unpack it
  • Open Terminal and navigate to unpacked KeePass folder
  • Run the following command:

    macpack -o:. -m:winforms -r:/Library/Frameworks/Mono.framework/Versions/Current/lib/ libCocoaSharpGlue.dylib -r:KeePass.chm -r:KeePass.XmlSerializers.dll -r:KeePassLibC32.dll -r:KeePassLibC64.dll -r:License.txt -r:ShinstUtil.exe -r:./XSL -n:KeePass -a:KeePass.exe
  • This will create a KeePass.app file that you can drag into your \Applications folder, and you should be all set.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.