From acae6a291d173fb8d5a6f88820676b8bd55c6a3b Mon Sep 17 00:00:00 2001 From: Alfredo Monclus Date: Sat, 4 Jan 2025 15:16:49 -0300 Subject: [PATCH] chore(docs): update remote methods --- docs/Android.md | 25 +++++++++++++++---------- docs/VNC.md | 47 ++++++++++++++++++++++++++++------------------- 2 files changed, 43 insertions(+), 29 deletions(-) diff --git a/docs/Android.md b/docs/Android.md index ca9367ac..0dfa557a 100644 --- a/docs/Android.md +++ b/docs/Android.md @@ -1,26 +1,31 @@ -# Android +# XServer-XSDL (Android Only) -This article describes how to use KlipperScreen from an Android device +This article describe how to use KlipperScreen from an Android device using XServer-XSDL !!! warning The experience may not be equal to run KlipperScreen natively. Depending on the device or the network you may encounter performance degradation or other issues. +!!! bug + This method may cause [memory-leaks](https://github.com/KlipperScreen/KlipperScreen/issues/862) + + It's recommended that you use [VNC](VNC.md) instead or at least install [earlyoom](https://packages.debian.org/en/stable/earlyoom) + + 1. [First installl KlipperScreen](Installation.md) -2. Install [XServer-XSDL](https://play.google.com/store/apps/details?id=x.org.server) on the Android device - Devices that do not have acces to the play store can grab the apk from the [official sourceforge]( - https://sourceforge.net/projects/libsdl-android/files/apk/XServer-XSDL/). ViewTouch does work too +2. Download the apk of XServer-XSDL or ViewTouch from the [official sourceforge](https://sourceforge.net/projects/libsdl-android/files/apk/XServer-XSDL/). - with older versions of Android you may have to use v1.11.40 + since it's no longer on the play store. -3. Choose [USB (ADB)](#adb) or [WI-FI](#wifi) + With Android 4 you may have to use v1.11.40 + +3. Install the app on the Android device + +4. Choose [USB (ADB)](#adb) or [WI-FI](#wifi) ### ADB -!!! bug - Some [users have found](https://github.com/KlipperScreen/KlipperScreen/issues/862) that using this method may cause memory-leaks - !!! warning Leaving the phone always connected it's not recommended, remove the battery to avoid issues. diff --git a/docs/VNC.md b/docs/VNC.md index 5d57fb8d..1fa0c2cb 100644 --- a/docs/VNC.md +++ b/docs/VNC.md @@ -38,30 +38,15 @@ The host device could be for example a Raspberry Pi sudo systemctl restart KlipperScreen.service ``` -6. On KlipperScreen set the following configuration: - -Turn off DPMS and Display timeout: - -![disable_dpms_poweroff](img/disable_dpms_poweroff.png) - ## On the remote device: -1. Install a VNC viewer and configure it to the ip of the host. +Install a VNC viewer and configure it to the ip of the host. -???+ example "Example using an iPad" +??? example "Example using an iPad" #### Example using an iPad * Install a VNC viewer for example: `RealVNC Viewer: Remote Desktop` - ##### Prevent unwanted rotation of UI: - * Go to `Settings` > `General` > Set `Use side switch to` to `Lock Rotation` - ##### Avoid accidentally switching between apps: - * Go to `Restrictions` > Set passcode > Enable restrictions. - * Open - * Triple-click "Home" button - * Guided access pops up - * Press "Start" - * Now iPad is locked to VNC viewer until "Guided access" mode is disabled by triple-clicking "Home" button and entering the password. - ##### On the VNC viewer: + * Open the VNC viewer app * Press "+" button at the top right * Enter IP address of your print host. * Press "Save" @@ -71,4 +56,28 @@ Turn off DPMS and Display timeout: * VNC client will complain about unencrypted connection. Disable the warning and say "Connect" * Use or skip tutorial * Press the "Pin" icon to hide the panel. - * Enjoy! + ##### Prevent unwanted rotation of UI + * Go to `Settings` > `General` > Set `Use side switch to` to `Lock Rotation` + ##### Avoid accidentally switching between apps + * Go to `Restrictions` > Set passcode > Enable restrictions. + * Open + * Triple-click "Home" button + * Guided access pops up + * Press "Start" + * Now iPad is locked to VNC viewer until "Guided access" mode is disabled by triple-clicking "Home" button and entering the password. + +??? example "Example using an Android device" + #### Example using an Android device + * Install a VNC viewer for example: `RealVNC Viewer: Remote Desktop` + * Open the VNC viewer app + * Press "+" button at the right + * Enter IP address of your print host. + * Press "Save" + * Double-click on an icon with name or IP address you have just added. + * VNC client may complain about unencrypted connection. Disable the warning and say "Connect" + ##### Prevent unwanted rotation of UI + * Lock the rotation using the buttons in the notification bar or in device Settings > Screen > Disable "Rotate automatically" + +It's recommended to turn off DPMS and Display timeout: + +![disable_dpms_poweroff](img/disable_dpms_poweroff.png)