Example of using AutoKey to automatically fill fields in a GUI.
There may be better ways to do this.
auto_login_demo.mov
- Install AutoKey
- Copy get_mouse_location.py and vpn_login.py to a folder managed by AutoKey. I use ~/.config/autokey/data/CustomScripts/
- Modify vpn_login.py with your login info and button coordinates (found from get_mouse_location.py)
- Run
autokey-run -s "vpn_login"
This will store your username + password in plain text, easily accessible to anyone with access to your files. So, keep that in mind.