[SOLVED] This question has been asked before but, I just don't seem able to "Get It"! = Copy & Paste...
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!
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.
This question has been asked before but, I just don't seem able to "Get It"! = Copy & Paste...
Several sites hold the data on how to copy and paste In Linux, Ubuntu and Linuxmint terminal....
But, I'm a complete numpty it seems as Ctrl+Shift+C or Ctrl+Insert or Ctrl+shift+v and Shift+insert never works for me.
All I'm trying to do is copy from the terminal to the PC clipboard then paste to Firefox to get an answer to a problem. Thus making the whole linux thing so difficult.
I know I'm stupid yeah but, why does it now work for me!
Months this has been happening!
OP: also, many terminals have the option , or do by default, a copy when you highlight a line or word. Then you just have to paste in the destination using middle button, normally.
sevendogsbsd + 1 ... middle button paste has long been one of my favourite things that linux could do but Windblows could not (although I do believe there is away to have this now)
It depends what kind of terminal you have. A lot of modern terminals like gnome-terminal have copy-cut-paste options on their edit menu. These give direct access to and from the X clipboard. But if you are using xterm or rxvt, you don't have those options. Select and middle-paste still work because they go through the mouse daemon gpm and not through X at all.
The X keyboard codes are ctrl-c, ctrl-x and ctrl-v. You don't use the shift key.
There is/was a method where you highlight text, hit enter to copy, and then middle mouse to paste. I definitely don't rely on that much for precision, I don't like the cursor to move, or miss when I execute an intention.
What I'm seeing here is that everyone picks something, "that works", and whatever standards there were supposed to be, vary.
The X keyboard codes are ctrl-c, ctrl-x and ctrl-v. You don't use the shift key.
It really depends on the window, the term included with LXDE/LXQT still throw shift in there. I don't know why. Ctrl-C, Ctrl-V won't always behave predictably there.
In xterm, which is very oldschool but I'm very fond of it, you just highlight in one window and shift+insert to paste in another. I've given up on trying to get things from there to paste in things like leafpad or the web browser, I have all kinds of solutions for sending text from the term to other windows. Most frequently, echo [paste] | leafpad ...this is tedious but I still prefer xterm overall to the fancier term windows which have their own annoyances. Going from other windows to xterm is trivial or works as you'd expect.
Last edited by freemedia2018; 12-26-2019 at 10:12 AM.
The usual ^C ^V ^X for copy / paste / cut work fine. Until you involve a terminal. Most times you can highlight what you want to copy and middle mouse in the place you want to paste it. Although this type of copy and paste is on a different clipboard. AKA it is NOT what you will paste if you right mouse -> paste or use ^V. Although once pasted with middle mouse you can put it on that clipboard. In a pinch I've used gmail as a text editor. So even on very crippled versions of windows, as long as it has a browser and the internet, there's that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.