Skip to content

mwp Power and screen management

Jonathan Hudson edited this page Jun 5, 2022 · 4 revisions

Power and screen management

Unmaintained Article Please check the manual for more up-to-date information.

There are a number of ways of managing the screen (inhibit screen saver etc.)

  • Use an external screen-saver manager such as caffeine

  • Use the legacy mwp settings options, for example:

org.mwptools.planner atexit 'gsettings set org.gnome.settings-daemon.plugins.power idle-dim true'
org.mwptools.planner atstart 'gsettings set org.gnome.settings-daemon.plugins.power idle-dim false'
  • From commit 87ab063 (2021-04-04), allow mwp to manage screen and power settings, controlled by a setting:
gsettings set org.mwptools.planner manage-power true

In the first two cases, the setting is somewhat coarse, either requiring the user to click on something and applying to the whole mwp session.

The final case applies only when mwp is receiving push telemetry (LTM, Mavlink, MQTT). Inhibiting IDLE and SUSPEND is performed using the GTK inhibit() API and will thus work with most window managers.

Clone this wiki locally