For example, suppose I selected a piece of text in some application twenty minutes ago, now I want to check if I have just selected some text (e.g., by using command line tool like xsel). This is impossible if Clipster is running, because it always returns something.
I have a lot of commands in bash and emacs that depends on the check. For example, if I have just selected some text, search command will use that text directly rather than prompt me to input the text to search for. I don't know if there are popular tools depending on this behavior, but I think it might be useful to add a configuration option (e.g. a timeout value, which defaults to 0 and disables the features), and Clipster clears clipboard after the specified time pass.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If there is no X clients owning primary selection, Clipster acquires the ownership and updates it with the latest entry in history. This is how clipboard manager typically does and it's convenient. However, it also has a side effect that makes stale text selection persistent.
For example, suppose I selected a piece of text in some application twenty minutes ago, now I want to check if I have just selected some text (e.g., by using command line tool like
xsel
). This is impossible if Clipster is running, because it always returns something.I have a lot of commands in bash and emacs that depends on the check. For example, if I have just selected some text, search command will use that text directly rather than prompt me to input the text to search for. I don't know if there are popular tools depending on this behavior, but I think it might be useful to add a configuration option (e.g. a timeout value, which defaults to 0 and disables the features), and Clipster clears clipboard after the specified time pass.