Recently Written · git

xinput-persistence

xinput for mouse or keyboard configurations that work when disconnected or on boot.

git clone https://github.com/equwal/xinput-persistence

Log | Files | Refs


commit c953b221c1b862b6eb099a67dd9e512ca2750218
Spenser Truex <spensertruexonline@gmail.com>
2019-04-22 16:22:38 -0700

Documentation

 README.org | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.org b/README.org
index c796e76..0cfc527 100644
--- a/README.org
+++ b/README.org
@@ -35,8 +35,8 @@ UDEV  [2607.521415] add      /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.2/0
 Now that you have those, modify commands.conf from my personal choices:
 
 #+BEGIN_SRC sh
-monitor.pl -n 'device name #1' -d 'usb or other part of the path' -c1 'xinput ' <id inserted here> -c2 ' rest of command'
-monitor.pl -n 'device name #2' -d 'usb or other part of the path' -c1 'no-id-required command'
+monitor.pl -a 'add' -n 'device name #1' -d 'usb or other part of the path' -c1 'xinput ' <id inserted here> -c2 ' rest of command'
+monitor.pl -a 'add' -n 'device name #2' -d 'usb or other part of the path' -c1 'no-id-required command'
 #+END_SRC
 
 Perl will insert the ID of the xinput device if -c2 is specified, and it will be
@@ -45,7 +45,7 @@ can omit -c2.
 
 Finally, install it
 #+BEGIN_SRC sh
-~/xinput-persistence# ./install.sh
+~/xinput-persistence# ./install.pl
 #+END_SRC
 You can have as many devices as required, just add a new monitor.pl command to
 the file.  The program will fork each one. There is no need to reinstall when