Jump to content

Maui Shell

From postmarketOS Wiki
(Redirected from Maui-shell)
Maui Shell
Maui Shell screenshot
Maui Shell screenshot
Name Maui Shell
Graphics stack X11/Wayland
Toolkit MauiKit + Qt5
In postmarketOS
Package N/A
Status Unavailable

Maui Shell is an experimental convergent UI written in Qt. It isn't quite ready for use yet but it can be tested in postmarketOS using the maui feature branch of pmaports: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/maui.

Check out the feature branch, change your UI to Maui with pmbootstrap config ui maui and then do a standard install. You may need to manually set the session to Maui with tinydm-set-session -s -f /usr/share/wayland-sessions/cask.desktop (cask is the name of the Maui compositor).

You should then be able to start Maui by starting the tinydm service.

Scaling

Scaling for Qt apps can be overridden by editing /usr/share/wayland-sessions/cask.desktop and prepending to the Exec line (change 2 to your preferred scale factor):

Exec=env QT_QPA_PLATFORM=eglfs QT_SCALE_FACTOR=2 QT_AUTO_SCREEN_SCALE_FACTOR=0 /usr/bin/....

Debugging

You may want to pipe the output of cask somewhere so that you can read it, by default it should log to /tmp/cask.log but this doesn't seem to work as intended, you can try editing /usr/share/applications/cask.desktop and changing its Exec to something like

Exec=sh -c '/usr/bin/cask -r -plugin libinput 2>&1 > /tmp/cask.log'
Note The above is entirely untested and probably requires some tweaking.

See also