And down the rabbit hole I went:
git clone https://invent.kde.org/neon/snap-packaging/snapcraft-desktop-integration.git
cd snapcraft-desktop-integration
git checkout work.core24
cd kde-neon-6
PLATFORM_PLUG=kf6-core24 make build
cat desktop-launch6
In summary, desktop-launch6
is a generated file from the kf6-core24
platform (?) snap, which is a dependency from the kde-neon-6
extension.
The extension code is spread through several folders at GitHub - canonical/snapcraft: Package, distribute, and update any app for Linux and IoT.. The platform snap code is spread throuh several repositories at https://invent.kde.org/neon/snap-packaging/.
Once I generated the file, I could see that what I assume the proper way of not running on wayland on a snap is to declare:
environment:
DISABLE_WAYLAND: 1
That works, although I’m still getting this warning when launching the snap:
Failed to create wl_display (No such file or directory)