Comments (4)
I agree that this would be a useful feature. I'm willing to accept a PR that adds support for the platforms that you're willing to implement it for, and I'll add support for the rest of the platforms (it should be feasible under X11 too).
from rust-clipboard.
Has there been any progress on this?
I am willing to work on an X11 version. I am sure that it can be done because I have written a Java application which copies images from the system clipboard from a different graphics application under Linux. I think that is a proof of concept, at least.
Multiple things can be in the clipboard at the same time, which might require changes to your elegant clipboard.
from rust-clipboard.
I am also looking for this functionality... Got a panic when calling Result::unwrap()
on ctx.get_contents()
when trying to read image data:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: StringError("pasteboard#readObjectsForClasses:options: returned empty")', libcore/result.rs:945:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
from rust-clipboard.
Check this
https://github.com/SpiralP/rust-clip-sys
from rust-clipboard.
Related Issues (20)
- Handling trailing \u{0} from the [Windows] clipboard HOT 4
- Error: load selection timeout HOT 2
- Use enums instead of Box<Error> for failure HOT 8
- Is this repo still maintained? HOT 1
- Please publish 5.0 HOT 1
- Clipboard is cleared when the process exits on Linux HOT 8
- Getting Err value on provider.get_contents().unwrap() HOT 1
- Only installing xorg-dev does not fetch all dependencies HOT 4
- How to automatically output snippets to the cursor๏ผ HOT 1
- clipboard not compiling on Travis CI linux targets
- NSPasteboard#generalPasteboard returned null when called from macOS launchd Launch Daemon HOT 1
- Thank you ๐
- test failed in copr HOT 1
- Incorrect behaviour on Linux with two clipboards HOT 1
- set_contents doesnt work for me HOT 3
- Can't run example on FreeBSD HOT 2
- Security advisory: please release with upgraded `xcb` dependencies
- Please clarify maintenance status HOT 4
- Dependency issue on official docker rust image
- Shouldn't failure conditions return `Err`?
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 rust-clipboard.