Tag Info

New answers tagged


Just open the following path, cd /usr/share/applications/ Find netbeans.desktop file ls -al | grep netbeans Edit netbeans.desktop file vim netbeans <version> Exec=/bin/sh "/usr/local/netbeans-8.0.2/bin/netbeans" %U Just add %U at the end of Exec. Now goto any file, right click properties->open with, there you see netbeans. Now set it as ...


I was able to set an association like this: xdg-mime default xnview.desktop image/jpeg You can also remove associations and do other things: man xdg-mime I did not need to run sudo update-desktop-database.

Top 50 recent answers are included