Tested in Ubuntu.
- See your last clipboards ( clpChooser.py ), choose with hotkeys 0-9
- Have all your clipboard history backed up in a SQLite file
Setup:
Current clipboard gets stored into DB by storeClp.py.
As a crontab: Crontabs do not have access to the session which is needed for accessing the clipboard. Needs to be set explicitly:
* * * * * export XAUTHORITY=/home/USER/.Xauthority; export DISPLAY=:0; cd CLP_DIR ; ./storeClp.py
Stores the current clpboard every minute.
Choose from your previous 10 clipboards by calling storeClp.py, e.g. with a shortcut.
edit 20170919: added bash scripts. can be used instead of the python scripts. edit 20221218: added yet another alternative, an autohotkey script. can be used on linux with ahk_x11.