Scroll to navigation

CNEE(1) General Commands Manual CNEE(1)


cnee - record, replays or distributes X11 data


cnee [options]


The program cnee can record and replay an X session. cnee also has the ability to distribute events to multiple displays. cnee gets copies of X protocol data from the X server. These are either printed to file ( record mode) or replayed and synchronised ( replay mode). During record and replay cnee can distribute the record/replayed events to multiple displays.


Redirect all Xnee verbose output file_name(default is stderr)
Redirect all Xnee data to file_name(default is stdout)
X server to contact (default is localhost)
Record all client's data (default)
Intercept n numbers of data ( n<0 means forever)
Delay start of application for <secs> seconds. Can be used to prevent recording of KeyRelease when starting Xnee from terminal
Set recording mode
Set replaying mode
Distribute recorded or replayed events to LIST where LIST is comma separated list of displays
Record future client's data (default)
Use the plugin name
Enable verbose printout
Use xosd to feedback
Use stderr to feedback
Dont' use feedback
Set device event range to X_LIST
Keep autorepeat during record/replay
Prevent explicit recording of ReparentNotify event


Print only first and last of multiple successive MotionEvent
Intercept all events
Intercept n numbers of events ( n<0 means forever)
Intercept for n seconds ( n<0 means forever)
Resolution to use when recording is set to res
Prints human readable
Store the initial position of the mouse
Set request range to X_LIST
Set reply range to X_LIST
Set delivered event range to X_LIST
Set error range to X_LIST
Set extension request major range to X_LIST
Set extension request minor range to X_LIST
Set extension reply major range to X_LIST
Set extension reply minor range to X_LIST
Record from data display. This option is experimental.
Record from control display. This option is experimental.


Set replaying speed percentage is set to speed
Resolution to use when replaying is set to res
Use resolution adjustment
Synchronise during replay
Don't use synchornisation during replay
Recall the recorded window position to be used during replay
Keep replaying even if we are out of sync .... dangerous
Enable verbose printout of replay buffer
Set the maximum threshold for sync to nr
Set the minimum threshold for sync to tnr
Set the total threshold for sync to nr
Set the replay offset to (x,y)
Maximum times Xnee will try to move a window to the position it was in when recorded


Read data from file file_name (default is stdin)
Print this message
Prints all flags/options xnee accepts
Use project file file_name
Print product information
Types (faking user) the contents of the specified file
Writes settings to a resource file
Prints Xnee settings and waits (for <ENTER>)
Prints X11 event number and name
Prints X11 event number or name coresponding to ev
Prints X11 error number and name
Prints X11 error number or name coresponding to er
Prints X11 reply number and name
Prints X11 request number and name
Prints X11 request number or name coresponding to req
Record the keyboard
Record mouse events
Prints X11 data number and name
Prints Xnee help text in format as used when generating man page
Prints Xnee help text in format as used when generating info page
Type this help message using faked keys (used to test xnee itself)
Let Xnee take you on a demonstration ride
Check syntax of the command line and/or project file (no exec)
Get the event base for Xinput Extension
Disable recording of XInput events
Discard record X Input device data, use recorded core device data
Record and replay a session (press q to stop recording)


Name of a file (e.g /tmp/my_file.xns)
Name of a display (e.g
Seconds (e.g 10)
Integer number (e.g 100)
Comma separated list of display (e.g,
Comma separated list of integers (e.g 12-23,35,45-56)


Records 1000 events (keyboard and mouse) to file /tmp/xnee.xns and dumps the verbose printout to /tmp/xnee.log

Read data from /tmp/xnee.xns, replay it and verbose print to file /tmp/xnee.log


Henrik Sandklef.


Report bugs in the program to


Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Henrik Sandklef. This is free software; see the source for copying conditions. There is NO warranty;not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.




xnee man page, version 3.19


This page describes cnee. Mail corrections and additions to

2007 xnee