Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Wine clipboard seperate from system clipboard

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
LDAHashtag15
n00b
n00b
Posts: 5
Joined: Sun Feb 08, 2026 5:05 pm

Wine clipboard seperate from system clipboard

  • Quote

Post by LDAHashtag15 » Wed Feb 18, 2026 2:38 am

Salutations,
I can't copy and paste things between wine applications and non-wine applications. I can copy and paste between wine applications though. It's as if wine and non-wine applications have their own clipboard. I have tried using Ctrl-c and Ctrl-p. I have created a new prefix. I tried other wine apps to copy to a non-wine app(Notepad, internet explorer etc.). Last but not least, I temporarily disabled copyq. Most of the apps I use, don't use Xwayland, although I do have Xwayland support in hyprland. I also use all unstable packages.

I use Hyprland 53.3, copyq, ironbar

Lutris log that seems suspicious

Code: Select all

lutris-wrapper: Textractor(x64)
Started initial process 1099115 from /etc/eselect/wine/bin/wine /home/Adam/Games/nekopara/drive_c/users/Adam/Textractor/x86/Textractor.exe
Start monitoring process.
listener function for opcode 3 of zwlr_data_control_device_v1 is NULL
listener function for opcode 3 of zwlr_data_control_device_v1 is NULL
listener function for opcode 3 of zwlr_data_control_device_v1 is NULL
wine-vanilla use flags via equery

Code: Select all

