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.
Are talking after you have dropped out to a terminal or just some gui terminal? If the gui kind I just highlight with mouse and then press the scroll button in the terminal window
Thanks for the answers. What I mean is to paste in the shell (ctrl alt f3).
Is it possible to do that?
Not that I am aware of as you are leaving the environment where the copy was performed, so the console would have no knowledge
of any previous key strokes or the like.
I think your best option would be to paste what you need into a text file and then open it once you are at the console.
I run Sparky and MINT at home right now, and have run many others. Copy/paste does nto always work the SAME, but it always works. (for me)
If your window has a edit menu option, you may need to use that in some applications, depending upon the xWindows, but generally the key bindings work.
I don't know if it's just me that does this, but I have to 'build' my clipboard in a file.
I make heavy use of bash_history and echo and redirect to a file, for use in a console,
regardless if I have a GUI session running or not. The console is well, the console.
GUI tools on a "server" is a foreign idea in my mind. But console is console! Ta Da...!
Use this:
Highlight it with your mouse, then middle click (with the scroll wheel) in the terminal emulator.
Or highlight it with your mouse, press Ctrl+C, then go to the terminal emulator, and press Ctrl+Shift+V.
If you truly are working in a tty rather than a terminal emulator, then you can't directly copy-paste between X and the tty. You'd probably copy/paste it into a file using the terminal emulator, then switch to the tty and execute the file as a script, though it's very rare that you'd be working in X and a tty at the same time...
Last edited by suicidaleggroll; 12-29-2015 at 10:55 AM.
For me I just copy in normal way then move mouse cursor to terminal window right click & select paste. I use Mint, don't know if it works differently in other distro's but it works fine for me.
I'm still not sure how I would for example run this command to download rpm:
Code:
su -c 'dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E fedora).noarch.rpm'
Do I need to type it into the console or is there a faster way?
according to your thread title, you copy this command from the web browser?
and then you want to switch to a non-graphical tty and execute that command?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.