I recently switched my main desktop environment from Ubuntu to Kubuntu which uses KDE instead of Gnome. KDE by default assumes that you are using BASH as your shell, however since I use ZSH, I ended up missing a few paths. Most specifically, my installed SNAPS were not easily launch-able from the KDE environment. As it turns out, a quick switch to what PATHS were not being read for the installed SNAPS. In order to fix this, do the following:
root, edit the
/etc/zsh/zprofile file and add the following to the bottom of it:
emulate sh -c 'source /etc/profile'
This will likely fix a number of other PATHing issues that KDE may have been missing since it wasn’t reading your shell profile.
If all you want to do is fix the SNAP integration with KDE, you can just add the following line to the bottom:
emulate sh -c 'source /etc/profile.d/apps-bin-path.sh'
Once that is done, restart your KDE instance (or reboot to be safe) and you should now see your SNAPS listed in the launcher.
- Kubuntu 18.04 LTS
- KDE Plasma 5.12.8