Lomiri

From postmarketOS
Jump to: navigation, search
Lomiri
[[|200px|alt=P]]
P
Name Lomiri
Graphics stack Mir on Wayland
Toolkit Qt 5

The convergent desktop environment.

Status

Lomiri (formerly known as Unity 8) is available in the pmaports branch feature/unity8_arches. See pmaports#357 and pmaports#190 for details.

Installation

The work on Lomiri hasn't yet been finished yet - no support is provided
pmbootstrap install --add postmarketos-ui-lomiri

Once the device has launched, Lomiri can be started with the following (as root):

# Run this (at least) once:
mkdir -p $HOME/.config/ubuntu-system-settings
touch $HOME/.config/ubuntu-system-settings/wizard-has-run
# Don't forget to set a password (passwd)!
# Run this for starting Lomiri:

export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir
if ! test -d "${XDG_RUNTIME_DIR}"; then
    mkdir "${XDG_RUNTIME_DIR}"
    chmod 0700 "${XDG_RUNTIME_DIR}"
fi

export LD_LIBRARY_PATH=/usr/lib/qt5/plugins/platforms
export MIR_SERVER_CURSOR=null
export QT_QPA_PLATFORM=mirserver
export G_MESSAGES_DEBUG=all
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export MIR_MESA_KMS_DISABLE_MODESET_PROBE=1 # probably only needed in QEMU

dbus-run-session unity8

Auto-login would require lightdm to be set up or something

FAQ

Q: Should it be possible to launch unity8 as non-root user?

A: In principle, yes. The lightdm integration can be used to negotiate DRM master.