From 343ab5681eab7348e90c1bf7dfb9d754a14957fb Mon Sep 17 00:00:00 2001 From: 21pages Date: Wed, 5 Jun 2024 12:56:46 +0800 Subject: [PATCH] floating window advanced settings Signed-off-by: 21pages --- .../advanced-settings/_index.en.md | 42 +++++++++++ .../advanced-settings/_index.zh-cn.md | 70 +++++++++++++++++++ .../rustdesk-server-pro/faq/_index.de.md | 2 +- .../rustdesk-server-pro/faq/_index.en.md | 2 +- 4 files changed, 114 insertions(+), 2 deletions(-) diff --git a/content/self-host/client-configuration/advanced-settings/_index.en.md b/content/self-host/client-configuration/advanced-settings/_index.en.md index 8f7ff9f..f14f13c 100644 --- a/content/self-host/client-configuration/advanced-settings/_index.en.md +++ b/content/self-host/client-configuration/advanced-settings/_index.en.md @@ -912,3 +912,45 @@ Automatic elevation on run for Windows portable, https://github.com/rustdesk/rus | Option | Install required | Values | Default | Example | | :------: | :------: | :------: | :------: | :------: | | pre-elevate-service | N | Y, N | N | `pre-elevate-service=Y` | + + +### disable-floating-window + +When the Android service starts, it will display a floating window, which helps prevent the system from killing the RustDesk service. + +| Values | Default | Example | +| :------: | :------: | :------: | +| Y, N | N | `disable-floating-window=Y` | + +### floating-window-size + +When the Android service starts, it will display a floating window, which helps prevent the system from killing the RustDesk service. When the size is less than 120, the floating window will be difficult to be clicked. A very small size may not be able to keep the background service on some devices. + +| Values | Default | Example | +| :------: | :------: | :------: | +| [32, 320] | 120 | `floating-window-size=120` | + +### floating-window-untouchable + +By default, clicking on the floating window will pop up a menu. After setting it to 'untouchable', clicking or swiping will pass through the floating window and be transmitted to the underlying window. After being set to 'untouchable', the position of the floating window cannot be changed, and the system may automatically set the floating window to be semi-transparent. However, this feature may not work in a small number of applications, such as the GitHub app. + +| Values | Default | Example | +| :------: | :------: | :------: | +| Y, N | N | `disable-floating-untouchable=Y` | + +### floating-window-transparency + +Android floating windows have adjustable transparency. If you want to enable but hide the floating window, you can set the transparency to 0, the floating window will be automatically set to 'untouchable' in order to pass through click events. + +| Values | Default | Example | +| :------: | :------: | :------: | +| [0, 10] | 10 | `floating-window-transparency=5` | + +### floating-window-svg + +If an icon is not set for the Android floating window, it will default to displaying the RustDesk icon. +When setting, please write the text content of svg into one line, and pay attention to [the svg support limitations](https://bigbadaboom.github.io/androidsvg/index.html) + +| Default | Example | +| :------: | :------: | +| RustDesk icon | `floating-window-svg=` | \ No newline at end of file diff --git a/content/self-host/client-configuration/advanced-settings/_index.zh-cn.md b/content/self-host/client-configuration/advanced-settings/_index.zh-cn.md index 6c8c4d2..775e8b8 100644 --- a/content/self-host/client-configuration/advanced-settings/_index.zh-cn.md +++ b/content/self-host/client-configuration/advanced-settings/_index.zh-cn.md @@ -884,3 +884,73 @@ ar, bg, ca, cs, da, de, el, en, eo, es, et, fa, fr, he, hr, hu, id, it, ja, ko, | N | auto, vp8, vp9, av1, h264, h265 | auto | `codec-preference=auto` | **注意**: "vp8" 和 "vp9" 以外的选项可能不起作用。 这取决于您的机器支持什么。 + +### preset-address-book-name & preset-address-book-tag + +预设地址簿名称和标签, https://github.com/rustdesk/rustdesk-server-pro/issues/257. +仅当您不想设置标签时,才可以设置预设地址簿名称。 +请在 Web 控制台的地址簿页面上使用有效的地址簿名称和标签。 + +| 选项 | 是否需要安装 | 可设值 | 默认值 | 示例 | +| :------: | :------: | :------: | :------: | :------: | +| preset-address-book-name | N | | | `preset-address-book-name=
` | +| preset-address-book-tag | N | | | `preset-address-book-tag=
` | + + +### disable-group-panel + +在 RustDesk 客户端上禁用组面板(地址簿面板旁边), https://github.com/rustdesk/rustdesk-server-pro/issues/250 + +| 是否需要安装 | 可设值 | 默认值 | 示例 | +| :------: | :------: | :------: | :------: | +| N | Y, N | N | `disable-group-panel=Y` | + +### pre-elevate-service + +Windows 非安装版运行时自动提升, https://github.com/rustdesk/rustdesk-server-pro/issues/252 + +| 是否需要安装 | 可设值 | 默认值 | 示例 | +| :------: | :------: | :------: | :------: | +| N | Y, N | N | `pre-elevate-service=Y` | + + +### disable-floating-window + +当Android服务启动时, 它会显示一个悬浮窗, 这有助于防止系统杀死RustDesk服务。 + +| 可设值 | 默认值 | 示例 | +| :------: | :------: | :------: | +| Y, N | N | `disable-floating-window=Y` | + +### floating-window-size + +当Android服务启动时, 它会显示一个浮动窗口, 这有助于防止系统杀死RustDesk服务。当尺寸小于120时, 浮动窗口将难以点击。设置成非常小的size时, 在有些设备上可能起不到保持后台服务的作用。 + +| 可设值 | 默认值 | 示例 | +| :------: | :------: | :------: | +| [32, 320] | 120 | `floating-window-size=120` | + +### floating-window-untouchable + +默认情况下, 点击浮动窗口会弹出菜单。但是将其设置为'不可触摸'状态后, 点击或滑动操作将穿透浮动窗口, 传递给下层窗口。当浮动窗口被设置为'不可触摸'状态后, 浮动窗口的位置不能再改变, 系统可能会自动将其设置为半透明。然而, 这个功能在少数应用程序中可能无法生效, 比如 GitHub 应用程序。 + +| 可设值 | 默认值 | 示例 | +| :------: | :------: | :------: | +| Y, N | N | `disable-floating-untouchable=Y` | + +### floating-window-transparency + +Android 浮动窗口具有可调整的透明度。如果您想启用但隐藏浮动窗口, 可以将透明度设置为0, 此时浮动窗口将自动设置为'不可触摸'状态,以便能够通过点击事件进行交互操作。 + +| 可设值 | 默认值 | 示例 | +| :------: | :------: | :------: | +| [0, 10] | 10 | `floating-window-transparency=5` | + +### floating-window-svg + +如果没有为 Android 浮动窗口设置图标, 它将默认显示 RustDesk 图标。 +设置时请将svg的文本内容写到一行里,并注意[svg支持限制](https://bigbadaboom.github.io/androidsvg/index.html)。 + +| 默认值 | 示例 | +| :------: | :------: | +| RustDesk icon | `floating-window-svg=` | \ No newline at end of file diff --git a/content/self-host/rustdesk-server-pro/faq/_index.de.md b/content/self-host/rustdesk-server-pro/faq/_index.de.md index b649928..5558a6d 100644 --- a/content/self-host/rustdesk-server-pro/faq/_index.de.md +++ b/content/self-host/rustdesk-server-pro/faq/_index.de.md @@ -182,7 +182,7 @@ Führen Sie `nginx -h` aus, um zu überprüfen, ob es erfolgreich installiert wu * Method 2: Using `python3-certbot-nginx` instead. eg: `sudo apt-get install python3-certbot-nginx` for ubuntu * Method 3: If the above two methods failed, try install `certbot-nginx`, eg: `sudo yum install certbot-nginx` for centos 7 -Run `certbot -h` to check whether it has been installed successfully.. +Run `certbot -h` to check whether it has been installed successfully. #### 4. Nginx einrichten Es gibt zwei Möglichkeiten: diff --git a/content/self-host/rustdesk-server-pro/faq/_index.en.md b/content/self-host/rustdesk-server-pro/faq/_index.en.md index 50a5604..fc7577c 100644 --- a/content/self-host/rustdesk-server-pro/faq/_index.en.md +++ b/content/self-host/rustdesk-server-pro/faq/_index.en.md @@ -182,7 +182,7 @@ Run `nginx -h` to check whether it has been installed successfully. * Method 2: Using `python3-certbot-nginx` instead. e.g. `sudo apt-get install python3-certbot-nginx` for ubuntu * Method 3: If the above two methods failed, try install `certbot-nginx`, e.g. `sudo yum install certbot-nginx` for centos 7 -Run `certbot -h` to check whether it has been installed successfully.. +Run `certbot -h` to check whether it has been installed successfully. #### 4. Config Nginx There are two ways: