AirMouse server, for Linux
==========================

  ./airmouse-server

That is the whole of it. If your desktop asks whether AirMouse may control
the pointer and keyboard, click Allow, once. The answer is remembered.

  ./airmouse-server --install    keep it, and start it with your session
  ./airmouse-server --uninstall  remove it again

How input works here
--------------------
AirMouse takes the least-privileged road available, in this order:

  1. /dev/uinput, if your user already has access, no questions at all.
  2. The desktop's own permission dialog (the RemoteDesktop portal), on
     Wayland and on modern X11 desktops. One click, remembered.
  3. XTest, when the session is plain X11, no permission exists to ask for.

None of that needs a terminal. If your desktop has no RemoteDesktop
portal at all, AirMouse offers to set up the kernel device itself, in a
window, and asks for your password the same way a system update does.

The startup banner says which of these it ended up using, every time. If
the cursor does not move, that line is the answer, and so is:

  ./airmouse-server --doctor

which moves the pointer and reports where it actually went.

  ./airmouse-server --grant-uinput   set up the kernel device from a
                                     terminal (headless machines)

The clipboard is the one feature that needs a package from your
distribution: wl-clipboard on Wayland, or xclip on X11.
