Difference between revisions of "Lomiri"

From postmarketOS
Jump to navigation Jump to search
(Switch to new branch)
(Update wiki page)
Line 15: Line 15:
 
{{note|The work on Lomiri hasn't yet been finished yet - no support is provided}}
 
{{note|The work on Lomiri hasn't yet been finished yet - no support is provided}}
  
<source lang="shell-session">
+
Choose <code>lomiri</code> in <code>pmbootstrap init</code> and install normally.
$ pmbootstrap install --add postmarketos-ui-lomiri
 
</source>
 
  
Once the device has launched, Lomiri can be started with the following (as root):
+
Once the device has launched, Lomiri can be started with the following:
  
 
<source lang="bash">
 
<source lang="bash">
 
# Run this (at least) once:
 
# Run this (at least) once:
mkdir -p $HOME/.config/lomiri-system-settings
+
mkdir -p $HOME/.config/lomiri
touch $HOME/.config/lomiri-system-settings/wizard-has-run
+
touch $HOME/.config/lomiri/wizard-has-run
# Don't forget to set a password (passwd)!
 
 
</source>
 
</source>
  
Line 43: Line 40:
 
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
 
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
 
export MIR_MESA_KMS_DISABLE_MODESET_PROBE=1 # probably only needed in QEMU
 
export MIR_MESA_KMS_DISABLE_MODESET_PROBE=1 # probably only needed in QEMU
 +
export MIR_SERVER_ENABLE_MIRCLIENT=1
  
 
dbus-run-session lomiri
 
dbus-run-session lomiri
Line 48: Line 46:
  
 
Auto-login would require lightdm to be set up or something
 
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.
 

Revision as of 22:17, 3 August 2021

Lomiri
[[|200px|alt=P]]
P
Name Lomiri
Graphics stack Mir on Wayland
Toolkit Qt 5
In postmarketOS
Package postmarketos-ui-lomiri
Status Available

The convergent desktop environment.

Status

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

Installation

Note The work on Lomiri hasn't yet been finished yet - no support is provided

Choose lomiri in pmbootstrap init and install normally.

Once the device has launched, Lomiri can be started with the following:

# Run this (at least) once:
mkdir -p $HOME/.config/lomiri
touch $HOME/.config/lomiri/wizard-has-run
# 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
export MIR_SERVER_ENABLE_MIRCLIENT=1

dbus-run-session lomiri

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