I installed Visual Studio but it doesn't show the icon of the app. So I was following this to set an icon.
When I go into /usr/share/applications
I see the .desktop
file of Visual Studio Code . But as I don't have access I can't edit it. So I opened terminal and tried to open it with sudo gedit
. So for that first I tried to check the name with ls
. But it doesn't list down the icon.
Why is that? How can I edit .desktop
of vscode to set the icon?
ls
command. But I changed the icon by opening the folder withsudo nautilus /usr/share/applications
– Thidasa Pankaja Mar 03 '18 at 12:41.desktop
file is something completely different. The top-half of yourls
-output is missing in the screenshot. – pomsky Mar 03 '18 at 12:48.desktop
file has aName
property that can be different from the actual file name. In the terminal you will see the filename, but in Nautilus you will see theName
property (or possibly a translated version of it it). – devius Mar 03 '18 at 12:53.
are “hidden” fromls
unless the-a
flag is specified. – eggyal Mar 03 '18 at 17:09filename.desktop
, not starting with a.
. The file is not actually invisible, the name being displayed in Nautilus is different. – pomsky Mar 03 '18 at 19:09