Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: How to remove clipboard service (Klipper)?

  1. #1

    Default How to remove clipboard service (Klipper)?

    How can I disable and/or remove the clipboard service (Klipper, I think)?

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,764

    Default Re: How to remove clipboard service (Klipper)?

    Why would you want to??? That is one of the neatest things in Linux.

    Oh well if you must right click some were under the icon select systemtray settings and disable it there.

  3. #3
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,728
    Blog Entries
    2

    Default Re: How to remove clipboard service (Klipper)?

    There's a file called klipper.desktop in two places:

    /etc/xgd/autostart/klipper.desktop
    and
    /usr/share/applications/org.kde.klipper.desktop

    I would temporarily move them out of those spots and see what happens.
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  4. #4
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,728
    Blog Entries
    2

    Default Re: How to remove clipboard service (Klipper)?

    Actually, I just saw gogalthorp's post. That's a lot less drastic.
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  5. #5

    Default Re: How to remove clipboard service (Klipper)?

    Quote Originally Posted by gogalthorp View Post
    Why would you want to??? That is one of the neatest things in Linux.

    Oh well if you must right click some were under the icon select systemtray settings and disable it there.

    Done, but does this completely removes the stuff, or just hide it from system tray?


    The reason I want to disable/remove it is that some of the data kept there are sensitive information, with some being passwords copied from password-storages meant to be quickly removed. Klipper keeps them for quite some time, and there's also the concern that they may not stored or removed securely. I prefer some temporary clipboard. Or am I wrong? Please let me know. I appreciate it.

  6. #6

    Default Re: How to remove clipboard service (Klipper)?

    Quote Originally Posted by swerdna View Post
    There's a file called klipper.desktop in two places:

    /etc/xgd/autostart/klipper.desktop
    and
    /usr/share/applications/org.kde.klipper.desktop

    I would temporarily move them out of those spots and see what happens.
    That won't have any effect.
    Those .desktop files are from the standalone klipper application (which isn't run by default anyway), but there's also the system tray plasmoid/widget which is enabled by default.

    Quote Originally Posted by galom View Post
    Done, but does this completely removes the stuff, or just hide it from system tray?
    The klipper service won't be started at all if you disable it in the system tray settings (unless you run the klipper application manually).

    It won't uninstall it though, if that's what you mean.


    The reason I want to disable/remove it is that some of the data kept there are sensitive information, with some being passwords copied from password-storages meant to be quickly removed. Klipper keeps them for quite some time, and there's also the concern that they may not stored or removed securely. I prefer some temporary clipboard. Or am I wrong? Please let me know. I appreciate it.
    Yes, the clipboard contents are stored in klipper's config file (in plain text).
    There is an option to clear the history though.

  7. #7
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,764

    Default Re: How to remove clipboard service (Klipper)?

    Pretty sure the klipper is built into KDE and "removing" it may remove a good junk of the plasma desktop. Disabling it should Totally disable it

  8. #8

    Default Re: How to remove clipboard service (Klipper)?

    Quote Originally Posted by gogalthorp View Post
    Pretty sure the klipper is built into KDE and "removing" it may remove a good junk of the plasma desktop.
    No, it is not "built in".
    But it is part of the plasma5-workspace package, uninstalling that will indeed remove the Plasma desktop completely.

    Disabling it should Totally disable it
    Yes.
    You need to logout/in (or reboot) though for full effect.

  9. #9
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,299

    Default Re: How to remove clipboard service (Klipper)?

    Quote Originally Posted by wolfi323 View Post
    Yes, the clipboard contents are stored in klipper's config file (in plain text).
    There is an option to clear the history though.
    There was a bug a while ago https://bugs.kde.org/show_bug.cgi?id=381988 where klipper was placing contents of the clipboard to the system log, journal, and xorg-session.log

    The bug report indicates it's fixed... not filtered through to current TW though, as I just found this snippet (amongst others) in xorg-session.log

    Code:
    log_klipper: Checking clip data
    log_klipper: Synchronize? false
    DBusMenu disabled for this application
    log_klipper: Checking clip data
    log_klipper: Synchronize? false
    DBusMenu disabled for this application
    log_klipper: Setting selection to < "On all other platforms, such as Linux and Android, Qt's built-in CLDR-based facilities are always used. " >
    log_klipper: Setting clipboard to < "On all other platforms, such as Linux and Android, Qt's built-in CLDR-based facilities are always used. " >
    DBusMenu disabled for this application
    log_klipper: Setting selection to < "https://wiki.qt.io/Locale_Support_in_Qt_5" >
    log_klipper: Setting clipboard to < "https://wiki.qt.io/Locale_Support_in_Qt_5" >
    DBusMenu disabled for this application
    log_klipper: Setting selection to < "On all other platforms, such as Linux and Android, Qt's built-in CLDR-based facilities are always used. " >
    log_klipper: Setting clipboard to < "On all other platforms, such as Linux and Android, Qt's built-in CLDR-based facilities are always used. " >
    DBusMenu disabled for this application
    shell did not close, sending SIGHUP
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 38221, resource id: 58720292, major code: 18 (ChangeProperty), minor code: 0
    QXcbConnection: XCB error: 3 (BadWindow), sequence: 38225, resource id: 31457474, major code: 18 (ChangeProperty), minor code: 0
    log_klipper: Checking clip data
    log_klipper: Synchronize? false
    DBusMenu disabled for this application
    log_klipper: Checking clip data
    log_klipper: Synchronize? false
    ... which shows previously pasted text from the clipboard.
    Regards, Paul

    2x Tumbleweed (Snapshot: 20191118) KDE Plasma 5
    2x Leap 15.1 KDE Plasma 5

  10. #10

    Default Re: How to remove clipboard service (Klipper)?

    Quote Originally Posted by tannington View Post
    There was a bug a while ago https://bugs.kde.org/show_bug.cgi?id=381988 where klipper was placing contents of the clipboard to the system log, journal, and xorg-session.log

    The bug report indicates it's fixed... not filtered through to current TW though, as I just found this snippet (amongst others) in xorg-session.log
    Yes, because that fix has only been committed to the master branch, not 5.10.
    So it will be in 5.11.0.

    You can disable the debug output via kdebugsettings though if you want.

    Also, I wouldn't consider this as a security (or privacy) issue, as klipper saves the same data anyway (that's its purpose after all), and every running application can get it from the clipboard/X11 and do with it whatever it wants.
    (and disabling klipper will of course also disable this debug output)

    There was a similar but probably more severe bug in kdelibs4 a while ago, it logged every key press because a developer forgot to remove some debug output...
    https://bugzilla.opensuse.org/show_bug.cgi?id=942810
    Last edited by wolfi323; 08-Sep-2017 at 07:59.

Page 1 of 2 12 LastLast

Posting Permissions

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