[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for app-emulation/wine-vanilla-11.2:
 U I
 - - X              : Add support for X11
 - - abi_x86_32     : 32-bit (x86) libraries
 + + abi_x86_64     : 64-bit (amd64) libraries
 + + alsa           : Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
 + + bluetooth      : Enable Bluetooth Support
 - - capi           : Enable ISDN support using net-libs/libcapi
 - - crossdev-mingw : Use sys-devel/crossdev for the toolchain rather than dev-util/mingw64-toolchain
                      (requires manual setting up and is mostly unsupported, try disabling if have
                      issues) 
 + + cups           : Add support for CUPS (Common Unix Printing System)
 - - custom-cflags  : Build with user-specified CFLAGS (unsupported)
 + + dbus           : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
 - - dos            : Pull in games-emulation/dosbox to run DOS applications
 + + ffmpeg         : Enable ffmpeg/libav-based audio/video codec support
 + + fontconfig     : Support for configuring and customizing font access via media-libs/fontconfig
 + + gecko          : Enable mshtml support using app-emulation/wine-gecko
 - - gphoto2        : Add digital camera support
 + + gstreamer      : Add support for media-libs/gstreamer (Streaming media)
 - - kerberos       : Add kerberos support
 - - llvm-libunwind : Use llvm-runtimes/libunwind instead of sys-libs/libunwind
 + + mingw          : Build PE files using dev-util/mingw64-toolchain (more tested) rather than
                      llvm-core/clang (newer)
 + + mono           : Enable .NET support using app-emulation/wine-mono
 - - netapi         : Enable support for configuring remote shares using net-fs/samba
 + + nls            : Add Native Language Support (using gettext - GNU locale utilities)
 - - odbc           : Add ODBC Support (Open DataBase Connectivity)
 - - opencl         : Enable OpenCL support (computation on GPU)
 + + opengl         : Add support for OpenGL (3D graphics)
 - - pcap           : Support packet capture software (e.g. wireshark)
 - - perl           : Install helpers that require perl (winedump/winemaker)
 + + pulseaudio     : Add sound server support via media-libs/libpulse (may be PulseAudio or PipeWire)
 - - samba          : Pull in net-fs/samba with winbind for NTLM auth support
 - - scanner        : Add support for scanner hardware (e.g. build the sane frontend in kdegraphics)
 + + sdl            : Enable gamepad support using media-libs/libsdl2
 - - smartcard      : Enable smartcard support
 + + ssl            : Add support for SSL/TLS connections (Secure Socket Layer / Transport Layer
                      Security)
 + + strip          : Allow symbol stripping to be performed by the ebuild for special files
 + + truetype       : Add support for FreeType and/or FreeType2 fonts
 + + udev           : Enable virtual/udev integration (device discovery, power and storage device
                      support, etc)
 + + unwind         : Add support for call stack unwinding and function name resolution
 + + usb            : Add USB support to applications that have optional USB support (e.g. cups)
 - - v4l            : Enable support for video4linux (using linux-headers or userspace libv4l libraries)
 + + vulkan         : Add support for 3D graphics and computing via the Vulkan cross-platform API
 + + wayland        : Enable dev-libs/wayland backend
 + + wow64          : Enable the "new" wow64 mode that allows running 32bit applications without 32bit
                      ELF multilib by mapping to 64bit calls. Generally works well with wine-11.0 or
                      newer, but may or may not have a small perforamce impact or other issues. If
                      USE=mingw is set, still need the default abi_x86_32 set on
                      dev-util/mingw64-toolchain but that can be done even with /no-multilib/ profiles.
                      This can also be enabled on arm64 to allow running x86 applications via binary
                      translation. 
 - - xinerama       : Add support for querying multi-monitor screen geometry through the Xinerama API
How do you fix this issue?
If you need any more logs or stuff like that, please tell me.
Thanks,
Top
flexibeast
l33t
l33t
Posts: 682
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Wed Feb 18, 2026 8:41 am

Do wl-copy(1) and wl-paste(1), provided by gui-apps/wl-clipboard, work?
https://wiki.gentoo.org/wiki/User:Flexibeast
My most recent wiki contributions
Top
LDAHashtag15
n00b
n00b
Posts: 5
Joined: Sun Feb 08, 2026 5:05 pm

  • Quote

Post by LDAHashtag15 » Wed Feb 18, 2026 8:33 pm

flexibeast wrote:Do wl-copy(1) and wl-paste(1), provided by gui-apps/wl-clipboard, work?
Not between wine and nonwine applications. I used wl-copy aaaaa, and right clicked into a wine window, and nothing pasted. When I did it in a nonwine window it worked.
Top
flexibeast
l33t
l33t
Posts: 682
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Wed Feb 18, 2026 11:04 pm

Hmm. Well, i found this discussion on the WineHQ forum, "Wayland, Wine can't read clipboard", whose final comment is:
My friend solved it, using xclip and wl-clipboard, launched with:

Code: Select all

wl-paste -t text -w xclip -selection clipboard
i'd be interested to know whether or not that works for you?
https://wiki.gentoo.org/wiki/User:Flexibeast
My most recent wiki contributions
Top
LDAHashtag15
n00b
n00b
Posts: 5
Joined: Sun Feb 08, 2026 5:05 pm

  • Quote

Post by LDAHashtag15 » Mon Feb 23, 2026 12:18 am

flexibeast wrote:Hmm. Well, i found this discussion on the WineHQ forum, "Wayland, Wine can't read clipboard", whose final comment is:
My friend solved it, using xclip and wl-clipboard, launched with:

Code: Select all

wl-paste -t text -w xclip -selection clipboard
i'd be interested to know whether or not that works for you?
First, sorry for the lateness, I was busy.
It doesn't work for me. I should mention I tried using the auto downloaded version of Ge-Proton in Lutris, and the clipboard worked. But my system installed version of wine-vanilla's clipboard does not work.

Trying xclip on it's own yields no output, or even the command you provided. Also, I can copy and paste to and from X11 applications just fine.
Also, thank you for your help so far.
Top
flexibeast
l33t
l33t
Posts: 682
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Mon Feb 23, 2026 11:11 pm

You're welcome. :) Unfortunately, though, i don't i have any more suggestions at this point .... And since no-one else has weighed in either, perhaps you could try asking the Hyprland community about it (e.g. on forum.hypr.land, r/hyprland, etc.)? There might be people familiar with the relevant code who understand what's going on.

(And if you find a solution there, please let us know here!)
https://wiki.gentoo.org/wiki/User:Flexibeast
My most recent wiki contributions
Top
LDAHashtag15
n00b
n00b
Posts: 5
Joined: Sun Feb 08, 2026 5:05 pm

  • Quote

Post by LDAHashtag15 » Tue Feb 24, 2026 1:44 am

flexibeast wrote:You're welcome. :) Unfortunately, though, i don't i have any more suggestions at this point .... And since no-one else has weighed in either, perhaps you could try asking the Hyprland community about it (e.g. on forum.hypr.land, r/hyprland, etc.)? There might be people familiar with the relevant code who understand what's going on.

(And if you find a solution there, please let us know here!)
Sure, I'll try that, and if I find a solution, I will report back.
Top
Chiitoo
Ninja Apprentice
Ninja Apprentice
User avatar
Posts: 3079
Joined: Sun Feb 28, 2010 5:36 pm
Location: Sore wa sore, kore wa kore... nanoda.

  • Quote

Post by Chiitoo » Tue Feb 24, 2026 10:18 am

I ran a quick test using Wayfire, and when using the Wine Wayland driver, I am able to paste from the Wine notepad to Konsole and the other way around (using ctrl{,-shift}-c and ctrl{,-shift}-v).

When using the X11 driver, I see the same behaviour.

Considering you seem to have built with USE="X", I'd expect the Wayland driver being used...

Is that the only system Wine build installed and surely the one being used?
Kindest of regardses.
Top
LDAHashtag15
n00b
n00b
Posts: 5
Joined: Sun Feb 08, 2026 5:05 pm

  • Quote

Post by LDAHashtag15 » Tue Feb 24, 2026 4:05 pm

Chiitoo wrote:I ran a quick test using Wayfire, and when using the Wine Wayland driver, I am able to paste from the Wine notepad to Konsole and the other way around (using ctrl{,-shift}-c and ctrl{,-shift}-v).

When using the X11 driver, I see the same behaviour.

Considering you seem to have built with USE="X", I'd expect the Wayland driver being used...

Is that the only system Wine build installed and surely the one being used?
I have wine-proton installed using emerge, along with GE-proton that gets automatically installed into Lutris. Also some additional information, I tried reinstalling wine-vanilla with the X use flag to see if the clipboard would work. It did work, but I want to use wayland, not X. Also wine-proton on my system seems to have the same clipboard problem. I don't use wine-proton, and would be willing to uninstall it. I'll try uninstalling wine-proton, and see if anything changes.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic