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

Since it isn't yet finished, there is no UI meta package for it yet and it can not be selected in pmbootstrap. It can however be installed manually for now.

pmbootstrap config ui none # Assuming the pmbootstrap init step has already been done, otherwise just select "none" as user interface
pmbootstrap install --add unity8

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

# == You only have to run this once ==
# "unity7-schemas"
wget -O /usr/share/glib-2.0/schemas/com.canonical.Unity.gschema.xml https://pastebin.com/raw/y2hMw9qq
glib-compile-schemas /usr/share/glib-2.0/schemas

mkdir -p $HOME/.config/ubuntu-system-settings
touch $HOME/.config/ubuntu-system-settings/wizard-has-run

# set a password (passwd)!

# == You have to run this e.g. after rebooting
if test -z "${XDG_RUNTIME_DIR}"; then
  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
fi

export DBUS_SESSION_BUS_ADDRESS=unix:path=/var/run/dbus/system_bus_socket

env LD_LIBRARY_PATH=/usr/lib/qt5/plugins/platforms MIR_SERVER_CURSOR=null QT_QPA_PLATFORM=mirserver G_MESSAGES_DEBUG=all unity8