1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Updated Linux agents for remote desktop unicode support.

This commit is contained in:
Ylian Saint-Hilaire 2020-11-18 21:30:33 -08:00
parent 43e8bcbe4a
commit 00e9b5cd57
19 changed files with 20 additions and 21 deletions

View file

@ -4011,7 +4011,6 @@
//desk.onConsoleMessageChange = function () { console.log('CONSOLEMSG:', desk.consoleMessage); }
desk.m.CompressionLevel = multidesktopsettings.quality;
desk.m.ScalingLevel = multidesktopsettings.scaling;
desk.m.remoteKeyMap = ((node.agent.id < 1) || (node.agent.id > 4)); // Removing remote keyboard map is only supported on windows.
if (multidesktopsettings.framerate) { desk.m.FrameRateTimer = multidesktopsettings.framerate; }
if (multidesktopsettings.swapmouse) { desk.m.SwapMouse = multidesktopsettings.swapmouse; }
//desk.m.onDisplayinfo = deskDisplayInfo;
@ -6958,7 +6957,6 @@
if (desktopsettings.swapmouse) { desktop.m.SwapMouse = desktopsettings.swapmouse; }
desktop.m.onDisplayinfo = deskDisplayInfo;
desktop.m.onScreenSizeChange = deskAdjust;
desktop.m.remoteKeyMap = ((desktopNode.agent.id < 1) || (desktopNode.agent.id > 4)); // Removing remote keyboard map is only supported on windows.
desktop.Start(desktopNode._id);
desktop.latency.callback = function(ms) { console.log('latency', ms); updateSessionTime(); };
desktop.contype = 1;