If your text files are opening in an IDE instead of a simple text editor, or your videos are launching in the wrong player, changing the default application in Ubuntu is straightforward.
How to Change Default Apps
- Open the Settings application.
- Scroll down the left sidebar and click on Default Applications.
- Here you can change the defaults for Web, Mail, Calendar, Music, Video, and Photos.
- For specific file types (like PDFs), right-click the file, select Properties, go to the Open With tab, select your preferred app, and click Set as default.