Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Gnome/VirtualBox/Windows copy-paste CR issue.

93 views
Skip to first unread message

Kaz Kylheku

unread,
Mar 9, 2022, 5:50:05 PM3/9/22
to
Hi All,

I have Debian 11 in a VirtualBox, guest to a Windows host. The
guest additions is installed, with bidirectional clipboard enabled.

When I select text in a Gnome application like Gnome Terminal or
Gedit, and then paste it into some guest application, there are extra
blank lines.

If I paste it into GVim, it reveals the cause: instead of extra blank
lines,
GVim shows embedded carriage returns: ^M at the end of every line.

(Windows programs do not understand this as a Windows line ending; for
instance
if we paste into Notepad, it shows interleaved blank lines.)

This is quite strange; other virtual machines, e.g. Ubuntu, don't
exhibit
this behavior: same version of VirtualBox, same host. I've basically
never
seen this before!

I tried copying and pasting something out of other applications running
on that same Debian 11 VM, such as Firefox and LibreOffice Writer.
The issue does not show up.

Within the Debian 11 system, there is no problem either; e.g. copying
from Gnome Terminal into an edit control in Firefox or whatever.

Any advice on where to go looking?

Keith Bainbridge

unread,
Mar 9, 2022, 8:50:05 PM3/9/22
to
Good afternoon Kaz

I suggest you install mate-terminal and try from that. If that works, compare the preferences and check out a few options that I've not found in gnome-terminal, like auto copy highlighted text to clipboard.

I don't recall trying to copy into win10, so I can't answer that specifically

Kaz Kylheku

unread,
Mar 10, 2022, 9:00:07 PM3/10/22
to
On 10 Mar 2022, Keith Bainbridge <keithrb...@gmail.com> wrote:
> I suggest you install mate-terminal and try from that.

Good call; this does not exhibit the issue.

Very weird. Gnome Terminal and other programs on Ubuntu don't, either.

Anyway, I don't care about copy and paste from anything other than
terminals,
so MATE Terminal fixes it for me.

Thanks.
0 new messages