Results 1 to 3 of 3

Thread: Ctrl + V will not work if I close the application I copied text from

Hybrid View

  1. #1
    Join Date
    Dec 2012
    Beans
    5

    Question Ctrl + V will not work if I close the application I copied text from

    Hello.

    I always have to keep an application open I copied text from to paste the text somewhere. In fact the copied text will be saved to Klipper (if Klipper is on) after it has been copied. But why cannot a simple shortcut Ctrl + V be used to paste the copied text?

    OS: Ubuntu 10.04.4 LTS
    KDE version: 4.4.5
    Last edited by Red Planet; February 12th, 2013 at 10:38 AM.

  2. #2
    Join Date
    Dec 2009
    Location
    germany
    Beans
    1,020
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ctrl + V will not work if I close the application I copied text from

    Quote Originally Posted by Red Planet View Post
    Hello.

    I always have to keep an application open I copied text from to paste the text somewhere. In fact the copied text will be saved to Klipper (if Klipper is on) after it has been copied. But why cannot a simple shortcut Ctrl + V be used to paste the copied text?

    OS: Ubuntu 10.04.4 LTS
    KDE version: 4.4.5
    hi
    because you copied it to the stack of the running process. and if the process is gone - his stack too.
    cheers
    "What is the robbing of a bank compared to the FOUNDING of a bank?" Berthold Brecht

  3. #3
    Join Date
    Jul 2007
    Location
    Poland
    Beans
    4,469
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ctrl + V will not work if I close the application I copied text from

    i use a clipboard manager (parcellite in 10.04) and it works just fine, text is available even after program it was copied from gets closed.

    if you want to check what's in the buffers, install xsel
    Code:
    $ xsel --help
    ...
    Output options
      -o, --output          Write the selection to standard output
    
    ...
    
    Selection options
      -p, --primary         Operate on the PRIMARY selection (default)
      -s, --secondary       Operate on the SECONDARY selection
      -b, --clipboard       Operate on the CLIPBOARD selection
    ...
    Code:
    xsel -po
    xsel -so
    xsel -bo
    primary is used with highlight-copy/middleclick-paste, clipboard with ctrl+c/ctrl+v
    if your question is answered, mark the thread as [SOLVED]. Thx.
    To post code or command output, use [code] tags.
    Check your bash script here // BashFAQ // BashPitfalls

Tags for this Thread

Bookmarks

Posting Permissions

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