yannickperrenet / dotfiles

💛 My dotfiles.
https://github.com/yannickperrenet/iscripts
MIT License
3 stars 0 forks source link

Maintain clipboard when closing application #11

Closed yannickperrenet closed 3 years ago

yannickperrenet commented 3 years ago

For example:

  1. Open Brave
  2. Select and copy the URL
  3. Close Brave
  4. Wanting to paste the URL but the URL is no longer in the clipboard
  5. (Needing to restart Brave, check history and get the URL again...)
yannickperrenet commented 3 years ago

The solution does not seem to be very elegant. According to https://unix.stackexchange.com/a/450622:

Under X, there isn't really a clipboard. All selections are copied by having the two X clients that are involved talk to each other. That means if one X client holding the selection is no longer running, the selection is gone.

The proposed solution is to keep a client like xclipboard running for the communication.