The newline.py plugin, causes unbound recursion. May I suggest the following simpler fix:
recursive = "\n"
def on_new_item(arg):
global recursive
if recursive != arg:
i = arg + '\n'
recursive = ''.join(arg)
glipper.set_history_item(0, arg)
glipper.add_history_item(arg)
I myself am using this to put text that I select into both clipboards (X and system). The first time the selection is removed, but if I select the same text a second time, the selection is not removed..
recursive = ""
def on_new_item(arg):
global recursive
if recursive != arg:
recursive = ''.join(arg)
glipper.set_history_item(0, arg)
glipper.add_history_item(arg)