Skip to content
Sniff the clipboard of a Unix X server.
C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile.am
Makefile.in
README
aclocal.m4
clipsniff.cc
config.h.in
configure
configure.ac
depcomp
install-sh
missing

README

clipsniff/README

 ClipSniff

   By Thomas Habets <thomas@habets.pp.se>

 http://www.habets.pp.se/synscan/
 http://github.com/ThomasHabets/clipsniff
 git clone git://github.com/ThomasHabets/clipsniff.git


Introduction
------------
Sniff clipboard of an X session and store it into a sqlite3 database.

Or just show what's there right now.


Dependencies
------------
X development libraries.
SQLite3

Debian: apt-get install libx11-dev libsqlite3-dev


Installing
----------
./configure
make
make install

Create output file:

$ sqlite3 foo.db
sqlite> CREATE TABLE clipboard(
          ts datetime not null,
          owner text not null,
          name text not null,
          data text not null);


Helpful links when coding Xlib
------------------------------
* http://www.gelato.unsw.edu.au/IA64wiki/XGetWindowProperty
* http://www.sbin.org/doc/Xlib/
* http://www.jwz.org/doc/x-cut-and-paste.html

----------------------------------------------------------------------------
Send questions/suggestions/patches/rants/money/ciscos to thomas@habets.pp.se
You can’t perform that action at this time.