Comments (15)
I hate xsel
and xclip
and wl-clipboard
(which is why I made cb
), so I'll do my best to make sure nobody has to use them. :)
from clipboard.
This has to be a bug with daemon detection as there should only be one background cb instance
from clipboard.
If there is any debug information you need I'm happy to try and collect that for you. I will also say that there are a large number of defunct cb processes that seem to linger for a long time as well.
from clipboard.
Is it possible for you to upgrade to 0.8.3? I believe it actually addressed this specific issue: https://github.com/Slackadays/Clipboard/releases/tag/0.8.3
from clipboard.
I'm actually on 0.8.3 it looks like it also has a bug where the version is reported as 0.8.2 (commit c785b5e). I had updated through linuxbrew and just run the binary directly from the release you linked and they both say 0.8.2
from clipboard.
I'm going to check out the daemon detector and see if I can reproduce this. Also, how many entries do your clipboards have? I'm wondering because you mentioned that you use CB heavily and I have no idea how many entries CB's power users are saving.
from clipboard.
My main clipboard which I use for 99% of copying has about 600 entries and 17MB of data. It's also set to be persistent.
from clipboard.
Definitely has nothing to do with the number of entries, I just started using cb
a few hours ago and I have run into this issue when attempting to set it up as a clipboard provider for Neovim.
from clipboard.
@jscarrott @willothy Would you mind trying out the following command as a temporary workaround?
alias cb="killall -q cb; cb"
What this does is automatically get rid of all existing cb
processes before invoking cb
, so that there will only ever be one instance running. The reason we don't already do this is because there could be cb
running by a different user or in a script. Therefore, we can't guarantee this method will always give the expected result, but for this particular case, it should work just fine.
from clipboard.
Yes, that's what I ended up doing temporarily. It helped but I ended up switching back to xsel for now. Cb is awesome except for this though, definitely will switch back once it's fixed :)
On that note, couldn't some kind of lockfile/pidfile be created in the users' /var/run
dirs or equivalent to check for this?
from clipboard.
Fixed in bc528a6
from clipboard.
Oh awesome, thanks! That was quick lol
from clipboard.
Brilliant! Is there a timescale for when this will make it into a release, so I can stop periodically killing cb instances?
from clipboard.
Depending on how many other issue fixes I want to add, I'd say this weekend or the next one.
from clipboard.
@jscarrott 0.9.0 is out now: https://github.com/Slackadays/Clipboard/releases/tag/0.9.0.1
from clipboard.
Related Issues (20)
- Windows: Unicode characters break Clipboard HOT 4
- Keeps copying text only HOT 5
- v0.8.2 it just show one itme HOT 1
- v0.8.2 how to select item HOT 2
- Strip / Escape new lines when displaying info HOT 1
- Version 0.8.2 fails to build for Homebrew HOT 4
- Assertion '__pos < this->_M_len' failed HOT 10
- Clipboard v0.82 (flathub on Ubuntu) steals focus every two seconds on Wayland HOT 5
- Wildcards do not work on windows
- cb cut does not remove the clipboard entry on windows
- cb cannot dynamic recognize size
- support cb gounp HOT 3
- global_path.persistent should handle case where XDG_STATE_HOME is not defined HOT 1
- Unable to use the default clipboard on Windows HOT 2
- Bug(ish): new contributions link leads to 404 error
- Persistent directory bug HOT 1
- Breaks my Ubuntu setup HOT 1
- when i select item , but copy is not it
- GUI integration coredumps after some time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clipboard.