X2gpm lets you paste an X Windows selection (text selected for cut and paste there) into a Linux kernel console as if you typed it, like gpm does for similar selections on the console screens. X2gpm uses gpm to attach to control-button3 for the paste.

The other direction, console selection to X, is not supported. Read more in the (10k, html).

X2gpm is free software (free as in freedom), published under the terms of the GNU General Public License (v3 or up).

To compile and run X2gpm you'll need,

Download version 11 here, either the source, or a Debian package (built for gpm 1.20.4) here or from my repo.

x2gpm-11.tar.gz (33k, and sig)
x2gpm_11-0.1_i386.deb (16k, and sig)

The sig files are a Gnu PG ascii armoured signatures generated from my key.

GPM 1.19

The source tar includes a debian directory and you can build against current or previous gpm. If you're using gpm 1.19.6 then you must build against that version with the usual

fakeroot debian/rules binary

If you use one of the build tools that looks at Build-Depends then in debian/control change the Build-Depends: line from libgpm-dev to the previous libgpmg1-dev.

See also xsel for one-off fetching (or storing) of the X selection.

This page Copyright 2007, 2008, 2009, 2010, 2011, 2013, 2014, 2015, 2016, 2017, 2020, 2021 Kevin Ryde, except for the GPLv3 logo which is Copyright Free Software Foundation and used here in accordance with its terms.

Page created by cutting and pasting random text using gpm and X2gpm.
(Back to the sitemap.)