From 4696aa1fed214fe1084d7c3deecaaa289bc0a1fd Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Mon, 31 Oct 2022 21:53:15 -0400 Subject: Update OBS, renamepublish and edit --- README.org | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'README.org') diff --git a/README.org b/README.org index 5e1a87c..31a24af 100644 --- a/README.org +++ b/README.org @@ -10,7 +10,8 @@ Docker: needs docker-vars.yml, see docker-vars.yml.sample 1. Install ansible on your local machine and check out this repo. 2. Copy the ansible_vars block from conf.org to prod-vars.yml in this repo (alongside inventory.yml), or set emacsconf-ansible-directory in Emacs and then use emacsconf-ansible-tangle-vars to tangle the file. -3. Find the ansible-playbook command you want to run and try it out. +3. scp orga@res.emacsconf.org:~/authorized_keys . (if you're setting up any user accounts) +4. Find the ansible-playbook command you want to run and try it out. * Wiki ** Ikiwiki @@ -186,17 +187,11 @@ ffmpeg -y -i handwritten/reencode.webm -t 60 -vcodec copy -acodec copy test.webm nodemon -w . -e yml -x 'ansible-playbook -i inventory.yml prod-playbook.yml --tags vnc; true' * OBS -sudo su - orga -c vncserver -ssh -L 15902:127.0.0.1:5902 res - Resizing VNC after connection xrandr -s 1280x720 -pacmd load-module module-null-sink sink_name=DevelopmentSink sink_properties=device.description="DevelopmentSink" - -pavucontrol -vncserver -kill :1 -vncserver -kill :2 - Firefox profiles like to be created in an X environment firefox -no-remote -CreateProfile "{{ emacsconf_id }}-{{ item.item.id }} + +Update scenes from the dev copy: +ssh emacsconf-dev@res.emacsconf.org "cat ~/.config/obs-studio/basic/scenes/dev.json" | jq 'walk(if type == "string" then gsub("emacsconf"; "{{ emacsconf_id }}") | gsub("dev"; "{{ item.id }}") else . end)' > scenes.json -- cgit v1.2.3