Hi, I have the same problem but none of these solutions seem to work for me. I can't get global auto-type to respond.
I have installed the latest keepass2 from the ppa: https://launchpad.net/~jtaylor/+archive/keepass
I have also installed xdotool which is: 2.20110530.1-3ubuntu1
I have set a global hot key and have tried:
mono /usr/lib/keepass2/KeePass.exe --auto-type
mono /usr/bin/keepass2 --auto-type
I have my keypass2 open as a window.
I have a test entry entitled 'pluma' with a test username and password.
I have tried using the global auto-key in a new pluma window and nothing happens.
Going to keepass and pressing cntrl-v does work but I really want to get the global auto-type to work.
With a pluma window open as 'Unsaved Document 1 - pluma', I have also tried setting it as a target window.
The target window drop down includes the window title exactly as above and I have set that. Still nothing.
It isn't the set-up of the hotkey itself as 'mono /usr/lib/keepass2/KeePass.exe' (without '--auto-type') will happily open a new keepass instance. When I add '--auto-type', I get nothing.
I figure it must be something to do with not matching the window titles.
Any help would be great.
Edit: Still no luck. I've scoured the internets and have tried all. I'm now using keypassx which works fine on mint with auto-type and everything. However, it means I have to use keypass1 portable on other linux pcs where I have no root access to install keypassx. This means running under wine and means no auto-type functionality.
Installing keypass2 portable on a ubuntu machine where I have no root access and running with mono works fine. I don't understand how the auto-type can be working fine on that ubuntu machine and not on my linux mint machine. keypass2 portable is incompatible with keypassx so I had to change it to keypass1 and I'll just have to deal with no auto-type when using the portable version.