Share X clipboard in Wine
-
- Level 1
- Posts: 6
- Joined: Mon Jun 10, 2019 3:30 am
Share X clipboard in Wine
Hi there,
I suspect this question may have been asked before. I am using Ubuntu 18.04 LTS, wine-3.0 (Ubuntu 3.0-1ubuntu1).
I am not able to copy from something like Firefox in X and paste in to any Wine application be it notepad or anything else. Neither can I copy from the Wine application and paste back into X.
Copy and paste does work between Wine Apps in either direction.
I have researched this but not found anything that is helpful. This is either not meant to be or I'm missing something really simple and obvious.
Please help, thank you.
I suspect this question may have been asked before. I am using Ubuntu 18.04 LTS, wine-3.0 (Ubuntu 3.0-1ubuntu1).
I am not able to copy from something like Firefox in X and paste in to any Wine application be it notepad or anything else. Neither can I copy from the Wine application and paste back into X.
Copy and paste does work between Wine Apps in either direction.
I have researched this but not found anything that is helpful. This is either not meant to be or I'm missing something really simple and obvious.
Please help, thank you.
Re: Share X clipboard in Wine
@stephen7337
A quick test on my system (Gentoo + Plasma 5) shows basic clipboard functionality works OK.
I even installed wine-vanilla:3.0 (which is an unsupported version of Wine now, btw) and couldn't reproduce your issue (obviously I can't replicate it - because you haven't stated what Windows applications you've tested).
Potentially it could be a Gnome Shell issue.
Bob
A quick test on my system (Gentoo + Plasma 5) shows basic clipboard functionality works OK.
I even installed wine-vanilla:3.0 (which is an unsupported version of Wine now, btw) and couldn't reproduce your issue (obviously I can't replicate it - because you haven't stated what Windows applications you've tested).
Potentially it could be a Gnome Shell issue.
- Please can you detail what Windows applications, you are testing, under Wine.
- Are you setting any non-defaults for your WINEPREFIX, e.g. using a Wine Virtual Desktop?
Bob
-
- Level 1
- Posts: 6
- Joined: Mon Jun 10, 2019 3:30 am
Re: Share X clipboard in Wine
The specific application which is in question is Amazon Workspaces Client which is a variant of the PCOIP family. I haven't used any special prefix to launch the AWS Workspaces Client.
I have to admit, that today, copying from X into both wordpad and notepad functions as expected. On Friday, though I was not having such success, the problem seemed much more general. I apologize to for my broad sweeping accusation.
Amazon Workspaces isn't a general purpose application though AWS does offer a free tier for those wanting to experiment, you need to sign up to AWS first to use it. Amazon do not offer a native option for Linux.
I have to admit, that today, copying from X into both wordpad and notepad functions as expected. On Friday, though I was not having such success, the problem seemed much more general. I apologize to for my broad sweeping accusation.
Amazon Workspaces isn't a general purpose application though AWS does offer a free tier for those wanting to experiment, you need to sign up to AWS first to use it. Amazon do not offer a native option for Linux.
Re: Share X clipboard in Wine
@stephen7337
OK I took a look at the Amazon Workspaces setup...
Yeah that is a bit too deep of a rabbit hole to continue with...
Well just now anyway!
I'd suggest filing a WineHQ bug for copy-paste on the AWS client.
The application's functionality will need to be tested with Wine 4.10 (latest release).
You'll need to supply a Wine terminal log, probably the following debug channel would be useful:
You should attach the log bug report.
I am sure you know the drills (if you're using AWS)!
I suspect it's probably due to one of the many annoying bugs/ quirks that Qt5 has...
Bob
OK I took a look at the Amazon Workspaces setup...
Yeah that is a bit too deep of a rabbit hole to continue with...
Well just now anyway!
I'd suggest filing a WineHQ bug for copy-paste on the AWS client.
The application's functionality will need to be tested with Wine 4.10 (latest release).
You'll need to supply a Wine terminal log, probably the following debug channel would be useful:
Code: Select all
cd "${WINEPREFIX:-${HOME}/.wine}/Program Files (x86)/Amazon Web Services, Inc/Amazon WorkSpaces"
export WINEDEBUG=+clipboard
wine workspaces.exe &> ~/wine-4.10_clipboard_log.txt
I am sure you know the drills (if you're using AWS)!
I suspect it's probably due to one of the many annoying bugs/ quirks that Qt5 has...
Bob
-
- Level 1
- Posts: 6
- Joined: Mon Jun 10, 2019 3:30 am
Re: Share X clipboard in Wine
Hi Bob,
I have opened https://bugs.winehq.org/show_bug.cgi?id=47344
Not the best bug by any means.
Thank you for your help.
I have opened https://bugs.winehq.org/show_bug.cgi?id=47344
Not the best bug by any means.
Thank you for your help.
Re: Share X clipboard in Wine
The bug report is fine... However the log file is useless (I blame myself)...stephen7337 wrote:Hi Bob,
I have opened https://bugs.winehq.org/show_bug.cgi?id=47344
Not the best bug by any means.
Thank you for your help.
So please retest, with:
Code: Select all
cd "${WINEPREFIX:-${HOME}/.wine}/drive_c/Program Files (x86)/Amazon Web Services, Inc/Amazon WorkSpaces"
export WINEDEBUG=+timestamp,+tid,+all
wine workspaces.exe &> ~/wine-4.10_all_log.txt
So you'll need to compress the log file, with xz, to keep it below 5000 Kbytes:
Code: Select all
xz -9 -e ~/wine-4.10_all_log.txt
You'd also need to do the copy-paste operations very quickly (or perhaps generate multiple logs - one per copy-paste operation??)!!
Otherwise the log will be unmanageable...
Please also use a well defined/short string to copy-paste between the applications.
(It might be useful to do a copy-paste between the AWS client and notepad, running in the same WINEPREFIX.)
Then you can state what pre-determined copy-paste string you have used, in the Bug report...
So that peeps won't be searching for a "needle in a haystack", in your logs!
Thanks
Bob
-
- Level 1
- Posts: 6
- Joined: Mon Jun 10, 2019 3:30 am
Re: Share X clipboard in Wine
Hi Bob,
I will get this done.
Thank you.
I will get this done.
Thank you.
-
- Level 1
- Posts: 6
- Joined: Mon Jun 10, 2019 3:30 am
Re: Share X clipboard in Wine
Hi Bob,
I have tested extensively and with these logging options, "wine workspaces.exe" does not start. It does however produce a log that is too large to post here.
I will make an attempt to prepare a smaller upload.
I have tested extensively and with these logging options, "wine workspaces.exe" does not start. It does however produce a log that is too large to post here.
I will make an attempt to prepare a smaller upload.
Re: Share X clipboard in Wine
You could post the (compressed) log externally e.g. Google drive, Mega, etc.stephen7337 wrote:...
It does however produce a log that is too large to post here.
I will make an attempt to prepare a smaller upload.
Then provide a link here.
Ideally logs should be attached to Wine bug reports (for historical tracking reasons); but obviously those rules don't apply to these forums.
Bob
Re: Share X clipboard in Wine
Hi
I have the same problem (copy/paste of plain text doesn't work). I have installed Wine (development version) on Ubuntu 18.04.2 LTS.
And execute
With wine64 or wine v.4.0 the icon of aws client desktop shortcut doesn't look well.
Could you please help me with this issue?
I have the same problem (copy/paste of plain text doesn't work). I have installed Wine (development version) on Ubuntu 18.04.2 LTS.
And execute
Code: Select all
wine msiexec /i Amazon_WorkSpaces.msi
Could you please help me with this issue?
Re: Share X clipboard in Wine
Please don't post screenshots of terminals. Just post the terminal text, using the forum Code tags:vort2020 wrote:...
With wine64 or wine v.4.0 the icon of aws client desktop shortcut doesn't look well.
Could you please help me with this issue?
Code: Select all
...
Certainly Wine 3.6 is not supported any more. The current Wine development release is 4.10.
Op has already filed a bug report. Short of making a donation to Codeweavers... !
Bob
Re: Share X clipboard in Wine
Sorry for inaccuracy. I was testing on wine 3.6.
I will try wine 4.10 and will write about results.
I will try wine 4.10 and will write about results.
Re: Share X clipboard in Wine
I have tested with:
The copy/paste still doesn't work, also an icon has disappeared.
Code: Select all
$ wine --version
wine-4.10
- Attachments
-
- Screenshot from 2019-06-18 10-38-11.png (16.5 KiB) Viewed 12554 times
Re: Share X clipboard in Wine
@vort2020vort2020 wrote:... also an icon has disappeared.
You are going off-topic here, on someone else's thread.
This is commonly termed as: "thread hijacking"
The primary focus of this thread should remain about copy-paste issue on the AWS Client.
Bob
-
- Newbie
- Posts: 1
- Joined: Mon Nov 25, 2019 4:25 pm
Re: Share X clipboard in Wine
Have you ever found a fix for this issue? I'm facing same error while trying to copy between Workspace and host. I'm running Amazon Workspaces Client on PlayOnLinux with Wine 4.20.1
Re: Share X clipboard in Wine
Never mind... that's rather a 'copyq' issue (clipboard manager).
Previous post (obsolete):
Might be related:
In Wine 4.21 apps (notepad++ and editor tested) it works exactly one time to export the clipboard. Any subsequent new clipboard entry won't get exported into the linux environment (CLIPBOARD).
Previous post (obsolete):
Might be related:
In Wine 4.21 apps (notepad++ and editor tested) it works exactly one time to export the clipboard. Any subsequent new clipboard entry won't get exported into the linux environment (CLIPBOARD).
Re: Share X clipboard in Wine
I had trouble using copy/paste to and from native Linux apps in Amazon Workspaces running in Wine. Using the following combinations in this app seems to work though:
Ctrl+Insert : Copy to the clipboard
Shift+Insert : Paste from the clipboard
Shift+Delete : Cut to the clipboard
Ctrl+Insert : Copy to the clipboard
Shift+Insert : Paste from the clipboard
Shift+Delete : Cut to the clipboard
Re: Share X clipboard in Wine
Could you please share some details?stefanr wrote: ↑Sun Mar 08, 2020 2:22 pm I had trouble using copy/paste to and from native Linux apps in Amazon Workspaces running in Wine. Using the following combinations in this app seems to work though:
Ctrl+Insert : Copy to the clipboard
Shift+Insert : Paste from the clipboard
Shift+Delete : Cut to the clipboard
Linux distribution, wine version, aws client version, etc?
Keys combinations above didn't help me unfortunately.