SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
One of the last things the slack installer (setup) asks, is if you want support for mouse copy and paste. I always say Yes. Can somebody tell me how to use it?
I think it means when you work under a text console, you can copy the text through selecting it. And you can paste it though clicking the right mouse button.
I wonder if it works for you.
I do not get it. I select. The selected part is then highlighted. To make use of it, I'd put the text in the buffer of a text editor, say vim. But typing 'vim' deselects the text. If with the prompt I right click, it is copied into the screen, but is of no use.
Then I have no doubt. Pushing the wheel down is the same as pushing button three in a three-button mouse. Well, I do it and nothing happens. Did you read post #6?
And, if you do not mind, what do you use this feature for? I would like to know.
And, if you do not mind, what do you use this feature for? I would like to know.
Umm ... I to copy and paste text. It saves typing! I'm not always running X, in fact I don't even always have it installed on every one of my machines.
It is also particularly handy if you are copying commands from documentation or your own notes as you are less likely to miss type. If you want to copy between running applications run them in a terminal multiplexer like GNU/Screen or better yet tmux.
Last edited by ruario; 09-19-2011 at 10:35 AM.
Reason: spelling
excerpt from 'man gpm';
gpm - a cut and paste utility and mouse server for virtual consoles
SYNOPSIS
gpm [ options ]
DESCRIPTION
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 secu-
rity 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.
I like to use 'gpm' since work is it cli most of the time. Makes my life easier to cut & paste between console(s) or applications.
Even when using a vt using 'gpm' will allow one to utility between applications when set-up properly.
Two button scroll mice are ideal for 'gpm' when the proper setup is made. That way the scroll wheel button is very handy.
Coders frequently turn their nose up at a mouse, as if it were some smelly newbie tool, and as if they could do the same tasks faster without the mouse...
So how, in console, would they move blocks of text within the same file, or between separate files, more quickly than if they were using a mouse: with the "kill" and "yank" features of emacs, or course! It turns out, that if you can teach your fingers to memorize zillions of emacs keybard shortcuts, then you won't want a mouse.
Umm ... I to copy and paste text. It saves typing! I'm not always running X, in fact I don't even always have it installed on every one of my machines.
It is also particularly handy if you are copying commands from documentation or your own notes as you are less likely to miss type. If you want to copy between running applications run them in a terminal multiplexer like GNU/Screen or better yet tmux.
OK. But why do you not tell me how you use. The only way I know of is with something like cat. First I type 'cat > foo.txt' <Enter>. I now select, paste and ctrl-D. If instead I select, and run vim, when I paste vim simply puts me in Insert mode.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.