If you’re a Linux user, then you know that there are a lot of applications that come pre-installed on your system. These applications can be very helpful and can take up little space on your hard drive, but they can also be a bit of a nuisance if you don’t want them running at all times. There are a few ways to change the default applications on Ubuntu, but it’s important to be aware of the different options and how they might affect your system. Here are four easy ways to change the default applications on Ubuntu:
- Use aptitude: aptitude is a command line tool that allows you to change the default applications for various systems. To use aptitude, type aptitude show Applications and then press Enter. This will show you all of the installed applications on your system. You can then select one or more of them by using the arrow keys and pressing Enter again.
- Use sudo: sudo is another command line tool that allows you to change the default applications for various systems. To use sudo, type sudoer show Applications and then press Enter. This will show you all of the installed applications on your system with their corresponding superuser privileges. You can then select one or more of them by using the arrow keys and pressing Enter again.
- Use dpkg: dpkg is another command line tool that allows you to change the default applications for various systems. To use dpkg, type dpkg –configure –verbose and then press Enter. This will create a file called configure with information about how to set up your new default applications in Ubuntu (you may need to edit this file). You can then use dpkg –add-aptitude or dpkg –remove-aptitude to add or remove specific application defaults from your system respectively (you may need to enter multiple commands).
- Use Synaptic: Synaptic is another command line tool that allows you to change the
There are several ways to change your default applications on Ubuntu. Whether you’re changing the default application for a particular task, file type, or a system-level application like your default text editor, there’s a different place to go.
Unlike on Windows, applications won’t take over existing file extensions during the installation process — they’ll just appear as an option after you install them.
Desktop Applications
To set your default desktop applications for actions such as Web Browser, Email, or Video, open the System Settings window from the panel.
Select the Details icon in the System Settings window.
Select the Default Applications category and use the drop-down boxes to select a default application. Application will appear here after you’ve installed them – for example, you can install VLC and select it as your default video player from here.
Removable Media
From the Details control panel, you can also select your default applications for different types of removable media. By default, Ubuntu will ask you what application you want to use when you insert a removable media device. You can change this – for example, you can have Rhythmbox automatically open and play audio CDs when you insert them.
File Associations
To set the default application for a specific file type, locate a file of that type in the file manager, right-click it, and select Properties.
Click the Open With tab and select the application you want to use for that file type. Use the Set as default button to make the application the default application.
Update-Alternatives
Ubuntu uses the update-alternatives system it inherited from Debian to control default applications outside of the graphical desktop. For example, when you run a command that uses a terminal text editor, the command calls /usr/bin/editor. /usr/bin/editor isn’t an editor itself – it’s a symbolic link to an editor on your system. This link points to the nano text editor by default, but you can select a different default text editor with the update-alternatives command. If only one option is available for an alternative – for example, if you only have one Java virtual machine installed – it will be used as the default.
For example, let’s say you wanted to change the system’s default text editor. Run the following command in a terminal:
You’ll see a list of installed editors to choose from – type the number of the editor you want to use and press Enter.
To go through the choices for every alternative on your system, run the following command:
You’ll only see a prompt if multiple applications that could satisfy an alternative are installed on your system. To keep the default option for an alternative, just press Enter.