Copying an image from Windows to Linux isn't working

Questions about Wine on Linux
Post Reply
radzo73
Newbie
Newbie
Posts: 1
Joined: Mon May 12, 2025 1:39 pm

Copying an image from Windows to Linux isn't working

Post by radzo73 »

System:

Code: Select all

  Kernel: 6.11.0-25-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc
  Desktop: Cinnamon v: 6.4.8 tk: GTK v: 3.24.41 wm: Muffin v: 6.4.1 vt: 7 dm: LightDM v: 1.30.0
    Distro: Linux Mint 22.1 Xia base: Ubuntu 24.04 noble
Wine version:

Code: Select all

wine-9.0 (Ubuntu 9.0~repack-4build3)
The Windows program in question is using .NET Framework 4.7.2, and the function

Code: Select all

System.Windows.Forms.SetImage()
to copy the image to the clipboard. However, I get the error

Code: Select all

00e0:err:clipboard:export_selection failed to open clipboard for "image/bmp"
when trying to copy an image while running Wine.

I have wine-mono (v. 9.4.0) installed, and

Code: Select all

[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
"UsePrimarySelection"="1"
[HKEY_LOCAL_MACHINE\Software\Wine\X11 Driver]
"UsePrimarySelection"="1"
in my registry.
I've been switching Windows version, but nothing seems to be working. What do I do?
User avatar
KenSharp
Level 4
Level 4
Posts: 149
Joined: Mon Jul 13, 2009 8:52 pm

Re: Copying an image from Windows to Linux isn't working

Post by KenSharp »

Upgrade to Wine 10.9 and try again?
Post Reply