|Left click while drag the mouse over the text, that you want to copy. Middle-click or clicking with right and left simultaneously will paste the text into the command line at the prompt, even in another console or in a file (or your elinks browser).
Do you really need libfm1 installed at all?
LANG=EN apt-cache show libfm1
suggest to me it is a useful lib in X only. And states no dependency on the gtk lib!
Maintainer: Debian LXDE Packaging Team <pkg>
Depends: libc6 (>= 2.2.5), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2 (>= 0.78), libglib2.0-0 (>= 2.24.0), libmenu-cache1, libfm-data, lxmenu-data
Description-en: file management support - core library
LibFM provides file management functions built on top of Glib/GIO,
giving a convenient higher-level API. Features:
* Desktop-independent, following FreeDesktop standards;
* Fast, light on memory usage, and responsive - well suited to
less powerful hardware such as netbooks and thin clients;
* Uses GIO/GVFS (like Nautilus) for Trash support and access to
remote file systems (FTP, SFTP, WebDAV, Windows shares, etc.);
* Clipboard operations are compatible with GTK+/GNOME and Qt/KDE;
* Supports both Drag-and-Drop, and the X Direct Save protocol;
* Reusable design with the core functions separated out to
simplify porting to other GUIs.
This package contains the core function library.