Monitor X events

Jeremy C. Reed reed at reedmedia.net
Fri May 27 10:19:17 PDT 2005


On Fri, 27 May 2005, Anthony Romano wrote:

> Sorry if this is the wrong place to ask this..
>
> Is there any small utility that comes with Xorg that can be used to monitor
> real time activity of the X server. That is, I run it from a terminal and as
> I move the mouse or press buttons or what not it prints to the screen. If
> the answer is obvious, I apologize as well, google hasn't been very helpful.
> Thank you!

Run xev.

It can also be attached to other windows too.

Run xwininfo to get the "Window id". And then run xev, like:

  xev -id 0x1800002

Have fun!

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/




More information about the xorg mailing list