Jump to content

Lomiri

From postmarketOS Wiki
Lomiri
motorola-harpia running Lomiri
motorola-harpia running Lomiri
Name Lomiri
Graphics stack Mir on Wayland
Toolkit Qt 5
In postmarketOS
Package postmarketos-ui-lomiri
Status Available

The Lomiri desktop environment originally developed by Canonical and now maintained by the UBports Foundation. Originally, Lomiri usually only worked on Ubuntu Touch using Halium and custom Click apps. On postmarketOS, Lomiri can run using mainline Linux and all the benefits of the Linux app ecosystem.

About

Originally called Unity8, Lomiri was meant to bridge the gap between desktop and mobile computing through the function called convergence. Lomiri originally only used the Mir display server, but now uses a mixture of Wayland and Mir, with XMir handling XWayland.

Installation

Note The work on Lomiri hasn't been finished yet - expect bugs
  • pmbootstrap init
  • Select lomiri in the UI selection.
  • Install like normal.

Troubleshooting

Note Tip: Try checking ~/.local/state/tinydm.log for errors.

Since Lomiri is in such an early state, these tips are very useful for development and porting.

  • To start a Click GUI app through SSH or a terminal:
lomiri-app-launch <app id> [uris]
  • To start a normal GUI app through SSH or a terminal:
export DESKTOP_FILE_HINT=/path/to/.desktop/file/of/launched/application
lomiri-app-launch [app-name]
  • To change brightness using repowerd:
repowerd-brightness-tool
[preset or value]
  • (NOTE: Scaling does not work at all yet.) If the automatic scaling seems off, edit your lomiri-deviceinfo file to change the gridunits value to the value of:
[display ppi] * 0.05236
  • To stop the Wizard from running on first boot
mkdir -p $HOME/.config/lomiri
touch $HOME/.config/lomiri/wizard-has-run

Known Issues

See [1]

See also