View Full Version : Can I give a wine run program access to the clipboard? It's for a Game.

August 2nd, 2007, 11:47 PM
I am playing Utopia from this website. http://games.swirve.com/utopia/

I use a helper program from another site called UtopiaAngel, it watches the windows clipboard for text copied from the game and loads it into it's self and formats it.

The program runs but doesn't have access to Xfce's "clipboard".

Anyone here know how to do that?

January 1st, 2008, 04:17 AM
I have the same problem.

January 1st, 2008, 06:33 AM
I swiched to Gnome. Can this be done in gnome too?

RC Howe
January 2nd, 2008, 01:37 AM
I can copy/paste text from gedit to wine's notepad and vis versa just fine (Wine 0.9.46). Perhaps the game uses a custom pasteboard type, or wine is not properly sending the observer the message.

The Wine App Database (http://appdb.winehq.org/objectManager.php?sClass=application&iId=531) says it's usable, but that
one must turn on/off the "Monitor Clipboard" option to read the clipboard. Try turning on/off the monitor clipboard option.

January 3rd, 2008, 11:17 PM
I've searched for a solution, too, and found that as well. It is not helping for me.
Btw, I can copy to notepad, too, by Ctrl+C Ctrl+V (not by the middle mouse button. Offtopic question: is there a way to costumize the behaviour of the middlebutton pasting in Ubuntu?).
(Ubuntu 7.04, Gnome, 32-bit)

I've found this: make a file ~/.wine/config and put there

"ClearAllSelections" = "1"
"PersistentSelection" = "0"
"UsePrimary" = "1"

But did not help either. Is there a config file of wine somewhere that i can try to edit? The search tool did not find any.

RC Howe
January 4th, 2008, 05:43 AM
There may be a clipboard section in Wine's registry, try entering "wine regedit" in a console. Search for clipboard or for the program's name. Try entering your code there as registry keys.