/
README
50 lines (34 loc) · 1.03 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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