From: "Zachary P. Landau" Date: 2003-11-21T09:52:39+09:00 Subject: Re: [ANN] win32-clipboard 0.1.0 --5xSkJheCpeK0RUEJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > >KDE specific, but as it was mentioned earlier in this thread: > >you can use DCOP to interact with the clipboard: > > > >https://www.linux-magazine.com/issue/36/KDE_Scripting_DCOP.pdf > > > >There is a perl example in the article, but I think stable ruby bindings= =20 > >are on their way. >=20 > It would be really nice if there was a common mechanism used by all X11= =20 > desktops for this kind of generic stuff, rather than each having their ow= n=20 > :-(. >=20 > I don't suppose there's some way we can get to a lower level API, and avo= id=20 > being KDE (or Gnome or ...) specific. Does anyone have any ideas on wheth= er=20 > that's feasible? There mostly is. The problem is not every piece of software follows it exactly. Check out http://freedesktop.org/Standards/clipboards-spec/clipboards.txt for an explanation of how the clipboard is SUPPOSED to be implemented. I think most software does follow this, however. That xclip program I posted seems to follow these standards. Also, the code is split up into a library and a command-line program, so it probably wouldn't be particularly difficult to create ruby bindings for it. The xclip link was http://people.debian.org/~kims/xclip/ for those who missed it. --=20 Zachary P. Landau GPG: gpg --recv-key 0x24E5AD99 | http://kapheine.hypa.net/kapheine.asc --5xSkJheCpeK0RUEJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/vWGZCwWyMCTlrZkRAmylAJoCHqL1xLw2Xclex3YociGl6WS6nwCfW7Jo LZEqMGrqrMQ2YtexB0GiSng= =C4ZD -----END PGP SIGNATURE----- --5xSkJheCpeK0RUEJ--