CNEE(1)
πΈ NAME πΈ
okay so bestie, welcome to CNEE(1) β a General Commands Manual page, no big deal π
cnee β record, replays or distributes X11 data β¨
π SYNOPSIS π
cnee [options]
π DESCRIPTION π
so like, the program cnee can record and replay an X session, and it also has the ability to distribute events to multiple displays. it's giving main character energy fr fr.
cnee gets copies of X protocol data from the X server π. those copies are either printed to file (that's record mode) or replayed and synchronised (that's replay mode). and get this β during record and replay, cnee can distribute the record/replayed events to multiple displays π¦. multitasking icon.
β¨ GENERAL OPTIONS β¨
--err-file,-e <file>β redirect all Xnee verbose output to file_name (default isstderr) π--out-file,-o <file>β redirect all Xnee data to file_name (default isstdout) π--display,-d <displayname>β the X server to contact (default islocalhost)--all-clients,-acβ record all client's data (this is the default, periodt)--data-to-record,-dtr <n>β intercept n numbers of data (if n<0 that means forever βΎοΈ)--time,-t <secs>β delay start of application for secs seconds. can be used to prevent recording ofKeyReleasewhen starting Xnee from terminal π--record,-recβ set recording mode π΄--replay,-repβ set replaying mode βΆοΈ--distribute,-di <LIST>β distribute recorded or replayed events to LIST, where LIST is a comma separated list of displays π‘--future-clients,-fcβ record future client's data (default, bestie)--plugin,-p <nameβ use the plugin name π§©--verbose,-vβ enable verbose printout π£οΈ--feedback-xosd,-fxβ use xosd to feedback--feedback-stderr,-fsβ use stderr to feedback--feedback-none,-fnβ don't use feedback (shhh π€«)--device-event-range,-devera <X_LIST>β set device event range to X_LIST--keep-autorepeat,-kaβ keep autorepeat during record/replay π--no-reparent-recording,-nrrβ prevent explicit recording ofReparentNotifyevent
π΄ RECORD OPTIONS π΄
--first-lastβ print only first and last of multiple successiveMotionEvent--all-eventsβ intercept all events--events-to-record,-etr <n>β intercept n numbers of events (if n<0 that means forever βΎοΈ)--seconds-to-record,-str <n>β intercept for n seconds (if n<0 that means forever βΎοΈ)--recorded-resolution <res>β resolution to use when recording is set to res--human-printout,-hpβ prints human readable π§--store-mouse-position,-smpβ store the initial position of the mouse π--request-range,-reqra <X_LIST>β set request range to X_LIST--reply-range,-repra <X_LIST>β set reply range to X_LIST--delivered-event-range,-devra <X_LIST>β set delivered event range to X_LIST--error-range,-erra <X_LIST>β set error range to X_LIST--extension-request-major-range,-erqmar <X_LIST>β set extension request major range to X_LIST--extension-request-minor-range,-erqmir <X_LIST>β set extension request minor range to X_LIST--extension-reply-major-range,-erpmar <X_LIST>β set extension reply major range to X_LIST--extension-reply-minor-range,-erpmir <X_LIST>β set extension reply minor range to X_LIST--record-from-data-display,-rfddβ record from data display. > this option is experimental π§ͺ--record-from-control-display,-rfcdβ record from control display. > this option is experimental π§ͺ
βΆοΈ REPLAY OPTIONS βΆοΈ
--speed-percent,-sp <speed>β set replaying speed percentage is set to speed--replay-resolution <res>β resolution to use when replaying is set to res--resolution-adjustmentβ use resolution adjustment--synchronised-replayβ synchronise during replay πͺ--no-synchronise,-nsβ don't use synchornisation during replay--recall-window-position,-rwpβ recall the recorded window position to be used during replay πͺ--force-replay,-fpβ keep replaying even if we are out of sync .... dangerous π (bestie, seriously, it says dangerous)--buffer-verbose,-bvβ enable verbose printout of replay buffer--max-threshold,-mat <nr>β set the maximum threshold for sync to nr--min-threshold,-mit <nr>β set the minimum threshold for sync to tnr--tot-threshold,-tot <nr>β set the total threshold for sync to nr--replay-offset,-ro <x,y>β set the replay offset to (x,y)--max-window-moves,-mwmβ maximum times Xnee will try to move a window to the position it was in when recorded
π CNEE OPTIONS π
--file,-f <file_name>β read data from file file_name (default isstdin)--help,-hβ print this message π--flagsβ prints all flags/options xnee accepts π©--project,-pr <file_name>β use project file file_name--version,-Vβ print product information--retype-file <file>β types (faking user) the contents of the specified file β¨οΈ--write-settings <file>β writes settings to a resource file--print-settings,-psβ prints Xnee settings and waits (for<ENTER>) βΈοΈ--print-event-names,-pensβ prints X11 event number and name--print-event-name,-pen <ev>β prints X11 event number or name coresponding to ev--print-error-names,-pernsβ prints X11 error number and name--print-error-name,-pern <er>β prints X11 error number or name coresponding to er--print-reply-names,-prenβ prints X11 reply number and name--print-request-names,-prnsβ prints X11 request number and name--print-request-name,-prn <req>β prints X11 request number or name coresponding to req--keyboardβ record the keyboard β¨οΈ--mouseβ record mouse events π--print-data-names,-pdnβ prints X11 data number and name--manpageβ prints Xnee help text in format as used when generating man page π--texipageβ prints Xnee help text in format as used when generating info page π--type-helpβ type this help message using faked keys (used to test xnee itself) πͺ--demonstration,-demoβ let Xnee take you on a demonstration ride π’--check-syntax,-csβ check syntax of the command line and/or project file (no exec) β--get-xinput-event-base,-gxebβ get the event base for Xinput Extension--disable-xinput-events,-dxeβ disable recording of XInput events π«--replay-backend,-rbβ<backend>--force-core-replay,-fcrβ discard record X Input device data, use recorded core device data--record-replay,-rrβ record and replay a session (pressqto stop recording) π¬
π COMMENTS π
here's the lil glossary of what all those placeholders mean, bestie π«Ά
file_nameβ name of a file (e.g/tmp/my_file.xns)display_nameβ name of a display (e.g192.168.1.12:0secsβ seconds (e.g10)nβ integer number (e.g100)LISTβ comma separated list of display (e.g192.168.1.12:0,129.12.23.0:0)X_LISTβ comma separated list of integers (e.g12-23,35,45-56)
π EXAMPLES π
cnee --record --events-to-record 1000 --mouse --keyboard -o
/tmp/xnee.xns -e /tmp/xnee.log -v
records 1000 events (keyboard and mouse) to file /tmp/xnee.xns and dumps the verbose printout to /tmp/xnee.log π₯
cnee --replay -f /tmp/xnee.xns -v -e /tmp/xnee.log -ns
read data from /tmp/xnee.xns, replay it and verbose print to file /tmp/xnee.log β¨
for more examples, read the Xnee manual π
π«Ά AUTHOR π«Ά
Henrik Sandklef.
π REPORTING BUGS π
report bugs in the program to bug-xnee@gnu.org.
π COPYRIGHT π
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.
β SEE ALSO β
cnee(info), xnee(info), xev(1)
π VERSION π
xnee man page, version 3.19
π¦ NOTES π¦
this page describes cnee. mail corrections and additions to bug-xnee@gnu.org
and that's the whole page bestie π this one's from the xnee source, dated 2007, and it lives in section CNEE(1) β iconic, no cap πΈβ¨π
π¦ where this page comes from
- debian bookworm: cnee 3.19-9
- debian trixie: cnee 3.19-9.2
- ubuntu jammy: cnee 3.19-8
- ubuntu noble: cnee 3.19-9.1ubuntu2
- ubuntu questing: cnee 3.19-9.2
- ubuntu resolute: cnee 3.19-9.4
- ubuntu stonking: cnee 3.19-9.5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms