Find the answer to your Linux question:
Results 1 to 7 of 7
Does anyone know what I need to do in order to copy and paste lines from konsole in KDE? For example, when I highlight a line and just paste in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319

    copy and paste konsole


    Does anyone know what I need to do in order to copy and paste lines from konsole in KDE? For example, when I highlight a line and just paste in an editor like kate, the copied line pastes ltself. However, when I try to paste it onto a form such as this one here, it doesn't work. When I was using KDE3.0.5, it was working beautifully but ever since I degraded to KDE2.2, it's only pasting to KDE applications.
    The best things in life are free.

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    You don't close the konsole window before you paste, right?

  3. #3
    Just Joined!
    Join Date
    Apr 2003
    Posts
    25
    i am having the same problem. and yep i leave the window open.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319

    yep

    I keep the konsole open. It just lets me paste onto KDE applications only. I was able to paste things into Mozilla in v3.0.5. Maybe it's a KDE version enhancement. Then again, I'm thinking whatever you copy is saved into a cache under X instead of the cache of KDE.
    The best things in life are free.

  6. #5
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Yes, that is what normal programs do. Sorry, but I use KDE very seldomly, so I can't really speak for it, especially not older versions. But I do know that most applications use the X clipboard.
    There is a simple method to see if they do: Copy something, then start an emacs and run M-x clipboard-yank RET.

  7. #6
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319

    Xclipboard

    Dolda:
    Well, I do have Xclipboard and after reading some online docs about copying and pasting under x, theoretically whatever you highlight gets copied. So if I highlight something in the konsole, it's supposed to get copied. When I view the xclipboard, nothing is there. However, if I copy something in a web browser, I'd need to highlight and then press ctrl-c or use the mouse option to copy. Once that's done, then the copied text appears in the Xclipboard. So once again, I take it this must be a problem within KDE2.2.

    ou_phidelt:
    What KDE version do you run?
    The best things in life are free.

  8. #7
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    I think that thing about selecting text to copy it mostly applies to Xt widgets. Qt (KDE uses Qt, right?) widgets probably require you to perform some special copy command, like Ctrl+C.
    Anyway, I guess the best (or only, mayhap?) way to find out is to simply download the source for Qt and check it out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •