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

xpointer-1.0.py

Install

  1. Install python-xlib. (ex: $ aptitude install python-xlib)
  2. Edit shebang line of this command. (ex: #!/usr/bin/python , #!/usr/local/bin/python)
  3. Add the execution permission to this command. (ex: $ chmod +x xpointer-X.X.py
  4. Copy this command to bindir. (ex: $ cp xpointer-X.X.py ~/bin/xpointer)