How to make an application appear in OpenWith list in Ubuntu
Ubuntu’s latest releases make it difficult to add an application in Nautilus’s OpenWith list. However, We could make an application appear there anyway. Follow
- Go to /usr/share/applications directory. You will see many icons there. These are called .desktop files
- Open an application and
cd
to that directory i.ecd /usr/share/applications
- Open the respective application’s .desktop file. For Gedit, it is
gedit.desktop
. For the old adobe reader for Linux, it isacroread.desktop
. I am going to add this. - Open that .desktop file. In my case, it is
acroread.desktop
. - Find the line with
Exec=
option. In my case it isExec=acroread
. - Add
%u
after that application’s name. For example, change it toExec=acroread %u
- Save and Exit. You will see that application’s name in Open With list now