Results 1 to 5 of 5

Thread: Clear clipboard in Konsole

  1. #1

    Default Clear clipboard in Konsole

    Hi all, I need a command line to clear the clipboard, then who tell me how to do it automatically

  2. #2
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: Clear clipboard in Konsole

    To clear clipboard:
    Code:
    qdbus org.kde.klipper /klipper clearClipboardHistory
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,396

    Default Re: Clear clipboard in Konsole

    Quote Originally Posted by motutus View Post
    Hi all, I need a command line to clear the clipboard, then who tell me how to do it automatically
    Seeing syampillai's signature, his answer is for openSUSE 12.3 and KDE 4.10.5. It is also reasonable to expect that it works for other version combinations not to to far away from these. But, please mototus, allways mention which version of openSUSE you use, and when other products (like KDE here) are involved in your question, also identify their version. Do not let your potential helpers guess in the wild. And you could get a not applicabale answer also.
    Henk van Velden

  4. #4
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: Clear clipboard in Konsole

    Yes, for older KDE versions, you may have to use dcop.
    Code:
    dcop klipper klipper clearClipboardHistory
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

  5. #5

    Default Re: Clear clipboard in Konsole

    Quote Originally Posted by syampillai View Post
    To clear clipboard:
    Code:
    qdbus org.kde.klipper /klipper clearClipboardHistory
    great, thanx

Tags for this Thread

Posting Permissions

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