Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Can anyone help me on how to set the default program that I use? I have tried to open System Info --> Default Program -> change my program, but it won't work, Any idea? Or should I use the Terminal?

I want to replace the default movie player with VLC Media Player because the current movie player is useless to me.

Thanks in advance.

share|improve this question

4 Answers

There's yet another GUI solution, which might come handy for you ;)

Try opening the properties (right click -> Properties) of the file type you want to be always played by VLC.

Choose the Open with tab and either choose from a list or add one (by choosing from an extended program list or simply typing vlc as the command)


EDIT:

... and click on Set as default

enter image description here

share|improve this answer

Use Ubuntu Tweak - it has a file association manager and you can choose which programs open which file types.

Instructions are on this site http://www.omgubuntu.co.uk/2011/12/new-version-of-ubuntu-tweak-released/

Best way to install is:

sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak
share|improve this answer
1  
This should be the best answer, because at least in Ubuntu 12.10, clicking "Add" in the Open With tab, inside the Properties window, just adds the selected application to the "Recommended Applications" group ― it doesn't let you choose another program (for example, Sublime Text 2 or /usr/bin/subl, because it's a precompiled package and itś not registered). – AeroCross Nov 12 '12 at 14:14
@AeroCross, this could be well documented in askubuntu wiki, hm? :) – shookees Nov 16 '12 at 0:08
@AeroCross It lets you also to choose a precompiled program like Sublime Text. You just need a desktop-file with "Exec=/usr/bin/subl %f". Than you can use the properties window and open with tab. – TIIUNDER Dec 19 '12 at 8:42

If the System Info > Default Program doesn't work, then you could try right clicking on whatever video/movie file you want to play, then click Open With, and then select VLC.

If you want further details, this may help you: http://www.johannes-eva.net/change-the-default-application-ubuntu-linux

share|improve this answer

If you're really desperate, just manually edit the file ~/.local/share/applications/mimeapps.list.

format:

application/TYPE=LAUNCHER.desktop

Just add this under the [Default Applications] section if you want it to be default, or under [Added Associations] if it shouldn't be default.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.