LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-22-2017, 01:21 PM   #1
ComputerCritic
Member
 
Registered: Mar 2017
Posts: 43

Rep: Reputation: Disabled
Angry Pasting copied text closes Terminal


I am using OpenSUSE Leap 42.2 on a Dell Inspiron 1545. Whenever I copy text, then paste it to Terminal, the Terminal automatically exits. How do I fix this?
I want to copy so I don't have to type it myself. Doesn't it just make it much faster with copy/paste shortcut?
Why can't the mouse interact with Terminal?
 
Old 05-22-2017, 01:31 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Are you using Ctrl+Shift+V to paste?
 
Old 05-22-2017, 01:42 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,826

Rep: Reputation: 6981Reputation: 6981Reputation: 6981Reputation: 6981Reputation: 6981Reputation: 6981Reputation: 6981Reputation: 6981Reputation: 6981Reputation: 6981Reputation: 6981
Quote:
Originally Posted by ComputerCritic View Post
I am using OpenSUSE Leap 42.2 on a Dell Inspiron 1545. Whenever I copy text, then paste it to Terminal, the Terminal automatically exits. How do I fix this? I want to copy so I don't have to type it myself. Doesn't it just make it much faster with copy/paste shortcut?
Again, as with most of your posts, you don't say what you're actually doing. HOW are you copying the text? From what? With what keys? CTRL-C (copy) and CTRL-V (paste) work fine, and have worked that way for well over ten years now in Linux, same as in Windows.
Quote:
Why can't the mouse interact with Terminal?
And again...this has worked for MANY years now. Highlight with mouse...click middle button to paste. VERY well documented. Did you try to look any of this up?
 
Old 05-22-2017, 02:05 PM   #4
ComputerCritic
Member
 
Registered: Mar 2017
Posts: 43

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Again, as with most of your posts, you don't say what you're actually doing. HOW are you copying the text? From what? With what keys? CTRL-C (copy) and CTRL-V (paste) work fine, and have worked that way for well over ten years now in Linux, same as in Windows.

And again...this has worked for MANY years now. Highlight with mouse...click middle button to paste. VERY well documented. Did you try to look any of this up?
I have tried CTRL-V which did nothing, CTRL+SHIFT+V which closed the terminal.
Laptop doesn't have a middle mouse.
 
Old 05-22-2017, 02:11 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,826

Rep: Reputation: 6981Reputation: 6981Reputation: 6981Reputation: 6981Reputation: 6981Reputation: 6981Reputation: 6981Reputation: 6981Reputation: 6981Reputation: 6981Reputation: 6981
Quote:
Originally Posted by ComputerCritic View Post
I have tried CTRL-V which did nothing CTRL+SHIFT+V which closed the terminal.
Again..how did you COPY the text (what keys/mouse/whatever, FROM what did you copy it??)
Quote:
Laptop doesn't have a middle mouse.
...which is emulated by pressing both right and left at the same time. If you're pasting into a terminal, CTRL-V is already taken, and many times (again, you don't tell us what terminal emulator you're using), what's selected won't go into bash. Which is why middle-clicking always works.

AGAIN, as with many of your other posts, you omit a good deal. You don't say what desktop GUI you're using, but all of the things you're talking about can easily be configured to use CTRL-V (or WHATEVER you want).
 
Old 05-22-2017, 02:59 PM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Try Shift + Insert to paste text in the terminal
 
1 members found this post helpful.
Old 05-22-2017, 03:10 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,262
Blog Entries: 10

Rep: Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160
if you copy a newline, it will faithfully paste it into the terminal.
if you copy-paste
exit\n
it will exit.

anyhow, depending on the terminal emulator, various key/mouse shortcuts are in use.
 
  


Reply

Tags
terminal


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pasting text and graphics from email Fixit7 General 6 06-19-2016 03:39 PM
cutting and pasting text on the command line sigint-ninja Linux - Newbie 1 03-26-2016 10:09 PM
[SOLVED] Preserve colors when copy/pasting from terminal it_tyyppi Linux - Desktop 14 05-04-2012 07:21 AM
Problems Copying & Pasting In Word When Word Closes - Ubuntu davidx Linux - Software 3 10-22-2008 08:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration