I recently messed a bit with the Spotify launcher in /usr/share/applications. I ended up removing the file /usr/share/applications/spotify.desktop from my system. I want to get back to defaults so I removed Spotify:
sudo apt remove --purge spotify-client
and afterwards I reinstalled it:
sudo apt install --reinstall spotify-client
Doing this didn't reinstall the default launcher in /usr/share/applications. There's nothing in ~/.local/share/applications.
How do I get it back?
~/.local/share/applications: https://askubuntu.com/a/64237/480481 – pomsky Oct 03 '17 at 13:05spotifyin DASH and the launcher is seen check here/usr/share/applicationsto see if it's there! – George Udosen Oct 03 '17 at 13:07/usr/share/applications. – Exeleration-G Oct 03 '17 at 13:09sudo find / -type f -iname spotify.desktopto look for it – George Udosen Oct 03 '17 at 13:12.desktopfiles let OP look for where that file is – George Udosen Oct 03 '17 at 13:14/usr/local/share/applicationsand/usr/share/spotify. – Exeleration-G Oct 03 '17 at 13:14/usr/share/applications– Redbob Oct 03 '17 at 13:16.desktopfiles are/usr/local/share,~/.local/share, and/usr/share. – George Udosen Oct 03 '17 at 13:21