Pasting selections supplied by GTK

Marc Lehmann schmorp at schmorp.de
Tue Jan 6 22:11:34 CET 2009


On Tue, Jan 06, 2009 at 02:58:35PM -0500, Tom Dexter <digitalaudiorock at hotmail.com> wrote:
> > I've found that selections supplied by GTK apps using code such as the following example on their devel site:

any easily accessible gtk app that displays any issues? I just tried with
firefox, gimp and gedit, and all just work. I assume the selection dcode is
quite similar in them.

> > The reason I ran into this is because I've used wmcliphist (a GTK clipboard history program that uses similar GTK selection code) for quite some time and would like to switch from aterm to urxvt because of the unicode support.

I tried installing wmcliphist, but since I don't have easy access to
libglib-1 anymore, I couldn't install it.

> > Any ideas as why that doesn't work? Thanks in advance.

No, but you really should format your e-mails so other people can read them.
pasting everything together into a few long lines makes your e-mails hard to
read, and it doesn't make me want to reply to them.

> One question regarding the middle mouse click functionality in urxvt.  Am I correct that it pastes the primary selection?  That's what appears to be the case from testing using xsel etc.

Yes.

> The above issue I posted originally really perplexes me if that is in fact that case.  The primary selection supplied by the sample GTK code I linked to can be pasted with the middle mouse in every terminal program I've tried (in fact every application of any sort that I've tried) except urxvt.

How did you come by with the specific urxvt binary? Did you compile it
yourself?

> Any clues as to why that would be?  If I had some idea I might be able to find something on the GTK end that would correct it.  Thanks.

No, the selection works just fine between gtk+ apps and urxvt in
general. I have not found any instance where it wouldn't work.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      pcg at goof.com
      -=====/_/_//_/\_,_/ /_/\_\




More information about the rxvt-unicode mailing list