I just reinstalled Kubuntu 24.04 on my system and ~~after installing the NVidia drivers using the Ubuntu solution "sudo ubuntu-drivers install" and rebooting my system, all the snap based applications disappeared from my application menu. This includes web browsers and other OOTB applications.~~
I tried to reboot again, I tried to reinstall some of these snaps and the apps still don't show up in the menu.
Has anyone ran into this issues?
UPDATE:
It turns out it was because I installed and switched to ZSH as my default shell and the /etc/zsh/zprofile script doesn't execute the /etc/profile script. Which in turn doesn't execute all the /etc/profile.d/* scripts WHICH SET ALL THE ENVIRONMENT VARIABLES AND OTHER STUFF FOR SNAP AND FLATPAK!
Anyway, I added this line to my /etc/zsh/zprofile script and rebooted and it fixed my problem:
emulate sh -c 'source /etc/profile'
UPDATE2:
I gotta say, I am really disappointed in Canonical pushing Snaps on their users the way they do. Sure, they want us to eat their dog food, like they did with Unity. But this time you don't have an alternative. Many apps and other software aren't available in other form than snap packages. Like CUPS for printing. Or Firefox and Thunderbird or Chromium. Why? I get that Snaps are sandboxed and add a layer of security, but c'mon. Let users decide. And modifying APT to install Snaps instead of .deb? No. That crosses a line in my opinion.