功能:接入Linux原生光标并完善设备接入工具
This commit is contained in:
1 parent
a14f028402
commit
a47968496e
92 files changed
+3090
-22
No files matched your search
@@ -183,6 +183,11 @@ build_cmd() {
|
||||
CMD="$CMD --video-codec $CODEC"
|
||||
CMD="$CMD --video-decoder $DECODER"
|
||||
CMD="$CMD --keep-awake"
|
||||
# The kiosk must keep system shortcuts inside the streamed desktop. Without
|
||||
# this, combinations such as Win+Shift+S are handled by the box OS and can
|
||||
# expose its UI over the cloud desktop. Apply this to Windows, Ubuntu and
|
||||
# Kylin sessions alike.
|
||||
CMD="$CMD --capture-system-keys always"
|
||||
[ "$ABSOLUTE_MOUSE" = "1" ] && CMD="$CMD --absolute-mouse"
|
||||
[ "$AUDIO" = "1" ] && CMD="$CMD --audio-on-host" || CMD="$CMD --no-audio-on-host"
|
||||
# 按profile选择同步策略;默认保持当前稳定档。
|
||||
|
||||
@@ -35,4 +35,7 @@ if [ "${1:-}" = stream ] && [ -z "${COLOR_RANGE_OVERRIDE+x}" ]; then
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if [ -f "$HOME/vdi-terminal/bin/vdi-native-cursor" ]; then
|
||||
exec /usr/bin/python3 "$HOME/vdi-terminal/bin/vdi-native-cursor" "$client" "$@"
|
||||
fi
|
||||
exec "$client" "$@"
|
||||
Reference in new issue
Block a user