Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear clipboard after a configurable period of time #88

Open
rayx opened this issue Oct 20, 2019 · 1 comment
Open

Clear clipboard after a configurable period of time #88

rayx opened this issue Oct 20, 2019 · 1 comment

Comments

@rayx
Copy link

rayx commented Oct 20, 2019

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.

@stale
Copy link

stale bot commented Apr 16, 2022

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.

@stale stale bot added the stale label Apr 16, 2022
@stale stale bot closed this as completed Apr 28, 2022
@mrichar1 mrichar1 reopened this Apr 28, 2022
@stale stale bot removed the stale label Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants