KeePass on Macbook Pro

Help
Richard
2014-08-11
2014-08-17
  • Richard

    Richard - 2014-08-11

    Hello
    I installed Mono, XQuartz and App from:
    http://keepass2.openix.be/
    Restart.
    Start of App. ... nothing.
    Does not even start up ??
    What can I do?
    THX

     
  • David Lechner

    David Lechner - 2014-08-11

    Run it in a terminal and see if it prints a stack trace.

    Alternately, you can use portable version from the official KeePass download page.

     
  • Richard

    Richard - 2014-08-11

    Hi David
    Thx for info.
    The portable? only exe is included.
    Sorry to ask, but I am new to Mac. How are the codes to run it in terminal, to see the problem?
    THX

     
  • David Lechner

    David Lechner - 2014-08-11

    For the .app from openix.be, open -a KeePass2.23 should work (don't actually have this version myself - I use portable version).

    For the portable version mono ~/<folder where you unzipped KeePass>/KeePass.exe

     
  • Richard

    Richard - 2014-08-12

    Hi
    I have to change the directory in terminal. Do not know the code for?

    exe's can only be startet with code. But this is not practical.

     
  • David Lechner

    David Lechner - 2014-08-12

    That is what Automator is for. You can use the attached .app file, but you will have to open it with Automator and change the path to match yours.

     
  • Richard

    Richard - 2014-08-13

    Hi
    Sorry I am new on Mac, I realy do not know how I do that.
    Could you show me step by step?
    THX

     
  • David Lechner

    David Lechner - 2014-08-13

    OK. If you haven't already, download the attachment and unzip it - just double clicking the .zip file should do it. Then copy the .app file to your Applications folder to "install" it just like any other application.

    Mac comes installed with a program called Automator. Open it up. Then File > Open... and select KeePass.app in your Applications folder.

    When you open it, you will see that it runs a shell script. like this:

    /usr/bin/mono /Users/david/bin/KeePass-2.27/KeePass.exe "%@"
    

    Just change it to match the path where you have KeePass.exe installed and then save it and close Automator. Then you should be able to launch KeePass like you would any other application.

     
  • Richard

    Richard - 2014-08-13

    Hi
    Thx but one problem left.
    What is the directory ? tryed a view versions but always error.
    Would like to use the app in the Programme.

    Also confused .app and .exe
    in your download ist .app not .exe.
    both does not work
    Thx

     
    Last edit: Richard 2014-08-13
  • David Lechner

    David Lechner - 2014-08-13

    Sorry, I am not sure what you are asking here.

     
  • Richard

    Richard - 2014-08-14

    Hi
    your download is Keepass.app
    the shell skript is for keepass.exe.
    If i change the script to .app i get an error. no valid CIL Image.
    thx

     
  • Richard

    Richard - 2014-08-14

    any Help please?

     
  • David Lechner

    David Lechner - 2014-08-15

    Yes, the shell script is for KeePass.exe as in the KeePass.exe in the portable version of KeePass. When you have downloaded and extracted the contents of the KeePass portable zip file, you need to change the /Users/david/bin/KeePass-2.27 part of the script to the location where you extracted the zip file. You should leave everything else the way it is.

     
  • Richard

    Richard - 2014-08-16

    Hi David
    Now I understand! The Keepass.app with the shell script just starts the KeeApp.exe.
    Now it runs. THX
    But when I close the KeePass Programm, I get an error message that the script has an error?
    thx

     
  • Richard

    Richard - 2014-08-16

    Hi David
    Runs not fine.
    Cannot change Settings, Language, Plugins.
    Cannot Copy ...
    is there a better way to run Keepass?
    thx

     
  • David Lechner

    David Lechner - 2014-08-16

    All of these things are working for me (although I have never tried adding a language). For languages and plugins, you add files to the KeePass directory, you can't do anything inside of KeePass to change them.

    One problem I do have is that it sometimes crashes when I double-click, so I have learned to not do this.

    Not sure why you would get a message the the script has an error either, it does not do this for me.

     
  • David Lechner

    David Lechner - 2014-08-17

    Update: I noticed a animated gear icon in my menubar that was there whenever KeePass was running when started by this .app. It turns out, a better script is:

    /usr/bin/mono /Users/david/bin/KeePass-2.27/KeePass.exe "%@" >/dev/null 2>&1 &
    

    This will cause KeePass to run as a background process and automator will quit. This should fix the error on close too.

     
  • Richard

    Richard - 2014-08-17

    Hi
    Yes, works fine now.

    Is there a official Keepass.app for Mac? I think ther is one.

     
  • Paul

    Paul - 2014-08-17

    The only official KeePass versions are for Windows, V1 for plain Windows, V2 for recent versions of Windows with .NET installed. All other versions are by third parties.

    cheers, Paul

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks