0

when I look up in nautilus for a Desktop file it has the filename showed below:

enter image description here

Then I open in terminal and search for the same file, I found it has another name showed below:

enter image description here

Anybody knows why it is like this? Thanks in advance

Some programmer dude
  • 400,186
  • 35
  • 402
  • 621
Marti
  • 21
  • 3
  • If you `cat` the file in the terminal you will see the `PyCharm` name inside it. That's simply how `.desktop` files work. They are in a way similar to shortcuts in Windows. You can read all about it in the [desktop entry specification](https://standards.freedesktop.org/desktop-entry-spec/latest/). – Some programmer dude Aug 17 '17 at 08:22
  • Got it. Thanks ~ – Marti Aug 18 '17 at 15:50

1 Answers1

0

This is specific to .desktop files.

In GNOME and other freedesktop.org-compliant desktops, an application gets registered into the desktop's menus through a desktop entry, which is a text file with .desktop extension. This desktop file contains a listing of the configurations for your application.

More information can be found here https://developer.gnome.org/integration-guide/stable/desktop-files.html.en

Joris Schellekens
  • 8,483
  • 2
  • 23
  • 54