From 5664ccbff51c98db034243070032044fd90637b9 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Wed, 11 Jan 2023 15:31:41 -0500 Subject: initial commit --- README.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..8243d3c --- /dev/null +++ b/README.md @@ -0,0 +1,34 @@ +# README for kvm-mapping +This `kvm-mapping` project is designed to make it easy to run a script in my user session when the kvm output goes to this machine. Specifically, I want keyboard mappings restored for easy switching between layouts 'us,us(dvorak)'. + +## Upstream +This project's upstream is at + +## Alternatives +None. Original idea and implementation. + +## Reason for existence +Custom solution for myself that might be useful in alternate ways or as an example of the various concepts. Also, putting this in scm acts as a backup. + +## Using + +* Set up the scripts in `/usr/local/bin`. +* Set up the udev rule in `/etc/udev/rules.d/`. +* Modify `kvm-plugged-in.sh` to run whatever you want. +* Set up your X session to run `kvm-user-daemon.sh` at startup. In ~/.fluxbox/startup this would look like: + + /usr/local/bin/kvm-user-daemon.sh 1>/dev/null 2>&1 & + +Logging of the user daemon happens to ~/log/kvm or ~/.log/kvm, whichever exists or you can set `LOGFILE` before running. + +## Dependencies + +* xinput, setxkbmap, udev, plecho (bgscripts) + +## Building +Not implemented yet; there is nothing to build. Just deploy manually. + +## References + +1. +2. -- cgit