while I recently install the new kali Linux 2021.4 everything was going good but unfortunately, while installing the desktop application through snap, it was not showing in the dash/menu on gnome. Well, i tried enough few methods I were familiar to like,:
systemctl enable --now snapd apparmor
emulate sh -c 'source /etc/profile'
Well after trying "emulate sh -C'source/etc/profile' command I had to face a profile on my local device. It doesn't allow my machine to open any applications, I mean I wasn't able to open any of the applications. while I try to open any application it doesn't do anything. I was clueless about what to do next and reinstall my Linux os.
But any of the methods doesn't work for me, was so depressed about it and while I mistakenly went to the .local folder and Application folder inside of the shared folder there was nothing ( i mean the blank folder). So I decided to extract the snap install application to the .local folder which will create a kinda the shortcut of the menu of the install application through snap. So i tried,
ln -sf /var/lib/snapd/desktop/applications/*.desktop ~/.local/share/applications/
Unfortunately, it worked on me, all the installed applications are now on my dash/menu of Gnome(Kali-Linux-2021.4). But sadly I noticed that every single time I installed any application via snap I have to use this command. Mean :
if I installed discord for suppose,
if I installed discord for suppose,
Sudo snap install discord
I have to use the above command, and again if I install another application that likely suppose visual studio code, I again have to use the above command to take the visual studio in the dash/menu of my Gnome.
Comments
Post a Comment