Docs Displays and laptops All pages

Displays and laptops

Displays

Each screen keeps its own resolution, scale and rotation, wherever it's plugged in. Arrangements are remembered per set of connected screens, so docking and undocking a laptop puts things back the way you left them.

  • Display size: how big text and everything else looks. Each screen starts at a size chosen from its dimensions (a 15" 1080p laptop screen at 100%, a 15" 1440p one at 125%). To change it, open Setup › Display size in the menu (SUPER+Space) or run lunarc display size. Pick Smaller, Default or Larger. The new size is applied straight away; keep it, or it goes back after 10 seconds. lunarc display scale 125% (or smaller, larger, default) sets it directly.
  • Setup › Displays in the menu (SUPER+Space), or lunarc display edit: pick a screen, then resolution, scale, position (right of, left of, above, below another) or rotation.
  • lunarc display list shows what's connected; lunarc display set DP-1 2560x1440@144 1.25 right-of eDP-1 changes a screen in one go (- keeps a value).
  • lunarc display save docked names the current arrangement; it's applied again whenever exactly those screens are connected. lunarc display profiles, apply <name>, forget <name>.
  • lunarc display off internal / on internal turns the built-in screen off or on.
  • lunarc display auto off stops automatic rearranging when screens are plugged in.
  • At scales like 1.25 or 1.5, older (X11) apps can look slightly soft; lunarc display xwayland sharp makes them sharp but smaller.

Laptop power

  • Lid closed with an external monitor: the laptop's screen turns off and you keep working on the external one. With no external monitor, closing the lid sleeps (and locks).
  • Battery charge limit: lunarc power charge-limit on stops charging early, which keeps the battery healthier if the laptop is plugged in most of the time; off charges to 100%. There are two kinds of battery, and lunarc power charge-limit says which one you have:

    • Charge limit: N%. You choose the level: on is 80%, or give a number from 50 to 100.
    • Battery care: on/off. The firmware decides the level (about 60–80%), as on Lenovo laptops. Only on and off apply; a number turns battery care on.

    Some laptops support neither; the command says so.

  • Low battery: a warning at 20%, a persistent alert at 10%, and a last one at 5% (at 2% the laptop hibernates if hibernation is on, otherwise it shuts down).
  • Hibernate: lunarc power hibernate enable (encrypted installs only, since the hibernation image is a copy of everything in memory). Then Power › Hibernate in the menu, or lunarc power hibernate now.
  • lunarc power status shows all of this at a glance.

Performance mode. By default a laptop's own screen runs at its usual refresh rate to save battery, even when it can go faster. lunarc power mode auto gives it its fastest refresh rate and the performance power profile while plugged in, and goes back to normal on battery (it switches within about 15 seconds of plugging in or out); lunarc power mode performance keeps them on even on battery, and lunarc power mode battery is the default. Also in SUPER+Space › Setup.

From the Lunarc manual: getting-started.md