A reference Miriway configuration

Background

Miriway is a starting point for creating a Wayland based desktop environment using Mir.

To make it useful it is necessary to add such things as a launcher, background, panels and other things useful in a graphical shell.

This post is simply to maintain a reference miriway-shell.config that supports a way of working. It doesn’t describe building, installing or configuring Miriway (that can be found in the project documentation).

The reference Miriway config

x11-window-title=Miriway
idle-timeout=600
app-env-amend=XDG_SESSION_TYPE=wayland:GDK_USE_PORTAL=none:XDG_CURRENT_DESKTOP=Miriway:GTK_A11Y=none
shell-component=sh -c "dbus-update-activation-environment DISPLAY=$DISPLAY WAYLAND_DISPLAY=$WAYLAND_DISPLAY XDG_SESSION_TYPE=$XDG_SESSION_TYPE XDG_CURRENT_DESKTOP=$XDG_CURRENT_DESKTOP"

shell-component=swaybg -i /usr/share/backgrounds/warty-final-ubuntu.png
shell-component=mate-panel

shell-meta=a:synapse
ctrl-alt=t:kgx

Dependencies

This uses some components that are not installed by default:

sudo apt install swaybg mate-panel synapse kgx

Use

This configuration provides the following shortcuts:

Shortcut Action
shell-meta=a:synapse Meta-A launches a run dialog
ctrl-alt=t:kgx Ctrl-Alt-T launches a terminal

Notes

  1. Mate panel complains of missing widgets on first launch
  2. Some of the Mate panel options don’t work
1 Like

Notes on options

swaybg works and I’ve not looked at alternatives.

mate-panel is a bit flaky but it does have an application launch widget. I’ve been using waybar myself, but have recently found yambar which seems to work very nicely, but the version in 23.04 lacks features

synapse works. So does wofi --show drun --location top_left. There’s a problem with mate-panel --run-dialog as it sets DISPLAY=$WAYLAND_DISPLAY and the messes up X11 apps. (mate-panel --run-dialog --display=$DISPLAY works but runs as an X11 client)

kgx seems the nicest terminal, but xfce4-terminal, qterminal, mate-terminal, etc all seem to work. (gnome-terminal can be a PITA because it runs a server)

1 Like