aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-04-28 09:00:17 +0000
committerterminaldweller <thabogre@gmail.com>2022-04-28 09:00:17 +0000
commit178e31dade9f1acb07c2e01a9556b924f0106467 (patch)
tree0488af970fdbf112017244f995548b124dbd6502
parentupdate (diff)
downloadscripts-178e31dade9f1acb07c2e01a9556b924f0106467.tar.gz
scripts-178e31dade9f1acb07c2e01a9556b924f0106467.zip
zoom in ubuntu chroot
-rwxr-xr-xchroot/ubuntu2204.sh2
-rwxr-xr-xchroot/zoom_wrapper6
-rw-r--r--keymap.kbd2
3 files changed, 8 insertions, 2 deletions
diff --git a/chroot/ubuntu2204.sh b/chroot/ubuntu2204.sh
index 8721218..0d9c125 100755
--- a/chroot/ubuntu2204.sh
+++ b/chroot/ubuntu2204.sh
@@ -7,4 +7,4 @@ sudo mount -t sysfs sys $CHROOT_DIR/sys/
# sudo mount -o bind /tmp $CHROOT_DIR/tmp/
# sudo mount -o bind /dev $CHROOT_DIR/dev/
sudo mount -t devpts none "$CHROOT_DIR/dev/pts" -o ptmxmode=0666,newinstance
-sudo chroot $CHROOT_DIR
+sudo xchroot $CHROOT_DIR
diff --git a/chroot/zoom_wrapper b/chroot/zoom_wrapper
new file mode 100755
index 0000000..1905318
--- /dev/null
+++ b/chroot/zoom_wrapper
@@ -0,0 +1,6 @@
+#!/bin/sh
+# host needs to have xhost enabled,i.e.:
+# xhost +
+# enable anyone to use pulseaudio over tcp:
+# load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.1.0/24 auth-anonymous=1
+env DISPLAY=:0.0 PULSE_SERVER=127.0.0.1 zoom --disable-gpu-sandbox
diff --git a/keymap.kbd b/keymap.kbd
index e8444b5..a27f7a0 100644
--- a/keymap.kbd
+++ b/keymap.kbd
@@ -17,7 +17,7 @@
)
-------------------------------------------------------------------------- |#
(defcfg
- input (device-file "/dev/input/by-id/usb-DATACOMP_SteelS쀁̄Љ̒DATA-event-kbd")
+ input (device-file "/dev/input/by-id/usb-Razer_Razer_Huntsman_Tournament_Edition_00000000001A-event-kbd")
output (uinput-sink "KMonad output")
cmp-seq lalt