Skip to content

LordOS — a free, fast and secure GNU/Linux distribution based on Debian, with its own desktop environment: display server and Wayland compositor in C, a React UI engine on QuickJS, and private native apps.

Remote desktop: the top bar shows the frames a second this browser shows even when the session doesn't report its encoder (an older session)

Federico Pereirab32401464dce
diff --git a/server/src/remote/client.html b/server/src/remote/client.html
index 4cc053f..beba79c 100644
--- a/server/src/remote/client.html
+++ b/server/src/remote/client.html
@@ -252,7 +252,7 @@ function setMode() {
if (!vmode) { $('mode').textContent = ''; $('mode').title = ''; return; }
const parts = [T.video, codec.toUpperCase() + (vinfo ? ' ' + (vinfo.hw ? T.hwEnc : T.swEnc) : '')];
if (rd.path) parts.push(rd.path.toUpperCase());
- if (vinfo) parts.push(`${shownFps}/${vinfo.fps} fps`);
+ parts.push(vinfo ? `${shownFps}/${vinfo.fps} fps` : `${shownFps} fps`); // shown by this browser / encoded
if (screenHz) parts.push(`${screenHz} Hz`);
if (vinfo) parts.push(vinfo.gpu ? 'GPU' : 'CPU');
$('mode').textContent = parts.join(' · ');