clipboard-sync icon indicating copy to clipboard operation
clipboard-sync copied to clipboard

Didn't work with images

Open mrtugicom opened this issue 2 years ago • 5 comments

I did screenshot my screen and obviously copied image data to clipboard, but other session's clipboard appears to be empty. Text based data work though, but I already use xsel to sync text based clipboard.

Edit: So IMO, it's not worth to add more repo list or installing rust

thank you for author who show us how to use raw github content as package source.list

mrtugicom avatar Aug 29 '23 09:08 mrtugicom

might be useful for documentation to uninstall via source list

sudo apt-get purge clipboard-sync
sudo rm /etc/apt/sources.list.d/dnut.list

mrtugicom avatar Aug 29 '23 09:08 mrtugicom

Thanks for your report. I will add some tasks to address your concerns.

Yes, clipboard-sync only supports text clipboard currently, since that's the only thing I personally use the clipboard for, and I originally wrote this just for myself. But I hear your concern, so I will look into supporting arbitrary mime types, like images. I can't make any guarantees about how well it will work but I will do some experimentation when I get some free time, maybe one of the weekends in September.

I also appreciate the advice to update the documentation. I will add two things to the docs:

  • clear explanation of exactly which mime types are supported (currently only text)
  • uninstall instructions, including the exact commands to cleanly remove everything from debian-based distros (I'll need to test that this really cleans things out properly without screwing anything up)

dnut avatar Aug 29 '23 23:08 dnut

Thank you for a really good explaination, I feel really welcomed here.

My use cases are mostly for everyday use coordinating among chats or other media platforms to send clear images. I started to use Xephyr to manage true workspace, since linux 'workspaces' arent facilitating to startup default programs and window locations.

So, I need this clipboard-sync after researching several alternatives, this project seems legit and I'm expecting image support out of the box.

Thank you for merging this into you schedule on september. Since #33 opened for the documentation, I will close this and consider helping for documentation.

It would be really nice to be able to track the progress of image mime feature in dedicated issue, with your approval, I might create dedicated issue for you to post the update.

mrtugicom avatar Aug 30 '23 07:08 mrtugicom

It would be really nice to be able to track the progress of image mime feature in dedicated issue, with your approval, I might create dedicated issue for you to post the update.

I'll just reopen this issue for now so we have something. If you think there's a better way to organize things, feel free to take any initiative you'd like with creating and closing issues. Thanks.

dnut avatar Oct 28 '23 14:10 dnut

Actually this does seem to work for images now, though I usually have to copy it twice to get it to work (not always). Not sure if it's related to #30 or not as sometimes it happens to text too (the clipboard blanks and I have to recopy) though it doesn't happen after resume, just throughout the day.

greatquux avatar Aug 08 '24 13:08 greatquux