Skip to content
Edith

Docs

Command reference

ed machines thermal set

ed machines thermal set <machine> <profile> changes the Linux platform profile or Windows power scheme. With no duration it stays selected until another choice is applied.

Output
ed machines thermal set <machine> <profile> [--minutes <count>] [--json]
Name Type / values Default What it does
<machine> machine name, SSH alias, UUID or unambiguous prefix required Which machine to change.
<profile> an exact choice reported by the machine required Profile to apply. Names are case-sensitive.
--minutes integer from 0 through 10080 0 Revert after this many minutes. Zero keeps the profile until changed.
--json flag off Emit one result object on stdout.
Terminal
ed machines thermal set devbox performanceed machines devbox thermal set performance --minutes 30ed machines thermal set devbox balanced --json

--minutes <count> schedules a reversion to the profile that was active before the first temporary change. It accepts 0 through 10080 minutes. Zero means until changed. The app offers 15 minutes, 30 minutes, 1 hour, 2 hours and until changed.

Before writing anything, the command reads the machine's choices and refuses a profile that is not in that list. A permanent change cancels a pending timed reversion. A second temporary change replaces the timer while preserving the original destination.

JSON returns machine, profile, temporary and minutes:

JSON
{  "machine": "Devbox",  "minutes": 30,  "profile": "performance",  "temporary": true}

The command first performs the same 15-second read as status, then gives the write 30 seconds. --minutes outside the accepted range exits 2 before the machine is resolved. An unknown profile exits 3 and lists the machine's valid choices. An unknown or ambiguous machine also exits 3. An unreachable machine or missing readable platform profile support exits 4.

After validation, any remote write failure exits 1. On Linux this includes a refused sudo password, missing write privilege, or systemd-run failure. Windows uses powercfg and a hidden user-owned PowerShell process for timed reversion. A later profile change cancels the prior Windows reversion process.

Back to ed machines thermal or all CLI commands.