![]() |
Clear X clipboard contents
I want to write a small C program to clear the X clipboard contents (or set it to "" or something). I've been looking at the xset code but I can't make out what actually sets the contents. Can someone help me out?
|
Hmm, why are you asking again a question someone already answered to you ?
http://www.linuxquestions.org/questi...d.php?t=521332 If the problem is C++ and QT, have a look at xclip http://people.debian.org/~kims/xclip/ |
I'm asking again because those programs are nice but kind of overkill for what I want. I don't need super clipboard managing capabilities, I just want something to clear it.
|
I'd suggest you to run "xclip -i /dev/null" under a debugger, step by step, and keep only the functions and instructions used.
|
| All times are GMT -5. The time now is 10:46 PM. |