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

cut-n-paste woes

1 view
Skip to first unread message

Eli the Bearded

unread,
Oct 13, 2009, 7:19:18 PM10/13/09
to
I come from the old school of Unix / X11 usage. Select with left
click to copy. Extend selection with right click to copy more. Paste
with middle click. Using keyboard or menu items to explicitly copy
something is a foreign import.

Increasingly I find that I am on systems that have two incompatible
cut and paste buffers. I run into it most often (but not exclusively)
cuting and pasting between Firefox and xterms. Sometimes a middle
click will paste nothing in Firefox. Sometimes something copied[*]
from Firefox won't paste in an xterm.

[*] Copied via a menu, such as "Copy link location" from the context
menu.

Is there a good way to keep these two buffers in sync?

Elijah
------
thinks <shift>-<insert> is a perfectly normal way to paste, though

Florian Diesch

unread,
Oct 14, 2009, 4:07:08 AM10/14/09
to
Eli the Bearded <*@eli.users.panix.com> writes:

> I come from the old school of Unix / X11 usage. Select with left
> click to copy. Extend selection with right click to copy more. Paste
> with middle click. Using keyboard or menu items to explicitly copy
> something is a foreign import.
>
> Increasingly I find that I am on systems that have two incompatible
> cut and paste buffers.

X11 has multiple "cut and paste buffers". Most used are PRIMARY and CLIPBOARD.


> I run into it most often (but not exclusively)
> cuting and pasting between Firefox and xterms. Sometimes a middle
> click will paste nothing in Firefox. Sometimes something copied[*]
> from Firefox won't paste in an xterm.

Middle click uses the PRIMARY, menu items usually use CLIPBOARD.


> Is there a good way to keep these two buffers in sync?

Do you really want to override the clipboard every time you select
something with the mouse?

There are some "clipboard managers" out there, maybe one of them can
do this.


Florian
--
<http://www.florian-diesch.de/software/shell-scripts/>

Eli the Bearded

unread,
Oct 15, 2009, 5:15:54 PM10/15/09
to
In comp.os.linux.x, Florian Diesch <die...@spamfence.net> wrote:
> X11 has multiple "cut and paste buffers". Most used are PRIMARY and
> CLIPBOARD.

Hmmm.

> Middle click uses the PRIMARY, menu items usually use CLIPBOARD.

Okay.

[I asked:]


>> Is there a good way to keep these two buffers in sync?
> Do you really want to override the clipboard every time you select
> something with the mouse?

Yes. Most definately. This is the behavior I expect.

> There are some "clipboard managers" out there, maybe one of them can
> do this.

I'll look into them. I'd be fine with a command line utility that
could be used to clobber one buffer with the other. Already knowing
the names of these facilities is pulling up some interesting links.

Elijah
------
alas the first link gives examples in lisp

Mark Hobley

unread,
Nov 2, 2009, 3:08:02 AM11/2/09
to
Eli the Bearded <*@eli.users.panix.com> wrote:
> Increasingly I find that I am on systems that have two incompatible
> cut and paste buffers. I run into it most often (but not exclusively)
> cuting and pasting between Firefox and xterms.

I have the same problem with firefox and xterms, so I will file a bug /
feature request against this.

> Sometimes a middle
> click will paste nothing in Firefox. Sometimes something copied[*]
> from Firefox won't paste in an xterm.

Yeah, its bloody annoying that right click does not paste the same
content as menu, edit, paste.

Have you discovered any other applications that do this?

Mark.

--
Mark Hobley
Linux User: #370818 http://markhobley.yi.org/

Anton Ertl

unread,
Nov 2, 2009, 5:25:56 AM11/2/09
to
markh...@hotpop.donottypethisbit.com (Mark Hobley) writes:
>Eli the Bearded <*@eli.users.panix.com> wrote:
>> Increasingly I find that I am on systems that have two incompatible
>> cut and paste buffers. I run into it most often (but not exclusively)
>> cuting and pasting between Firefox and xterms.
...

>Have you discovered any other applications that do this?

I often have this problem when copying from Iceape (Seamonkey) to
Emacs. Usually a remedy is to select something in Emacs, then select
something in Iceape (and see that the Emacs selection vanishes), then
paste it in Emacs. Sometimes this does not help, then I try copying
from Iceape to an xterm, and from the xterm to Emacs.

- anton
--
M. Anton Ertl Some things have to be seen to be believed
an...@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html

Eli the Bearded

unread,
Nov 3, 2009, 6:33:54 PM11/3/09
to
In comp.os.linux.x, Mark Hobley <markh...@hotpop.donottypethisbit.com> wrote:
> Have you discovered any other applications that do this?

Yes, Open Office. There aren't a whole lot of X11 programs I use
with any frequency[*], so there may be many more I haven't noticed.

[*] Running right now on this computer are 24 xterms, firefox, xbiff,
xload, xclock, and a window manager. OpenOffice, VMware, Gimp,
gv, xpdf, and feh (image viewer) have all been run in the past
week. Add in acroread for PDFs that xpdf screws up, and that's
about all that I ever run that's not terminal oriented.

The suggestion by anonymous (an...@remailer.gabrix.ath.cx) of xsel is
much appreciated. It looks perfect.

Elijah
------
points off Mark Hobley for using a bogus hostname not ending in .invalid

Mark Hobley

unread,
Nov 3, 2009, 8:08:02 PM11/3/09
to
Eli the Bearded <*@eli.users.panix.com> wrote:
>
> Elijah
> ------
> points off Mark Hobley for using a bogus hostname not ending in .invalid

My mailserver is down at this time. It was redirected but yahoo started
bouncing my mail, so email is down down down at this time.

Eli the Bearded

unread,
Nov 9, 2009, 8:12:50 PM11/9/09
to
In comp.os.linux.x, Mark Hobley <markh...@hotpop.donottypethisbit.com> wrote:
> > points off Mark Hobley for using a bogus hostname not ending in .invalid
> My mailserver is down at this time. It was redirected but yahoo started
> bouncing my mail, so email is down down down at this time.

$ whois donottypethisbit.com

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.

No match for "DONOTTYPETHISBIT.COM".
>>> Last update of whois database: Tue, 10 Nov 2009 01:09:16 UTC <<<

[...]

If anyone ever registers that host, they probably won't like that
you've been using it. The .invalid top level domain exists for
various not real hostnames. You should be using it.

Elijah
------
posts with a working email address

0 new messages