mandusr20071 Posted April 27, 2008 Report Share Posted April 27, 2008 (edited) Is there a way to access the clipboard in Mandriva similar to /dev/clipboard in cygwin? Middle click in Firefox sends the clipboard data to Google, so this is not a minor issue. I would like to have a program (daemon?) clear the clipboard data when I start firefox. I have had this problem for a while in Mandriva. I am running Mandriva 2007.1. Any help is appreciated. TIA Edited May 16, 2008 by mandusr20071 Quote Link to comment Share on other sites More sharing options...
coverup Posted April 27, 2008 Report Share Posted April 27, 2008 if you are using KDE, you can clear clipboard history using Klipper. From my personal experience, the clipboard support in X apps such as emacs, and proprietary apps, such as Adobe Reader is often hit and miss. It has improved in 2008, but still far from being perfect. Quote Link to comment Share on other sites More sharing options...
Guest OniLink Posted April 28, 2008 Report Share Posted April 28, 2008 you can use klipper, then access to clipboard data with the dcop interface, for example, using the command dcop dcop klipper klipper getClipboardContents , dcop klipper klipper setClipboardContents "some text" to set the clipboard data, dcop klipper klipper clearClipboardHistory to clear items, etc. browse dcop with kdcop you can also sync the two buffers, clipboard (pressing ctrl+c) and selection (selecting some text) to merging into one by configuring klipper Quote Link to comment Share on other sites More sharing options...
mandusr20071 Posted May 6, 2008 Author Report Share Posted May 6, 2008 (edited) you can use klipper, then access to clipboard data with the dcop interface, for example, using the command dcop Thanks for the reply. I tried it, and it works well as far as it goes. However, I have a low memory machine, and I am not running KDE. I would like a program that does not load all the KDE infrastructure. Further, clearing the contents of the clipboard using the klipper command only makes it unavailable to klipper. Middle click still has the data available, which is the original problem I was hoping to solve. Edited May 6, 2008 by mandusr20071 Quote Link to comment Share on other sites More sharing options...
coverup Posted May 6, 2008 Report Share Posted May 6, 2008 I can see text in the kdcop-> klipper-> getClipboardContent. However, when I copy an image in Adobe Reader, the window pops up saying that the image has been copied to the clipboard, but I cannot find that image anywhere... Where does it go? Quote Link to comment Share on other sites More sharing options...
medo3891 Posted May 11, 2008 Report Share Posted May 11, 2008 You want to get rid of the function that makes firefox loads whatever text that was highlighted or copied to the clipbaord? in firefox type in the location bar: about:config .... search for middlemouse.contentLoadURL and double click it to make its value false instead of true. Now the middle click won't load the text in the clipboard. Quote Link to comment Share on other sites More sharing options...
mandusr20071 Posted May 16, 2008 Author Report Share Posted May 16, 2008 Thanks for the reply. That works in Firefox. Quote Link to comment Share on other sites More sharing options...
medo3891 Posted May 17, 2008 Report Share Posted May 17, 2008 Glad it worked. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.