Lorenzo

Results 91 comments of Lorenzo

@mkiol what do you think. Can I implement this? Simulate Copy paste is unusable in wayland environments at the moment.

Hey, I also think it should be transparent to the user! I just found this documentation: So, CopyQ would work on Wayland, as I understand it. It looks like if...

Found a better solution. We can use QClipboard on X11 systems, and wl-clipboard everywhere else. I have tested this code: ``` sleep 3; wl-copy "Hi WiFi" ``` 3 seconds for...

So, copying in Wayland proved to be a way harder process than I thought it would be. 😄 Would spawning the wl-copy binary directly be problematic from your POV? My...

Turns out: 1. Flatpak can't execute programs in the host system (very secure indeed) 2. Implementing a copy command in the Wayland protocol is unnecessarily difficult. - I swear, I've...

Note for future self: `wl-clipboard` defines a [static library](https://github.com/bugaevc/wl-clipboard/blob/master/src/meson.build#L19-L57). Explore using it instead of reimplementing the code itself. I see in the CMakelists.txt: ``` unset(meson_bin CACHE) find_program(meson_bin meson) ``` Does...

Very helpful. I'll try to implement a solution with the static library then.

Hey @mkiol, please tell me there is a way to accelerate the build process on Flatpak. It takes 16 minutes on my local machine every single time.

So, this is my wlclipboard.cmake: ```cmake set(wlclipboard_source_url "https://github.com/bugaevc/wl-clipboard/archive/refs/tags/v2.2.1.tar.gz") set(wlclipboard_checksum "6eb8081207fb5581d1d82c4bcd9587205a31a3d47bea3ebeb7f41aa1143783eb") if(${meson_bin} MATCHES "-NOTFOUND$") message(FATAL_ERROR "meson not found but it is required to build wl-clipboard") endif() ExternalProject_Add(wlclipboard SOURCE_DIR ${external_dir}/wlclipboard BINARY_DIR ${PROJECT_BINARY_DIR}/external/wlclipboard...