Looking for light terminal that supports copy and paste to other applications
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Actually, it does support "copy-and-paste", it just does not support they key-bindings you are used to using.
Shift-Delete is used for cutting text, and Shift-Insert is used for pasting text.
If I right click on a link for something in Firefox (let's say, the latest ISO of my BSD or Linux distro of choice) and select "Copy Link Location..." I can easily pop over into an Xterm, type in "wget " and then press Shift-Insert and the URL I want to download fills in.
excerpt from 'man gpm';
gpm - a cut and paste utility and mouse server for virtual consoles
gpm [ options ]
This package tries to be a useful mouse server for applications running on the Linux console. It is based on the "selection" package, and some of its code comes from selection itself. This package is intended as a replacement for "selection" as a cut-and-paste mechanism; it also provides additional facilities. The "selection" package offered the first cut-and-paste implementation for Linux using two mouse buttons, and the cut buffer is still called "selection buffer" or just "selection" throughout this document. The information below is extracted from the texinfo file, which is the preferred source of information.
The gpm executable is meant to act like a daemon (thus, gpmd would be a better name for it). This section is meant to describe the command-line options for gpm, while its internals are outlined in the next section.
Due to restrictions in the ioctl(TIOCLINUX) system call, gpm must be run by the superuser. The restrictions have been added in the last 1.1 kernels to fix a security hole related to selection and screen dumping.
The server can be configured to match the user's taste, and any application using the mouse will inherit the server's attitude. From release 1.02 up to 1.19.2 is was possible for any user logged on the system console to change the mouse feeling using the -q option. This is no longer possible for security reasons.
As of 0.97 the server program puts itself in the background. To kill gpm you can just reinvoke it with the -k cmdline switch, although killall gpm can be a better choice.
The OP requested for suggestions on lightweight terminal. If he is running commands from console, he can do cut/paste from console using gpm. If he needs a terminal running within X, then he FIRST needs a terminal before he can run screen
He just needs a lightweight terminal with cut/paste functionality (which IMHO almost every terminal does) - no mention of terminal multiplexer.
Yo (yes and no). A simple question with a complicated answer because there are so many copy and paste methods available on *n*x and the standards, even when they are not ambiguous, are not tightly adhered to. Useful links: Wikipedia page (incomplete, has useful links), Freedesktop.org's X clipboard explanation.
Here is the "yo" in detail
Yes, in that it implements the X method of copying any selection to the X PRIMARY.
No, in that the X method of using Shift+Del to cut the the selection to the X PRIMARY is used to set the window title to the selection. Makes sense -- terminal text cannot be cut.
Yes, in that it implements the X methods to paste from the X PRIMARY by centre mouse button click and by Shift+Ins.
No, in that it does not provide any reasonably direct method to copy a selection to the X CLIPBOARD. It does not have an Edit->Paste facility on the menus and the Shift+Ctrl+[CV] hotkeys implemented by some other terminal emulators are configured to paste the X PRIMARY and X CLIPBOARD.
Ctrl+C and Ctrl+V cannot be used by terminal emulators because so many programs that run in terminals depend on them.
There are tantalising references in the mrxvt documentation that suggest copy to clipboard is in development. From the man 0.5.4 page (dated January 10, 2006 so from a much earlier release): "Copy Copy selection into clipboard (not implemented)" and from the undated but probably later draft man page "CopySel: save terminal selection into clipboard".
The "Copy" action can be assigned to a hotkey ("macro" in mrxvt terminology) and produces no error at startup but when it run produces "Support for macro type 'Copy' not compiled". This was on an installation of mrxvt built using config with options --enable-everything --disable-debug.
Assigning "CopySel" to a macro results in this error at startup: "Action CopySel is not of known type.
This mrxvt limitation is inconvenient rather than a showstopper when working on one machine but it is a showstopper regards copy and paste between VirtualMachine host and guest (and probably using other virtualisation software).
There may be a workaround by configuring a macro to run a utility that transfers the contents of X PRIMARY to CLIPBOARD. I'll be investigating this (autocutsel, DDM, TomBoy, uclip, xclip, xclipboard, xfce4-clipman-plugin and xsel) and will update this thread with any useful findings. If anyone has comments on the suitability of those utilities (mustn't open a window or be "heavy") then please reply.
Last edited by catkin; 09-27-2009 at 10:00 AM.