LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to move pointer w/o using mouse in X (https://www.linuxquestions.org/questions/linux-software-2/how-to-move-pointer-w-o-using-mouse-in-x-106828/)

gongli 10-21-2003 03:23 PM

how to move pointer w/o using mouse in X
 
hi

i would like to know if there's a program which i can
use to move the mouse pointer around the screen, without
actually explicitly moving the mouse. for example, something
which i could tell:

bash$ xmovemouseptr +10 +10

should move the pointer 10 pixels right and down (or whatever). i am using fvwm2, if the functionality is
in there that would be great also. i saw there's an
Xlib function called XWarpPointer which does what i want,
but i dont know how to write the code that would go
around the call in a c program, to obtain
the display and whatever else needs to be done.
i would pursue that also if someone knows
a basic wrapper.


thanks
-gong

unSpawn 10-22-2003 07:42 PM

You mean like http://razorback.yi.org/xwarppointer/ or http://hocwp.free.fr/movemouse.html?


All times are GMT -5. The time now is 04:09 AM.