I have Ubuntu 16.04 installed with the default Unity desktop. On my desktop I have an icon with the text below the icon naming the file as a .xspf file. VLC is the default program that I have registered to open this extension. It opens a stream from a radio station. I like the radio station and I want to make the icon and its file name more interesting. So I changed the default icon, but I want to completely remove the text underneath the icon. I only want to remove the text for this specific icon, though. The following solution will therefore not do:
How can I hide the text under the desktop icons?
I could not find a solution elsewhere either so I decided to instead just make the text more interesting than example.xspf. In this screenshot I call the file "Link to file":
When I do this, the desktop environment (I guess it's the DE) no longer associates the file with VLC and opens the file with Firefox instead. Firefox then recognizes the file based on its content and prompts for permission to open VLC. That defeats the purpose because I might as well right click on the file and open it with another application. I want the process to be automated after I click on the icon. Is it possible to override the default application with which to open a file within the code of a file? If so, how do you do that in a .xspf type file? Otherwise, can the solution at the following links somehow be adapted to do that:
Running a .desktop file in the terminal
How to set the default program to open a certain file type in a certain folder?