Debian based OS: Show system notification on clipboard copy/paste events

Posted by ifischer on Super User See other posts from Super User or by ifischer
Published on 2011-12-01T09:52:21Z Indexed on 2011/12/01 10:01 UTC
Read the original article Hit count: 395

Filed under:
|
|
|
|

When working with Linux (Debian based), I often experience problems in relation to the copy paste commands: I copy something with Ctrl+C or by selecting it with the mouse, but when I try to paste it somewhere else, the clipboard is empty and nothing happens - whatever reason caused this. This annoys me, as I have to switch to the source application again and again copy the text.

So to really be sure if something was copied into the clipboard I would like it if the window manager (be it Gnome, KDE, etc) would show a Desktop Notification (for example powered by libnotify) as soon as anything is copied into the clipboard, showing the content that has been copied into the clipboard.

Is that possible by using one of the many clipboard managers out there (glippy, clipit, ...)?

If not, can I write a (DBus?)-hook, which is triggered during copy-to-clipboard-actions, showing the content which is to copy inside the Desktop Notification? (The latter approach would be more interesting, since I'm interested in hooking into system events in general)

© Super User or respective owner

Related posts about ubuntu

Related posts about debian