xdeskv1.0.0
ReferenceRéférence

SettingsRéglages

Every key of config.json with its type, default and range, read from the Settings struct of the sources.Toutes les clés de config.json avec leur type, valeur par défaut et plage, lues depuis la struct Settings des sources.

~/.config/xdesk/config.json (Windows: %LOCALAPPDATA%\xdesk), written by the settings page of the panels (version v1.0.0, generated from include/xdesk/core/Config.hpp). A value out of its range is brought back into it when the file is read.

~/.config/xdesk/config.json (Windows : %LOCALAPPDATA%\xdesk), écrit par la page des réglages des panneaux (version v1.0.0, généré depuis include/xdesk/core/Config.hpp, descriptions du programme, en anglais). Une valeur hors de sa plage y est ramenée à la lecture du fichier.

1. NetworkRéseau

KeyTypeDefaultRangeMeaning
portint47800-https + wss port
bindstring0.0.0.0-listening address ("::" for IPv6)
exposurestringlan-how the host is reachable
publicHoststring--Manual: public address / domain shown to the clients
discoverybooltrue-udp broadcast on the LAN (xdesk scan)
udpbooltrue-video of the native viewers (and the android app) over encrypted udp on the same port (tcp when it does not get through)
lanesbooltrue-web viewers: extra websockets for the video while one connection holds it back (lossy far paths)
CléTypeDéfautPlageSens
portint47800-https + wss port
bindstring0.0.0.0-listening address ("::" for IPv6)
exposurestringlan-how the host is reachable
publicHoststring--Manual: public address / domain shown to the clients
discoverybooltrue-udp broadcast on the LAN (xdesk scan)
udpbooltrue-video of the native viewers (and the android app) over encrypted udp on the same port (tcp when it does not get through)
lanesbooltrue-web viewers: extra websockets for the video while one connection holds it back (lossy far paths)

2. AccessAccès

KeyTypeDefaultRangeMeaning
codeLengthint96 - 24characters of the pairing code (Crockford base32, 5 bits each)
codeLifetimeint300-seconds before the code rotates (0 = only after use)
approvalstringuntrusted-local confirmation of the connections
maxSessionsint81 - 64simultaneous sessions
maxAuthFailuresint51 - 100failed codes of one address before its ban
idleTimeoutint0-seconds without input before a kick (0 = never)
allowControlbooltrue-keyboard / mouse of the clients
allowTerminalbooltrue-remote terminals
allowWebbooltrue-browsers and the android app
viewOnlyDefaultboolfalse-new sessions start in view only mode
banOnTamperbooltrue-automatic bans (a session caught touching xdesk, an unclean stop during a remote session, too many wrong codes); off = kicked / refused only
focusRequestbooltrue-a viewer paused by the focus of the host panel may ask its control back
focusRequestDelayint605 - 3600seconds before that request is granted (time to refuse / unplug)
shellstring--shell of the remote terminals (empty = $SHELL / cmd.exe)
CléTypeDéfautPlageSens
codeLengthint96 - 24characters of the pairing code (Crockford base32, 5 bits each)
codeLifetimeint300-seconds before the code rotates (0 = only after use)
approvalstringuntrusted-local confirmation of the connections
maxSessionsint81 - 64simultaneous sessions
maxAuthFailuresint51 - 100failed codes of one address before its ban
idleTimeoutint0-seconds without input before a kick (0 = never)
allowControlbooltrue-keyboard / mouse of the clients
allowTerminalbooltrue-remote terminals
allowWebbooltrue-browsers and the android app
viewOnlyDefaultboolfalse-new sessions start in view only mode
banOnTamperbooltrue-automatic bans (a session caught touching xdesk, an unclean stop during a remote session, too many wrong codes); off = kicked / refused only
focusRequestbooltrue-a viewer paused by the focus of the host panel may ask its control back
focusRequestDelayint605 - 3600seconds before that request is granted (time to refuse / unplug)
shellstring--shell of the remote terminals (empty = $SHELL / cmd.exe)

3. StreamFlux

KeyTypeDefaultRangeMeaning
fpsint601 - 120frames per second cap
qualityint701 - 100jpeg quality (1 - 100)
scalenumber1.00.25 - 1.0scale of the frames sent (0.25 - 1.0)
maxHeightint00 - 4320frames at most this tall, the width follows (0 = the screen size): 1080, 720, 480...
autoResolutionbooltrue-a viewer whose link cannot follow even at the lowest quality gets a lower resolution, raised again once the link is calm
h264booltrue-the large moves go as H.264 video (openh264) to the viewers that decode it while their link is the bottleneck
CléTypeDéfautPlageSens
fpsint601 - 120frames per second cap
qualityint701 - 100jpeg quality (1 - 100)
scalenumber1.00.25 - 1.0scale of the frames sent (0.25 - 1.0)
maxHeightint00 - 4320frames at most this tall, the width follows (0 = the screen size): 1080, 720, 480...
autoResolutionbooltrue-a viewer whose link cannot follow even at the lowest quality gets a lower resolution, raised again once the link is calm
h264booltrue-the large moves go as H.264 video (openh264) to the viewers that decode it while their link is the bottleneck

4. InterfaceInterface

KeyTypeDefaultRangeMeaning
themestringsystem-system | dark | light
languagestringen-en | fr
startMinimizedboolfalse-tray only at start (gui)
CléTypeDéfautPlageSens
themestringsystem-system | dark | light
languagestringen-en | fr
startMinimizedboolfalse-tray only at start (gui)