I use KeepassX only for unimportant sites and it's set up to autostart. Entering password every time is quite annoying.
Asked
Active
Viewed 1,467 times
2 Answers
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