LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-27-2006, 04:34 PM   #1
gr00ve
Member
 
Registered: Jan 2004
Location: varies
Distribution: Blag, Slackware
Posts: 36

Rep: Reputation: 15
shell type vs copy paste


got a fluxbox,
an account which has sh as default
got an xterm

problem being that inside xterm i can copy paste no probs, but if i have any gui app which i want to copy paste from/to it doesn't work (so lets say between xterm and gedit there is no copy paste).
This does work with bash, however it seems a bit heavy and i'd rather not use it for this user's account.

Do you have any particular shell in mind i could try for this?

txs!
 
Old 03-27-2006, 08:57 PM   #2
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,771

Rep: Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070
I don't understand the relationship between which shell you use, and the copy-paste problem

Quote:
This does work with bash
You mean if you use bash in the xterm you can copy-past?? Also, usually sh is just a symlink to bash so they should be the same thing...

Quote:
Do you have any particular shell in mind i could try for this?
Well you can see a list of shells on the shell of the year thread. But like I said the shell you're using shouldn't affect copy-pasting stuff. Maybe you want a different terminal emulator to replace xterm? For that you might try rxvt (basic no-frills), aterm, or eterm (have some fancy options like transparency and stuff)
 
Old 03-27-2006, 09:10 PM   #3
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
To copy/paste from a gui app to a terminal:
1) Highlight what you want to paste then either:
2a) middle-click in the terminal to paste it or
2b) press <Ctrl>+<C> to copy it, and press <Shift>+<Insert> to paste it.

To copy/paste from a terminal to a gui app
1) Using the mouse, highlight what you want to paste
2a) Middle-click where you want to paste that information (no copy needed) or
2b) paste it with <Ctrl>+<V> - note: this doesn't always work - system dependent


On a mouse with 2 buttons and a scroll wheel, typically you can push the wheel down to simulate a middle-click. If this doesn't work, click both buttons at the same time. On a 3-button mouse however, simply use the middle button.

HTH

Edit: just to add: the middle-clicking has worked with every WM/DE and every terminal emulator I've ever used.

Last edited by scuzzman; 03-27-2006 at 09:13 PM.
 
Old 03-29-2006, 04:59 PM   #4
gr00ve
Member
 
Registered: Jan 2004
Location: varies
Distribution: Blag, Slackware
Posts: 36

Original Poster
Rep: Reputation: 15
txs for pointing out that i need to look into term emu that was what got me confused!
 
Old 03-29-2006, 07:01 PM   #5
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
Hilight and middle click for the win!
 
Old 03-30-2006, 02:22 PM   #6
gr00ve
Member
 
Registered: Jan 2004
Location: varies
Distribution: Blag, Slackware
Posts: 36

Original Poster
Rep: Reputation: 15
that only works inside the term, but not between term and the gui app
 
Old 03-30-2006, 04:39 PM   #7
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,771

Rep: Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070Reputation: 2070
Is this all gui apps or just certain ones? I have no problem copying from xterm to firefox to copy error messages into the reply box for instance. However, I did notice that Maple completely ignores the any attempts to copy to it, seems like it maintains its own clipboard.
 
Old 03-30-2006, 05:02 PM   #8
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
I agree, hilight and middle click is a universe X11 trait (well, mostly universal). You can even hilight and middle click between Firefox and xchat for example. Terminal to terminal, terminal to gui, anything works for me (xfce4, although the wm shouldn't really matter). The only place where it wouldn't work that I can think of is different toolkits (such as GTK -> QT), but I haven't tested that.
 
Old 03-31-2006, 02:38 PM   #9
gr00ve
Member
 
Registered: Jan 2004
Location: varies
Distribution: Blag, Slackware
Posts: 36

Original Poster
Rep: Reputation: 15
ghm, i just checked some other apps incl firefox - still nada

this kind of brings another interesting question out: in linux in general is the copy/paste buffer (or which ever the right name is) a common thing, or this is somewhat personal to each app?
txs!
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
copy/paste help abk4523 Linux - Newbie 4 05-31-2005 06:29 AM
how to copy and paste acd copy cd paschim Linux - General 2 04-05-2004 09:25 AM
Copy Paste in shell Zolan Linux - Newbie 1 03-29-2004 10:41 AM
Copy/Paste jcb_dreamvsat Linux - Software 12 06-18-2003 02:23 AM
Copy and Paste? cli_man Linux - General 11 05-16-2003 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:07 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