Unity 8

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

The convergent desktop environment.

Status

Still being packaged. All required individual packages are packaged but configuration is needed. Here is the latest update page

Installation

The work on Unity 8 hasn't yet been finished yet - no support is provided
pmbootstrap install --add unity8,qt5-qtwayland,consolekit2

Once the device has launched, Unity 8 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 Unity 8:

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

ck-launch-session unity8

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

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.