1

I just install ubuntu . How can ı see my spotify vs code's icons on my desktop . Is there a shortcut for it or terminal command ?

1 Answers1

0

You need to find their corresponding *.desktop files in the /usr/share/applications/ directory.

Then copy these *.desktop files to your /home/<YOURUSERNAME>/Desktop/ (also known as ~/Desktop/) directory.

They will show up on the desktop, but initially without their correct icon.

Right-click on them, and in the appearing context menu, check "Allow launching". That will restore their icon, plus allows mouseclicks to open the corresponding apps.


This may not be necessary, but if above does not seem to work, be ready to do this as well, as additional measure.

Install the Gnome Tweaks app:

sudo apt install gnome-tweaks

Open this app from the apps-overview screen, go to its "Extensions" tab, and activate the "Desktop icons" extension.

Levente
  • 3,961
  • "Open this app from the apps-overview screen, go to its "Extensions" tab, and activate the "Desktop icons" extension." And then? – Muzaffer Jan 25 '21 at 20:39
  • Ah, maybe log out and log back in ... Or reload the shell by hitting Alt+F2 (Run command dialog) then putting a single r in there and Enter. – Levente Jan 25 '21 at 20:40
  • Sorry , I am new . Did you mean reboot? – Muzaffer Jan 25 '21 at 20:41
  • Well, reboot is not necessary. In the top right corner's power menu, right next to "Power off", you will find an option to "Log out". That logout is sufficient. It does not restart the entire machine, just tears down your session. When you log back in, you start a brand new session. It's faster than a full reboot. – Levente Jan 25 '21 at 20:43
  • I did log out now. But when ı go applications end right click to for ex spotify. There is still nothing. Or I cant select and put on desktop like windows .Please help me. – Muzaffer Jan 25 '21 at 20:46
  • Have you copied the spotify-or-how-its-called.desktop file to your /home/<YOURUSERNAME>/Desktop/ folder? – Levente Jan 25 '21 at 20:48
  • No . Where can ı find any apps .desktop file .Thanks for patience – Muzaffer Jan 25 '21 at 20:51
  • Open terminal. Execute cd /usr/share/applications/ Then execute ls -l | grep spotify This will show you the relevant files. Then run cp however-is-the-actual-file-called.desktop ~/Desktop/. That should do it. – Levente Jan 25 '21 at 20:57
  • İts running now. Big thanks for all sir – Muzaffer Jan 25 '21 at 21:05