buffalo X11 clipboard registers daemon. buffalo -d # start daemon buffalo -c 1 # copy current PRIMARY selection into register 1 # do some things buffalo -p 1 # the old PRIMARY selection is back