Possible to use Mutter for one program while using Hyprland?

Hello! I’m using the Immersed VR application successfully. On each run of the program, I get the error

Wayland support to your de/compositor is experimental. for a better Wayland experience please consider to use gnome(mutter) or switch to x11

I would be happy to attempt this, but I am still on the steep NixOS syntax learning curve [for a non-developer], and am unsure how to wrap the arguments to try to allow pkgs.immersed to run under mutter (or even x11 I suppose).

I would greatly appreciate any help and would even be happy to fund a coffee or two for some ideas/assistance :smiley:
Thanks in advance,
John Michael

The term you’re looking for is “nested session”. Enable gnome and try 20.04 - How to open gnome-terminal in a nested mutter(wayland) window - Ask Ubuntu perhaps?

2 Likes

I will be more than happy to buy you a coffee or two :D!!! send over the link!!

Thanks to your direction, this command did EXACTLY what I wanted in two lines:

export $(dbus-launch)
dbus-run-session -- mutter --nested --wayland --wayland-display=wayland-nested -- immersed

::EDIT::
or to run multiple commands:

export $(dbus-launch)
dbus-run-session -- mutter --nested --wayland --wayland-display=wayland-nested -- sh -c "immersed && microsoft-edge"