The fix by @dolphytr works, but it's still incomplete. It helps to bring back apps to the menu, but they still can't be run from the command line. For this to work, I had to apply the commands from #18 plus add these two lines to my $HOME/.zshrc:
As these are just workarounds, the root of the problem seems to be somewhere else:
The script in /etc/profile.d/apps-bin-path.sh takes care of all the neccessary changes. It is sourced when starting an X11 session but not when starting a Wayland session (at least not in combination with zsh).
I suggest to reopen this ticket until that's solved.
The fix by @dolphytr works, but it's still incomplete. It helps to bring back apps to the menu, but they still can't be run from the command line. For this to work, I had to apply the commands from #18 plus add these two lines to my $HOME/.zshrc:
# Fix environment for Wayland + zsh + snapd d/apps- bin-path. sh
source /etc/profile.
As these are just workarounds, the root of the problem seems to be somewhere else:
The script in /etc/profile. d/apps- bin-path. sh takes care of all the neccessary changes. It is sourced when starting an X11 session but not when starting a Wayland session (at least not in combination with zsh).
I suggest to reopen this ticket until that's solved.