1

I use KeepassX only for unimportant sites and it's set up to autostart. Entering password every time is quite annoying.

janot
  • 1,790

2 Answers2

0

bash script on startup:

#!/bin/bash
xdotool type yourpassword
xdotool key Return
janot
  • 1,790
0

Truly, I am beginner, I run script from desktop, I use gnome-keyring, it is 50% working, sometimes it fails to enter the password, so you need to run it again :)

#!/bin/bash
keepassx path/to/database.kdbx
sleep 3s
secret-tool lookup keepassx database.kdbx | xdotool type --window 'database.kdbx - KeePassX' --file '-'

The entry in gnome keyring I created according to this https://gist.github.com/dAnjou/b99f55de34b90246f381e71e3c8f9262