xpointer (python script)
About
This command moves X pointer or displays the present location of X pointer.
System requirements
This is python script.
It depends on python-xlib.
Usage
$ xpointer
648 353
$ xpointer 100 200
$ xpointer -x 100 -y 200
$ xpointer -h
Usage: xpointer [options] [X] [Y]
If coordinates are not given, present coordinates are displayed.
Options:
-h, --help show this help message and exit
-x X
-y Y
Download
Install
- Install python-xlib. (ex: $ aptitude install python-xlib)
- Edit shebang line of this command. (ex: #!/usr/bin/python , #!/usr/local/bin/python)
- Add the execution permission to this command. (ex: $ chmod +x xpointer-X.X.py
- Copy this command to bindir. (ex: $ cp xpointer-X.X.py ~/bin/xpointer)





