So this is a very new project, I hope you find it useful. I didn't know what to put here, so I just translated tha man page.
If you just want to download xsendevt click on this link download



xsendevt

Section: User Commands (1)
Updated: Wed 19 Apr 2006

 

NAME

xsendevt - X Send Event  

SYNOPSIS

xsendevt [options] text  

DESCRIPTION

xsendevt is a small console program to send different events to the window currently in focus. Events such as keyboard press/release, mouse button press/release and mouse motion.

It allows for an arbitrary number of mouse buttons (as many as your X server handles). Mouse motion can be specified relative to the current cursor position, or in absolute coordinates. The key press/release events can be send using the symbolic name of they keys as specified in keysymdef.h, or by the keycode as captured by programs such as xev.

 

OPTIONS

-h,--help
Print the help message
-mk,--multikey
Insert release event after all press events have been sent.
-tw,--typewriter (default)
Insert a release event after each press event.
-m,--manual
Do not send any event not specified on the command line.
-v,--verbose
Show each event sent on the terminal.
 

EXIT STATUS

xsendevt returns zero exit satatus if it succeeds parsing and sending all events to the server. Non zero is returned in case of failure.  

EXAMPLES

Send classic Ctrl+Alt+Left to switch workspace
xsendevt -mk [Ctrl_L][Alt_L][Left]

Lock the screen (in gnome) Ctrl+Alt+L
xsendevt -mk [Ctrl_L][Alt_L][L]

Unlock the screen by typing password followed by enter
xsendevt -tw [Escape][p][a][s][s][w][o][r][d][Return]
 

FILES

/usr/include/X11/keysymdef.h X11 KeySym definitions  

AUTHOR

Alejandro Cornejo <acornejo1@users.sourceforge.net>  

HOMEPAGE

http://xsendevt.sourceforge.net  

SEE ALSO

xbindkeys(1), xev(1), xmodmap(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXIT STATUS
EXAMPLES
FILES
AUTHOR
HOMEPAGE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 03:36:36 GMT, April 20, 2006