Skip to content

fix(linux): spawn the real Host and return live sysfs/proc sensors - #185

Merged
SSC-STUDIO merged 3 commits into
masterfrom
cursor/linux-host-sensors-6fe9
Aug 23, 2026
Merged

fix(linux): spawn the real Host and return live sysfs/proc sensors#185
SSC-STUDIO merged 3 commits into
masterfrom
cursor/linux-host-sensors-6fe9

Conversation

@SSC-STUDIO

Copy link
Copy Markdown
Owner

Summary

  • Linux was empty because Electron never built or found the Host (ensure-host exited on non-Windows; resolveHostPath only looked at net10.0-windows / publish/linux-*), and PortableCore treated the device as incompatible with every feature unsupported.
  • Linux now starts the real Host and reads live /proc and sysfs (CPU from /proc/stat, memory from /proc/meminfo, hwmon/thermal, power_supply, DRM/nvidia-smi/rocm-smi when present). No invented gauges and no fake Legion model.
  • Features stay unsupported only when there is no Linux backend (Lenovo EC, RGB, network acceleration, Windows optimization, etc.). powerMode / battery conservation are supported when powerprofilesctl/tuned-adm or charge_control_end_threshold exists.

Verification

  • dotnet build UniversalDeviceToolkit.sln --configuration Release
  • dotnet test UniversalDeviceToolkit.Tests/UniversalDeviceToolkit.Tests.csproj --framework net10.0-windows
  • CHANGELOG.md updated for user-visible changes

Plugin Changes (if applicable)

  • N/A (official plugins remain Windows-shaped)

Notes

Open in Web Open in Cursor 

cursoragent and others added 3 commits August 22, 2026 10:51
Mica/acrylic CSS punched title bar and nav transparent, but Electron
ignores DWM backgroundMaterial on Linux and leaves an opaque #202020
window. Follow-system light mode then showed white cards on a dark
shell. Force data-backdrop=none on Linux.

Co-authored-by: Chen Runsen <SSC-STUDIO@users.noreply.github.com>
Keep Linux chrome from punching through to the BrowserWindow color,
but do not force data-backdrop=none. Light mica/acrylic now paints
the Win11-style sage sidebar from existing mica alphas over #f6f6f6;
dark theme stays opaque #202020 fills.

Co-authored-by: Chen Runsen <SSC-STUDIO@users.noreply.github.com>
Electron on Linux skipped ensure-host and only looked under publish/linux-*,
so the UI never launched UniversalDeviceToolkit.Host. Build and resolve the
portable net10.0 Host, and read CPU/memory/thermal/hwmon/power_supply from
the OS without LibreHardwareMonitor or invented utilization.

Co-authored-by: Chen Runsen <SSC-STUDIO@users.noreply.github.com>
@SSC-STUDIO
SSC-STUDIO merged commit 2ea0ece into master Aug 23, 2026
18 of 21 checks passed
@SSC-STUDIO
SSC-STUDIO deleted the cursor/linux-host-sensors-6fe9 branch August 23, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants