In this article, we overview how to set up a third-party application to Ubuntu 16.04. I’ve got sublime text 3 for which I saved a working key and put it to a flash drive. Lately, I needed to install this app with a key to a VM.
I installed an app, executed an instruction and registered the app but got a few problems such as sublime didn’t show in a file manager and in unity dash. What did I do?
Playing with symlinks
What I did before? It adds a symbolic link to the folder ~/.local/share/applications
ln -s ~/Desktop/sublime_text_3/sublime_text ~/.local/share/applications/subl
but it didn’t work. I’ve got sublime in the unity dashe and not in the file manager. Maybe this generated a file ~/.local/share/applications/sublime_text.desktop. I don’t know, but this file was already in a ~/.local/share/applications file. There I needed to add %F in this line
and then started to work the file manager default set up properties.
The file that needs to be put in ~/.local/share/applications
Well. for sublime works properly we have to add it to the ~/.local/share/applications. There should be a file sublime_text.desktop. It’s in my case with this settings
neo@neo-virtual-machine:~/.local/share/applications$ cat sublime_text.desktop
That’s it! 🙂
Now the sublime is accessible from the unity dash
and from the file manager, we are able to install a default application
Placed where could be put the configuration file.
There is one more place where we can add this file sublime.desktop