Posts Tagged “python”:

Two Short Python Scripts For Tomboy Notes

OK, here are two more scripts I wrote to do useful things with python and Tomboy notes. ## tbclip This first one copies whatever text is currently selected and creates a Tomboy note with it. NB: You must have *xclip* installed. ```python #!/usr/bin/python import sys, dbus, subprocess #Get the D-Bus... [Read More]
Tags: python tomboy

Display Your Most Recent Tomboy Note

This is a handy little script I came up with. It displays the most recently modified Tomboy note. This is helpful if, like me, you make pull up a new Tomboy note for something quick and then accidentally close it by hitting *escape* or something. Creating a hot-key for this... [Read More]

Delete Old Uncategorized Tomboy Notes From Cron

I read an [article]( about using python and dbus to automate some stuff with Tomboy Notes and was inspired to do some coding of my own. ## In a Nutshell Use the code below (and a cron job) to automatically delete Tomboy notes that were last modified more than 30... [Read More]