I have made a .desktop launcher for my dock. I try to put a "." after the name of file, but he doesnt hide. Exemple : .Firefox.desktop If i delete it, my Firefox icon in my dock can't be open. I have to hide my desktop file, Thanks !
To show or hide a .desktop file in a given desktop environment we should use its corresponding entry keys:
Hence the follwing entry will only show the desktop file in GNOME (e.g. classic), and KDE but not in Unity:
Or, alternatively we may wish to define en exclusion with
How are you renanimg this file? I've noticed that when I rename desktop files using the Nemo file manager (which is used by the third-party "Cinnamon" desktop), the old filename remains present in the terminal (if you open the file using a text editor, the
I would recommend using a terminal to change the file name. Here's an example of how you can do this:
Or, you could open the file with any text editor, and use the "Save As" function to create a new file with a new name, and then delete the original file.