According to the manpage, the following command should keep "x" in the selection for two only seconds, but it seems to be available from the X selection buffer indefinetly. | echo -n "x" | xsel -t 2000
Dear maintainer, I also reported this bug upstream in https://github.com/kfish/xsel/issues/3. Would be nice if somebody resolves this issue. Oz