Update-alternatives: using /usr/bin/firefox to provide /usr/bin/x-www-browser (x-www-browser) in manual mode. Press enter to keep the current choice, or type selection number: 2 Change default applications in Ubuntu from System Settings. * 0 /usr/bin/google-chrome-stable 200 auto modeġ /usr/bin/chromium-browser 40 manual modeģ /usr/bin/google-chrome-stable 200 manual mode Subscribe to our YouTube channel for more Linux videos. There are 4 choices for the alternative x-www-browser (providing /usr/bin/x-www-browser). ◆ sudo update-alternatives -config x-www-browser To find this out, the most reliable way, based on an application’s name in the launcher, is to find the corresponding launcher configuration file. In terminal, run sudo update-alternatives -config x-www-browser This isn’t obvious, but the GNOME Videos applications is also known as Totem, and the corresponding package is totem: ubuntu-bug totem. StartupWMClass=Emacs24 Set generic browser icon to your preferred browser Icon=/usr/share/icons/hicolor/scalable/apps/emacs24.svgĬategories=Utility Development TextEditor MimeType=text/english text/plain text/x-makefile text/x-c++hdr text/x-c++src text/x-chdr text/x-csrc text/x-java text/x-moc text/x-pascal text/x-tcl text/x-tex application/x-shellscript text/x-c text/x-c++ The “.desktop” files are a map between app icons to the command line. The global one is at /usr/share/applications/defaults.list Here's sample file content: Īpplication/x-extension-htm=sktopĪpplication/x-extension-html=sktopĪpplication/x-extension-shtml=sktopĪpplication/x-extension-xhtml=sktopĪpplication/x-extension-xht=sktopĪpplication/epub+zip=sktop Set Default App by Command LineĮdit this file ~/.local/share/applications/mimeapps.list The easiest way is through the Ubuntu software. There are a couple of ways to do this in Ubuntu.
) Lubuntu/LXDE Set Default App lxsession-default-apps To get started, you need to install VLC media player on Ubuntu. I would like to change this to VLC or xmms. From there, locate Video Player, and click on the drop-down menu, and use it to change the default video player. First, find the Multimedia tab in the Preferred Applications area, and click on it with the mouse. Once I go to a website with a default video running / treaming, ubuntu automatically uses TOTEM to play such. If you want to change the default video player in Mate, do the following. Right-click on file for the property menu. Rep: currently I am using an Ubuntu 6.1 for testing. You can right click on a file, select “Properties”, then choose the app you want. Playlist can overlay video or push it, Settings > Playlist > Overlay video. Set default app by exo-preferred-applications Set Default Image Viewer Settings open in separate window and reorganize some settings. exo-preferred-applications Set Default Terminal, File Manager In terminal, type exo-preferred-applications.Įxo-preferred-applications is GUI app for setting default. Set Default App by GUI Set Default Browser You may need to try a few of the following methods on your system. (example: Ubuntu, Lubuntu/LXDE, Xubuntu/Xfce.) There are many ways to set default app, it depends on which linux desktop you are using.