From b59810f8e8cb1301327051b0d0122456e8df67ec Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Mon, 19 Dec 2022 17:51:31 -0500 Subject: [PATCH] Add and config Veency VNC server --- ipads.yml | 10 +++++++++- readme.org | 8 +++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/ipads.yml b/ipads.yml index c15b28d..bd030bf 100644 --- a/ipads.yml +++ b/ipads.yml @@ -12,7 +12,7 @@ - name: Update apt sources command: apt-get update - name: Install packages - command: apt-get install -y --force-yes net.angelxwind.mikoto libactivator be.rud0lf77.maximization + command: apt-get install -y --force-yes net.angelxwind.mikoto libactivator be.rud0lf77.maximization com.ericasadun.utilities veency - name: Copy webclip become: false template: @@ -23,5 +23,13 @@ copy: src: reservations_display.webclip/icon.png dest: /var/mobile/Library/WebClips/reservations_display.webclip/ + - name: Create/update Veency plist + become: false + shell: | + VEENCY_PLIST=/var/mobile/Library/Preferences/com.saurik.Veency.plist + [ -f $VEENCY_PLIST ] || plutil -create $VEENCY_PLIST + plutil -binary $VEENCY_PLIST + plutil -key Password -string {{ lookup('passwordstore', 'servers/cms/vnc@ipads') | d(omit) }} $VEENCY_PLIST + plutil -key ShowCursor -false $VEENCY_PLIST - name: Respring command: killall SpringBoard diff --git a/readme.org b/readme.org index 8ea0819..81c14db 100644 --- a/readme.org +++ b/readme.org @@ -49,7 +49,7 @@ - =Monocle= (=com.rpetrich.monocle=) works on iPad 2/3, but not iPad 1 ** Editing preferences - - can use plutil from http://repo.bingner.com/ to convert from/to binary plist + - can use =plutil= from =com.ericasadun.utilities= - to restart the preferences daemon after editing a plist: #+begin_src bash launchctl kickstart -k system/com.apple.cfprefsd.xpc.daemon @@ -71,6 +71,12 @@ - can be escaped via =killall SpringBoard= or rebooting - more notes: https://www.theiphonewiki.com/wiki/Smart_Sign +** VNC via Veency + - config in =/var/mobile/Library/Preferences/com.saurik.Veency.plist= + - iPad must be restarted to apply + - rotated and offset on ipad 2 and 3: clicks are about 1 app icon offset to the left, and maybe a bit up + - ex. to launch Tool Reservations webapp, click just to the top right of Safari (or whatever app is left of it) + ** Let's Encrypt certificates - Can install cert PEM via gui, probably too much of a pain to automate it - profile installed as =/User/Library/ConfigurationProfiles/.stub=