software recommendation - Searchable Clipboard Manager, like ctrl-r in bash - Ask Ubuntu
i looking clipboard manager search functionality. love ctrlr in bash
shell , have same functionality in clipboard manager desktop.
up have been using diodon
, feature not exist in diodon
. see related question there https://answers.launchpad.net/diodon/+question/403507
use case:
- i copy+pasted "internationalisation" before.
- i type next text.
- i want insert "internationalisation" again.
- i hit magic key stroke. "inter" , want see list of strings copy+pasted during last days.
- i choose 1 want. done.
with diodon
long list of last matches, that's good, not perfect.
introduction
as stated in comments, i've written simple clipboard manager indicator use of python 3 , few zenity
dialogs, allows manipulating clipboard contents, has search functionality.
search functionality, in particular, makes use of python's re
module, means can use regex expressions more fine-grained search. each text entry has 4 options in submenu: insert text clipboard, append text end of what's in cliboard, prepend text beginning of current contents, , remove history.
installation
in terminal , run following commands:
sudo add-apt-repository ppa:1047481448-2/sergkolo sudo apt-get update sudo apt-get install indicator-bulletin
demo
in animation below can see demonstration of text being copied, clipboard appended indicator, , test string searched via simple search dialog. found contents displayed in simple text view dialog timestamp in user's locale (if it's set). found text can copied via selecting text , using standard ctrl+c shortcut.
in case wondering:
- animation made silentcast app
- desktop , icon theme ubuntu kylin theme, 16.04 version
- yes, that's ubuntu (16.04) launcher on bottom.
further development
the indicator made in 1 day, minimalistic in nature of right now. in future there additional features added, such preferences dialog. menu length , text width hard-coded 10 items in indicator , 30 characters max each entry.
if want make feature request, please submit issue ticket on project's github page, source code available.
updates:
february 14,2017:
- implemented file operations feature - loading text file clipboard , writing clipboard contents file.
- implemented displaying range of entries date. option calls
zenity
forms dialog requires starting , ending date inyyyy/mm/dd/hh:ss
format. effectively, log reading within date range, same this - couple bug fixes
february 15,2017:
- added editing submenu. users can convert clipboard contents upper/lower case, trim words/characters beginning or end of text, , replace expressions(uses python's
re
regex).
february 17,2017:
- added option opening history item in text file ( similar
bash
'sfcedit
). far opens default program set plain-text filetype. - couple improvements , bug fixes.
february 19,2017:
- added base64 operations (encode/decode).
march 3rd,2017:
- added "pinned submenu" , ability "pin" specific items clipboard history. code refactored, parts rewritten repeated use.
Comments
Post a Comment