- Install keyring using
conda install keyring. Then put your sensitive info by enteringkeyring set system apass. In a key value pair,apasswould be your key and your sensitive info would be your value. (You can change key name fromapassto anything you like) - Install
xdotoolandxsel, andchmod u+xa script and put it into ~/.local/bin with the content:
#!/usr/bin/sh
xdotool type $(keyring get system apass | tr -d '\n')
xdotool key enter
The script types in the sensitive info and then hits enter key.
- Call the script using a keyboard shortcut (with Gnome Settings app) directly using the script's name.