diff --git a/README.md b/README.md index 0a6d87e..6976a74 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,7 @@ If you want to use certificate files, due to standard snap confinement restricti #### Running noVNC from snap as a service (daemon) The snap package also has the capability to run a 'novnc' service which can be configured to listen on multiple ports connecting to multiple VNC servers -(effectively a service runing multiple instances of novnc). +(effectively a service running multiple instances of novnc). Instructions (with example values): List current services (out-of-box this will be blank): diff --git a/core/util/browser.js b/core/util/browser.js index 2c36676..fc1b77f 100644 --- a/core/util/browser.js +++ b/core/util/browser.js @@ -13,7 +13,7 @@ import Base64 from '../base64.js'; // Touch detection export let isTouchDevice = ('ontouchstart' in document.documentElement) || - // requried for Chrome debugger + // required for Chrome debugger (document.ontouchstart !== undefined) || // required for MS Surface (navigator.maxTouchPoints > 0) || diff --git a/snap/local/svc_wrapper.sh b/snap/local/svc_wrapper.sh index 77db539..5c6650a 100755 --- a/snap/local/svc_wrapper.sh +++ b/snap/local/svc_wrapper.sh @@ -11,7 +11,7 @@ # "vnc": "localhost:5902" #} #} -snapctl get services | jq -c '.[]' | while read service; do # for each service the user sepcified.. +snapctl get services | jq -c '.[]' | while read service; do # for each service the user specified.. # get the important data for the service (listen port, VNC host:port) listen_port="$(echo $service | jq --raw-output '.listen')" vnc_host_port="$(echo $service | jq --raw-output '.vnc')" # --raw-output removes any quotation marks from the output