aboutsummaryrefslogtreecommitdiff
path: root/marsond.rst
diff options
context:
space:
mode:
Diffstat (limited to 'marsond.rst')
-rw-r--r--marsond.rst19
1 files changed, 15 insertions, 4 deletions
diff --git a/marsond.rst b/marsond.rst
index ee36b42..8f79bf3 100644
--- a/marsond.rst
+++ b/marsond.rst
@@ -57,10 +57,21 @@ does, with SDL 1 and 2 running under X (and SDL 1 on the console,
too). I don't use Wayland, so I haven't tested it there. If you do,
please contact me and let me know if it works for you.
-**marsond** must be run as root. After grabbing the keyboard
-and creating the virtual keyboard device, it will drop
-privileges and run as the *nobody* user by default (but
-see **ENVIRONMENT** if you need a different user).
+**marsond** must be run as root. At startup, it does these
+things as root:
+
+- Grab the physical keyboard.
+
+- Create the virtual keyboard device.
+
+- Lock its pages into physical memory, to avoid being swapped out.
+
+- Set its priority (nice value) to -20 (highest priority), to
+ avoid slow response on a loaded system.
+
+After doing the above, root access is no longer needed, so it will
+drop privileges and run as the *nobody* user by default (but see
+**ENVIRONMENT** if you need a different user).
While **marsond** is running, "xinput --list" will show an input
device called "marson virtual keyboard".