On 2015-11-25 13:19, Dmitry Bely wrote:
Hi Dmitry,
keepass2 is started via Exec=keepass2 in keepass2.desktop file; probably /bin/sh is not involved and so SSH_AGENT_PID is not set.
in this case use a wrapper-script.
--- 8< --- keepass.bash #!/bin/bash
source ~/.bashrc keepass2 --- >8 ---
and starat Keepass via.
Exec=/bin/bash /path/to/keepass.bash
Cheers
Dirk