How do I set the default program?
up vote
100
down vote
favorite
How do I 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 Terminal?
I want to replace the default movie player with VLC media player, because the current movie player is useless to me.
default-programs
add a comment |
up vote
100
down vote
favorite
How do I 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 Terminal?
I want to replace the default movie player with VLC media player, because the current movie player is useless to me.
default-programs
1
have a look at libre-software.net/…
– DJCrashdummy
Oct 8 '16 at 12:20
1
as comment below says ... Please vote up this change request to give sanity to how application defaults are set bugs.launchpad.net/hundredpapercuts/+bug/1413283
– Scott Stensland
Nov 16 '17 at 19:05
add a comment |
up vote
100
down vote
favorite
up vote
100
down vote
favorite
How do I 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 Terminal?
I want to replace the default movie player with VLC media player, because the current movie player is useless to me.
default-programs
How do I 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 Terminal?
I want to replace the default movie player with VLC media player, because the current movie player is useless to me.
default-programs
default-programs
edited Feb 2 at 23:32
Peter Mortensen
1,03821016
1,03821016
asked Dec 24 '11 at 14:20
Halim
506255
506255
1
have a look at libre-software.net/…
– DJCrashdummy
Oct 8 '16 at 12:20
1
as comment below says ... Please vote up this change request to give sanity to how application defaults are set bugs.launchpad.net/hundredpapercuts/+bug/1413283
– Scott Stensland
Nov 16 '17 at 19:05
add a comment |
1
have a look at libre-software.net/…
– DJCrashdummy
Oct 8 '16 at 12:20
1
as comment below says ... Please vote up this change request to give sanity to how application defaults are set bugs.launchpad.net/hundredpapercuts/+bug/1413283
– Scott Stensland
Nov 16 '17 at 19:05
1
1
have a look at libre-software.net/…
– DJCrashdummy
Oct 8 '16 at 12:20
have a look at libre-software.net/…
– DJCrashdummy
Oct 8 '16 at 12:20
1
1
as comment below says ... Please vote up this change request to give sanity to how application defaults are set bugs.launchpad.net/hundredpapercuts/+bug/1413283
– Scott Stensland
Nov 16 '17 at 19:05
as comment below says ... Please vote up this change request to give sanity to how application defaults are set bugs.launchpad.net/hundredpapercuts/+bug/1413283
– Scott Stensland
Nov 16 '17 at 19:05
add a comment |
11 Answers
11
active
oldest
votes
up vote
115
down vote
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
42
Wow, what UI idiocy by Ubuntu. Right-click -> open with -> other application DOES NOT show "Set as default"... Right-click -> Properties -> Open With DOES show "Set as default".
– Jeff Ward
Mar 25 '14 at 15:49
1
and for applications that do not show on the "others" list... regular users don't want to edit files and it should not be necessary to add extra GUI apps to do this kind of basic stuff, in my case fritzing does not apear as application to be associated with .fzz files and there is no button to point fritzing on the disk, why do ubuntu guys think that editing a text files is more acceptable than gui navigate the folders and point the application? ... this way ubuntu WILL NEVER reach the desktop
– neu-rah
Jun 7 '14 at 15:15
6
Added bug report for this usability issue - bugs.launchpad.net/hundredpapercuts/+bug/1413283
– anatoly techtonik
Jan 21 '15 at 16:09
2
But what should I do when I want to use app I didn't install through Ubuntu Software Center orapt-get
? I have Blender from official website and it's not installed (I have it in /opt direcotry and I can access it from terminal). Can I show my Ubuntu which executable file to use?
– Jacajack
Mar 10 '15 at 15:08
@Jacajack if this answer is not yet answered in Askubuntu.com, ask it :) This particular thread issues a use case for setting default, now what you need is "registering" a program within the system.
– Paulius Šukys
Mar 12 '15 at 13:59
|
show 1 more comment
up vote
22
down vote
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.
can you please give an example of the format?
– dapias
Dec 4 '15 at 21:33
1
@dapias when you open the file, you will see lots of examples there that you can duplicate and edit. I.e.x-scheme-handler/mailto=thunderbird.desktop
.
– amertkara
Jan 28 '16 at 15:57
2
mimeapps.list
can be put in many directories, full search path at: specifications.freedesktop.org/mime-apps-spec/… I preferXDG_CONFIG_HOME
which is just~/.config/mimeapps.list
and has higher precedence.
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Jan 19 '17 at 9:08
1
I have no file in~/.local/share/applications
– alhelal
May 21 at 6:12
add a comment |
up vote
18
down vote
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
EDIT In newer versions of Ubuntu, follow Paulius's answer, the option has been added to the Properties -> Open With screen.
2
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? :)
– Paulius Šukys
Nov 16 '12 at 0:08
1
@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
add a comment |
up vote
14
down vote
Choice number one: Open a terminal where your file is and do the following command.
mimeopen -d your_video.avi
There is the output:
Please choose a default application for files of type application/x-ms-dos-executable
1) vlc
2) ...
3) Other...
Use application #3
Use command: vlc %f
Press 1 if you see vlc, if not, chose the Other solution (3 in that case). Then type the name of your application followed by %f.
Choice 2: Generic way
mimeopen .avi
And then do the step above.
1
maybe you can try%U
rather than%f
: the reason is that%f
will only open a single file, while a program capable of opening several files at the same time, or indeed several URLs at the same time will do so with%U
.
– DJCrashdummy
Oct 8 '16 at 13:06
add a comment |
up vote
5
down vote
I was having a similar problem with PDFs; I had installed Adobe Reader, but I couldn't get it to open them as the default application - it didn't even show up on the lists!
I checked the mimeapps.list file listed above, and it was already listed as default there.
This is what worked for me finally:
- I right clicked on a PDF and chose "Properties." I opened the "Open
with" tab. - Still no Adobe Reader.
- Clicking on the "Reset" button made Adobe appear as the default, and now it works.
I guess that "Reset" was necessary after the (rather inconventional) installation to register it as the default program.
add a comment |
up vote
4
down vote
Here's how I did it without using the Ubuntu Tweak tool. My guide includes file type associations, so that your app will be listed in the "Recommended Applications" when right-clicking the file to see the properties. Guide as follows (I'm using 13.10 Saucy):
When you see a command, run it in terminal, of course :)
cd /usr/share/applications/
cp similar_program.desktop name_of_your_program.desktop
gedit name_of_your_program.desktop
- leave the
[Desktop Entry]
as the top line - modify the type (unless it's the same)
- modify the name (can have spaces)
if you want to add support for the name in other languages just add a new line that says for instance:
Name[es]=PlayonLinux Cargador de programas de Windows
modify the
Exec
(should just sayyourprogram %f
as long as it's a default install with the program in/usr/bin
)- modify the
MimeType
(unless it's the same) - modify the
Icon
(again, if it's a default program installed to (/usr/bin
) this should just sayIcon=name_ of_your_program
NoDisplay=true
StartupNotify=true
- leave the
gedit ~/.local/share/applications/mimeapps.list
In my instance I wanted to add PlayonLinux to select as a program to open
.exe
files, instead of always using WINE. But I wanted Wine to show up too.
In this case, you can leave the top section
[Default Applications]
alone.
Then find the line under[Added Associations]
,
and change it from, in my instance
application/x-ms-dos-executable=wine.desktop;
to
application/x-ms-dos-executable=wine.desktop;playonlinux.desktop;
This way they both options will show up when I try to load a Windows
.exe
file.
If you right-click the properties on the file, and for instance say I eventually do want to make PlayonLinux the default for Windows .exe
files, all I need to do is tell it to be set as default. And it will change. You can check the mimeapps.list
(~/.local/share/applications/mimeapps.list
) to double-check and you'll now see it will have replaced WINE under [Default Applications]
.
maybe you can try%U
rather than%f
: the reason is that%f
will only open a single file, while a program capable of opening several files at the same time, or indeed several URLs at the same time will do so with%U
.
– DJCrashdummy
Oct 8 '16 at 13:04
add a comment |
up vote
1
down vote
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
add a comment |
up vote
1
down vote
For Dolphin (KDE), right click the file to get a Properties window. Under Type is a button for File Type Options, where you can modify filename extensions. Add the application if it's not in the bottom list. To make it default, move the application you want to the top of the Application Preference Order list.
Screenshot from a more detailed guide:
add a comment |
up vote
1
down vote
I tried a number of these solutions with null result.
Until I went to
- Show Applications
- Settings
- Default Applications
and set VLC to open video and music files...
Then it worked.
(although the mime icon is still not VLC, but it opens in VLC now...)
I see recommendations to install older versions of Nautilus. Perhaps that might work. The current version in Gnome, changes the mime type in the .config directory (when you click Change Default Program,) but then ignores it. The setting in 2) Settings above does change the behavior, however.
– kakunka
Dec 3 at 23:26
add a comment |
up vote
0
down vote
Thanks to Alvin Liang, I propose to solve this problem by
- installing Nemo (a fork of a former Nautilus version) via
apt-get install nemo
, - clicking on a file of interest, choose "Open with ..." and "Other application ...",
- choose one of the applications in the list and click "Set as default".
Then, you can use Nautilus again with the updated file associations. It is not the most convenient solution, however, it avoids fiddling around with config files in the back.
If possible, please, upvote the following Launchpad issue to get this fixed in Nautilus!
add a comment |
up vote
-1
down vote
System Settings -> Details -> Default Applications
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f90214%2fhow-do-i-set-the-default-program%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
11 Answers
11
active
oldest
votes
11 Answers
11
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
115
down vote
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
42
Wow, what UI idiocy by Ubuntu. Right-click -> open with -> other application DOES NOT show "Set as default"... Right-click -> Properties -> Open With DOES show "Set as default".
– Jeff Ward
Mar 25 '14 at 15:49
1
and for applications that do not show on the "others" list... regular users don't want to edit files and it should not be necessary to add extra GUI apps to do this kind of basic stuff, in my case fritzing does not apear as application to be associated with .fzz files and there is no button to point fritzing on the disk, why do ubuntu guys think that editing a text files is more acceptable than gui navigate the folders and point the application? ... this way ubuntu WILL NEVER reach the desktop
– neu-rah
Jun 7 '14 at 15:15
6
Added bug report for this usability issue - bugs.launchpad.net/hundredpapercuts/+bug/1413283
– anatoly techtonik
Jan 21 '15 at 16:09
2
But what should I do when I want to use app I didn't install through Ubuntu Software Center orapt-get
? I have Blender from official website and it's not installed (I have it in /opt direcotry and I can access it from terminal). Can I show my Ubuntu which executable file to use?
– Jacajack
Mar 10 '15 at 15:08
@Jacajack if this answer is not yet answered in Askubuntu.com, ask it :) This particular thread issues a use case for setting default, now what you need is "registering" a program within the system.
– Paulius Šukys
Mar 12 '15 at 13:59
|
show 1 more comment
up vote
115
down vote
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
42
Wow, what UI idiocy by Ubuntu. Right-click -> open with -> other application DOES NOT show "Set as default"... Right-click -> Properties -> Open With DOES show "Set as default".
– Jeff Ward
Mar 25 '14 at 15:49
1
and for applications that do not show on the "others" list... regular users don't want to edit files and it should not be necessary to add extra GUI apps to do this kind of basic stuff, in my case fritzing does not apear as application to be associated with .fzz files and there is no button to point fritzing on the disk, why do ubuntu guys think that editing a text files is more acceptable than gui navigate the folders and point the application? ... this way ubuntu WILL NEVER reach the desktop
– neu-rah
Jun 7 '14 at 15:15
6
Added bug report for this usability issue - bugs.launchpad.net/hundredpapercuts/+bug/1413283
– anatoly techtonik
Jan 21 '15 at 16:09
2
But what should I do when I want to use app I didn't install through Ubuntu Software Center orapt-get
? I have Blender from official website and it's not installed (I have it in /opt direcotry and I can access it from terminal). Can I show my Ubuntu which executable file to use?
– Jacajack
Mar 10 '15 at 15:08
@Jacajack if this answer is not yet answered in Askubuntu.com, ask it :) This particular thread issues a use case for setting default, now what you need is "registering" a program within the system.
– Paulius Šukys
Mar 12 '15 at 13:59
|
show 1 more comment
up vote
115
down vote
up vote
115
down vote
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
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
edited Nov 4 '12 at 10:57
Boris
3,27273356
3,27273356
answered Dec 24 '11 at 19:20
Paulius Šukys
2,90821635
2,90821635
42
Wow, what UI idiocy by Ubuntu. Right-click -> open with -> other application DOES NOT show "Set as default"... Right-click -> Properties -> Open With DOES show "Set as default".
– Jeff Ward
Mar 25 '14 at 15:49
1
and for applications that do not show on the "others" list... regular users don't want to edit files and it should not be necessary to add extra GUI apps to do this kind of basic stuff, in my case fritzing does not apear as application to be associated with .fzz files and there is no button to point fritzing on the disk, why do ubuntu guys think that editing a text files is more acceptable than gui navigate the folders and point the application? ... this way ubuntu WILL NEVER reach the desktop
– neu-rah
Jun 7 '14 at 15:15
6
Added bug report for this usability issue - bugs.launchpad.net/hundredpapercuts/+bug/1413283
– anatoly techtonik
Jan 21 '15 at 16:09
2
But what should I do when I want to use app I didn't install through Ubuntu Software Center orapt-get
? I have Blender from official website and it's not installed (I have it in /opt direcotry and I can access it from terminal). Can I show my Ubuntu which executable file to use?
– Jacajack
Mar 10 '15 at 15:08
@Jacajack if this answer is not yet answered in Askubuntu.com, ask it :) This particular thread issues a use case for setting default, now what you need is "registering" a program within the system.
– Paulius Šukys
Mar 12 '15 at 13:59
|
show 1 more comment
42
Wow, what UI idiocy by Ubuntu. Right-click -> open with -> other application DOES NOT show "Set as default"... Right-click -> Properties -> Open With DOES show "Set as default".
– Jeff Ward
Mar 25 '14 at 15:49
1
and for applications that do not show on the "others" list... regular users don't want to edit files and it should not be necessary to add extra GUI apps to do this kind of basic stuff, in my case fritzing does not apear as application to be associated with .fzz files and there is no button to point fritzing on the disk, why do ubuntu guys think that editing a text files is more acceptable than gui navigate the folders and point the application? ... this way ubuntu WILL NEVER reach the desktop
– neu-rah
Jun 7 '14 at 15:15
6
Added bug report for this usability issue - bugs.launchpad.net/hundredpapercuts/+bug/1413283
– anatoly techtonik
Jan 21 '15 at 16:09
2
But what should I do when I want to use app I didn't install through Ubuntu Software Center orapt-get
? I have Blender from official website and it's not installed (I have it in /opt direcotry and I can access it from terminal). Can I show my Ubuntu which executable file to use?
– Jacajack
Mar 10 '15 at 15:08
@Jacajack if this answer is not yet answered in Askubuntu.com, ask it :) This particular thread issues a use case for setting default, now what you need is "registering" a program within the system.
– Paulius Šukys
Mar 12 '15 at 13:59
42
42
Wow, what UI idiocy by Ubuntu. Right-click -> open with -> other application DOES NOT show "Set as default"... Right-click -> Properties -> Open With DOES show "Set as default".
– Jeff Ward
Mar 25 '14 at 15:49
Wow, what UI idiocy by Ubuntu. Right-click -> open with -> other application DOES NOT show "Set as default"... Right-click -> Properties -> Open With DOES show "Set as default".
– Jeff Ward
Mar 25 '14 at 15:49
1
1
and for applications that do not show on the "others" list... regular users don't want to edit files and it should not be necessary to add extra GUI apps to do this kind of basic stuff, in my case fritzing does not apear as application to be associated with .fzz files and there is no button to point fritzing on the disk, why do ubuntu guys think that editing a text files is more acceptable than gui navigate the folders and point the application? ... this way ubuntu WILL NEVER reach the desktop
– neu-rah
Jun 7 '14 at 15:15
and for applications that do not show on the "others" list... regular users don't want to edit files and it should not be necessary to add extra GUI apps to do this kind of basic stuff, in my case fritzing does not apear as application to be associated with .fzz files and there is no button to point fritzing on the disk, why do ubuntu guys think that editing a text files is more acceptable than gui navigate the folders and point the application? ... this way ubuntu WILL NEVER reach the desktop
– neu-rah
Jun 7 '14 at 15:15
6
6
Added bug report for this usability issue - bugs.launchpad.net/hundredpapercuts/+bug/1413283
– anatoly techtonik
Jan 21 '15 at 16:09
Added bug report for this usability issue - bugs.launchpad.net/hundredpapercuts/+bug/1413283
– anatoly techtonik
Jan 21 '15 at 16:09
2
2
But what should I do when I want to use app I didn't install through Ubuntu Software Center or
apt-get
? I have Blender from official website and it's not installed (I have it in /opt direcotry and I can access it from terminal). Can I show my Ubuntu which executable file to use?– Jacajack
Mar 10 '15 at 15:08
But what should I do when I want to use app I didn't install through Ubuntu Software Center or
apt-get
? I have Blender from official website and it's not installed (I have it in /opt direcotry and I can access it from terminal). Can I show my Ubuntu which executable file to use?– Jacajack
Mar 10 '15 at 15:08
@Jacajack if this answer is not yet answered in Askubuntu.com, ask it :) This particular thread issues a use case for setting default, now what you need is "registering" a program within the system.
– Paulius Šukys
Mar 12 '15 at 13:59
@Jacajack if this answer is not yet answered in Askubuntu.com, ask it :) This particular thread issues a use case for setting default, now what you need is "registering" a program within the system.
– Paulius Šukys
Mar 12 '15 at 13:59
|
show 1 more comment
up vote
22
down vote
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.
can you please give an example of the format?
– dapias
Dec 4 '15 at 21:33
1
@dapias when you open the file, you will see lots of examples there that you can duplicate and edit. I.e.x-scheme-handler/mailto=thunderbird.desktop
.
– amertkara
Jan 28 '16 at 15:57
2
mimeapps.list
can be put in many directories, full search path at: specifications.freedesktop.org/mime-apps-spec/… I preferXDG_CONFIG_HOME
which is just~/.config/mimeapps.list
and has higher precedence.
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Jan 19 '17 at 9:08
1
I have no file in~/.local/share/applications
– alhelal
May 21 at 6:12
add a comment |
up vote
22
down vote
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.
can you please give an example of the format?
– dapias
Dec 4 '15 at 21:33
1
@dapias when you open the file, you will see lots of examples there that you can duplicate and edit. I.e.x-scheme-handler/mailto=thunderbird.desktop
.
– amertkara
Jan 28 '16 at 15:57
2
mimeapps.list
can be put in many directories, full search path at: specifications.freedesktop.org/mime-apps-spec/… I preferXDG_CONFIG_HOME
which is just~/.config/mimeapps.list
and has higher precedence.
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Jan 19 '17 at 9:08
1
I have no file in~/.local/share/applications
– alhelal
May 21 at 6:12
add a comment |
up vote
22
down vote
up vote
22
down vote
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.
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.
edited Feb 5 '13 at 21:33
gertvdijk
49.8k18141235
49.8k18141235
answered Feb 5 '13 at 20:29
Eli Schwartz
22122
22122
can you please give an example of the format?
– dapias
Dec 4 '15 at 21:33
1
@dapias when you open the file, you will see lots of examples there that you can duplicate and edit. I.e.x-scheme-handler/mailto=thunderbird.desktop
.
– amertkara
Jan 28 '16 at 15:57
2
mimeapps.list
can be put in many directories, full search path at: specifications.freedesktop.org/mime-apps-spec/… I preferXDG_CONFIG_HOME
which is just~/.config/mimeapps.list
and has higher precedence.
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Jan 19 '17 at 9:08
1
I have no file in~/.local/share/applications
– alhelal
May 21 at 6:12
add a comment |
can you please give an example of the format?
– dapias
Dec 4 '15 at 21:33
1
@dapias when you open the file, you will see lots of examples there that you can duplicate and edit. I.e.x-scheme-handler/mailto=thunderbird.desktop
.
– amertkara
Jan 28 '16 at 15:57
2
mimeapps.list
can be put in many directories, full search path at: specifications.freedesktop.org/mime-apps-spec/… I preferXDG_CONFIG_HOME
which is just~/.config/mimeapps.list
and has higher precedence.
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Jan 19 '17 at 9:08
1
I have no file in~/.local/share/applications
– alhelal
May 21 at 6:12
can you please give an example of the format?
– dapias
Dec 4 '15 at 21:33
can you please give an example of the format?
– dapias
Dec 4 '15 at 21:33
1
1
@dapias when you open the file, you will see lots of examples there that you can duplicate and edit. I.e.
x-scheme-handler/mailto=thunderbird.desktop
.– amertkara
Jan 28 '16 at 15:57
@dapias when you open the file, you will see lots of examples there that you can duplicate and edit. I.e.
x-scheme-handler/mailto=thunderbird.desktop
.– amertkara
Jan 28 '16 at 15:57
2
2
mimeapps.list
can be put in many directories, full search path at: specifications.freedesktop.org/mime-apps-spec/… I prefer XDG_CONFIG_HOME
which is just ~/.config/mimeapps.list
and has higher precedence.– Ciro Santilli 新疆改造中心 六四事件 法轮功
Jan 19 '17 at 9:08
mimeapps.list
can be put in many directories, full search path at: specifications.freedesktop.org/mime-apps-spec/… I prefer XDG_CONFIG_HOME
which is just ~/.config/mimeapps.list
and has higher precedence.– Ciro Santilli 新疆改造中心 六四事件 法轮功
Jan 19 '17 at 9:08
1
1
I have no file in
~/.local/share/applications
– alhelal
May 21 at 6:12
I have no file in
~/.local/share/applications
– alhelal
May 21 at 6:12
add a comment |
up vote
18
down vote
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
EDIT In newer versions of Ubuntu, follow Paulius's answer, the option has been added to the Properties -> Open With screen.
2
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? :)
– Paulius Šukys
Nov 16 '12 at 0:08
1
@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
add a comment |
up vote
18
down vote
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
EDIT In newer versions of Ubuntu, follow Paulius's answer, the option has been added to the Properties -> Open With screen.
2
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? :)
– Paulius Šukys
Nov 16 '12 at 0:08
1
@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
add a comment |
up vote
18
down vote
up vote
18
down vote
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
EDIT In newer versions of Ubuntu, follow Paulius's answer, the option has been added to the Properties -> Open With screen.
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
EDIT In newer versions of Ubuntu, follow Paulius's answer, the option has been added to the Properties -> Open With screen.
edited Aug 28 '17 at 22:18
answered Dec 24 '11 at 19:27
Sman789
1,43311123
1,43311123
2
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? :)
– Paulius Šukys
Nov 16 '12 at 0:08
1
@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
add a comment |
2
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? :)
– Paulius Šukys
Nov 16 '12 at 0:08
1
@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
2
2
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
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? :)
– Paulius Šukys
Nov 16 '12 at 0:08
@AeroCross, this could be well documented in askubuntu wiki, hm? :)
– Paulius Šukys
Nov 16 '12 at 0:08
1
1
@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
@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
add a comment |
up vote
14
down vote
Choice number one: Open a terminal where your file is and do the following command.
mimeopen -d your_video.avi
There is the output:
Please choose a default application for files of type application/x-ms-dos-executable
1) vlc
2) ...
3) Other...
Use application #3
Use command: vlc %f
Press 1 if you see vlc, if not, chose the Other solution (3 in that case). Then type the name of your application followed by %f.
Choice 2: Generic way
mimeopen .avi
And then do the step above.
1
maybe you can try%U
rather than%f
: the reason is that%f
will only open a single file, while a program capable of opening several files at the same time, or indeed several URLs at the same time will do so with%U
.
– DJCrashdummy
Oct 8 '16 at 13:06
add a comment |
up vote
14
down vote
Choice number one: Open a terminal where your file is and do the following command.
mimeopen -d your_video.avi
There is the output:
Please choose a default application for files of type application/x-ms-dos-executable
1) vlc
2) ...
3) Other...
Use application #3
Use command: vlc %f
Press 1 if you see vlc, if not, chose the Other solution (3 in that case). Then type the name of your application followed by %f.
Choice 2: Generic way
mimeopen .avi
And then do the step above.
1
maybe you can try%U
rather than%f
: the reason is that%f
will only open a single file, while a program capable of opening several files at the same time, or indeed several URLs at the same time will do so with%U
.
– DJCrashdummy
Oct 8 '16 at 13:06
add a comment |
up vote
14
down vote
up vote
14
down vote
Choice number one: Open a terminal where your file is and do the following command.
mimeopen -d your_video.avi
There is the output:
Please choose a default application for files of type application/x-ms-dos-executable
1) vlc
2) ...
3) Other...
Use application #3
Use command: vlc %f
Press 1 if you see vlc, if not, chose the Other solution (3 in that case). Then type the name of your application followed by %f.
Choice 2: Generic way
mimeopen .avi
And then do the step above.
Choice number one: Open a terminal where your file is and do the following command.
mimeopen -d your_video.avi
There is the output:
Please choose a default application for files of type application/x-ms-dos-executable
1) vlc
2) ...
3) Other...
Use application #3
Use command: vlc %f
Press 1 if you see vlc, if not, chose the Other solution (3 in that case). Then type the name of your application followed by %f.
Choice 2: Generic way
mimeopen .avi
And then do the step above.
edited Feb 2 at 22:52
Peter Mortensen
1,03821016
1,03821016
answered Apr 8 '16 at 11:34
Ugo Hed
409614
409614
1
maybe you can try%U
rather than%f
: the reason is that%f
will only open a single file, while a program capable of opening several files at the same time, or indeed several URLs at the same time will do so with%U
.
– DJCrashdummy
Oct 8 '16 at 13:06
add a comment |
1
maybe you can try%U
rather than%f
: the reason is that%f
will only open a single file, while a program capable of opening several files at the same time, or indeed several URLs at the same time will do so with%U
.
– DJCrashdummy
Oct 8 '16 at 13:06
1
1
maybe you can try
%U
rather than %f
: the reason is that %f
will only open a single file, while a program capable of opening several files at the same time, or indeed several URLs at the same time will do so with %U
.– DJCrashdummy
Oct 8 '16 at 13:06
maybe you can try
%U
rather than %f
: the reason is that %f
will only open a single file, while a program capable of opening several files at the same time, or indeed several URLs at the same time will do so with %U
.– DJCrashdummy
Oct 8 '16 at 13:06
add a comment |
up vote
5
down vote
I was having a similar problem with PDFs; I had installed Adobe Reader, but I couldn't get it to open them as the default application - it didn't even show up on the lists!
I checked the mimeapps.list file listed above, and it was already listed as default there.
This is what worked for me finally:
- I right clicked on a PDF and chose "Properties." I opened the "Open
with" tab. - Still no Adobe Reader.
- Clicking on the "Reset" button made Adobe appear as the default, and now it works.
I guess that "Reset" was necessary after the (rather inconventional) installation to register it as the default program.
add a comment |
up vote
5
down vote
I was having a similar problem with PDFs; I had installed Adobe Reader, but I couldn't get it to open them as the default application - it didn't even show up on the lists!
I checked the mimeapps.list file listed above, and it was already listed as default there.
This is what worked for me finally:
- I right clicked on a PDF and chose "Properties." I opened the "Open
with" tab. - Still no Adobe Reader.
- Clicking on the "Reset" button made Adobe appear as the default, and now it works.
I guess that "Reset" was necessary after the (rather inconventional) installation to register it as the default program.
add a comment |
up vote
5
down vote
up vote
5
down vote
I was having a similar problem with PDFs; I had installed Adobe Reader, but I couldn't get it to open them as the default application - it didn't even show up on the lists!
I checked the mimeapps.list file listed above, and it was already listed as default there.
This is what worked for me finally:
- I right clicked on a PDF and chose "Properties." I opened the "Open
with" tab. - Still no Adobe Reader.
- Clicking on the "Reset" button made Adobe appear as the default, and now it works.
I guess that "Reset" was necessary after the (rather inconventional) installation to register it as the default program.
I was having a similar problem with PDFs; I had installed Adobe Reader, but I couldn't get it to open them as the default application - it didn't even show up on the lists!
I checked the mimeapps.list file listed above, and it was already listed as default there.
This is what worked for me finally:
- I right clicked on a PDF and chose "Properties." I opened the "Open
with" tab. - Still no Adobe Reader.
- Clicking on the "Reset" button made Adobe appear as the default, and now it works.
I guess that "Reset" was necessary after the (rather inconventional) installation to register it as the default program.
answered Jun 12 '13 at 18:54
Redbeard
5113
5113
add a comment |
add a comment |
up vote
4
down vote
Here's how I did it without using the Ubuntu Tweak tool. My guide includes file type associations, so that your app will be listed in the "Recommended Applications" when right-clicking the file to see the properties. Guide as follows (I'm using 13.10 Saucy):
When you see a command, run it in terminal, of course :)
cd /usr/share/applications/
cp similar_program.desktop name_of_your_program.desktop
gedit name_of_your_program.desktop
- leave the
[Desktop Entry]
as the top line - modify the type (unless it's the same)
- modify the name (can have spaces)
if you want to add support for the name in other languages just add a new line that says for instance:
Name[es]=PlayonLinux Cargador de programas de Windows
modify the
Exec
(should just sayyourprogram %f
as long as it's a default install with the program in/usr/bin
)- modify the
MimeType
(unless it's the same) - modify the
Icon
(again, if it's a default program installed to (/usr/bin
) this should just sayIcon=name_ of_your_program
NoDisplay=true
StartupNotify=true
- leave the
gedit ~/.local/share/applications/mimeapps.list
In my instance I wanted to add PlayonLinux to select as a program to open
.exe
files, instead of always using WINE. But I wanted Wine to show up too.
In this case, you can leave the top section
[Default Applications]
alone.
Then find the line under[Added Associations]
,
and change it from, in my instance
application/x-ms-dos-executable=wine.desktop;
to
application/x-ms-dos-executable=wine.desktop;playonlinux.desktop;
This way they both options will show up when I try to load a Windows
.exe
file.
If you right-click the properties on the file, and for instance say I eventually do want to make PlayonLinux the default for Windows .exe
files, all I need to do is tell it to be set as default. And it will change. You can check the mimeapps.list
(~/.local/share/applications/mimeapps.list
) to double-check and you'll now see it will have replaced WINE under [Default Applications]
.
maybe you can try%U
rather than%f
: the reason is that%f
will only open a single file, while a program capable of opening several files at the same time, or indeed several URLs at the same time will do so with%U
.
– DJCrashdummy
Oct 8 '16 at 13:04
add a comment |
up vote
4
down vote
Here's how I did it without using the Ubuntu Tweak tool. My guide includes file type associations, so that your app will be listed in the "Recommended Applications" when right-clicking the file to see the properties. Guide as follows (I'm using 13.10 Saucy):
When you see a command, run it in terminal, of course :)
cd /usr/share/applications/
cp similar_program.desktop name_of_your_program.desktop
gedit name_of_your_program.desktop
- leave the
[Desktop Entry]
as the top line - modify the type (unless it's the same)
- modify the name (can have spaces)
if you want to add support for the name in other languages just add a new line that says for instance:
Name[es]=PlayonLinux Cargador de programas de Windows
modify the
Exec
(should just sayyourprogram %f
as long as it's a default install with the program in/usr/bin
)- modify the
MimeType
(unless it's the same) - modify the
Icon
(again, if it's a default program installed to (/usr/bin
) this should just sayIcon=name_ of_your_program
NoDisplay=true
StartupNotify=true
- leave the
gedit ~/.local/share/applications/mimeapps.list
In my instance I wanted to add PlayonLinux to select as a program to open
.exe
files, instead of always using WINE. But I wanted Wine to show up too.
In this case, you can leave the top section
[Default Applications]
alone.
Then find the line under[Added Associations]
,
and change it from, in my instance
application/x-ms-dos-executable=wine.desktop;
to
application/x-ms-dos-executable=wine.desktop;playonlinux.desktop;
This way they both options will show up when I try to load a Windows
.exe
file.
If you right-click the properties on the file, and for instance say I eventually do want to make PlayonLinux the default for Windows .exe
files, all I need to do is tell it to be set as default. And it will change. You can check the mimeapps.list
(~/.local/share/applications/mimeapps.list
) to double-check and you'll now see it will have replaced WINE under [Default Applications]
.
maybe you can try%U
rather than%f
: the reason is that%f
will only open a single file, while a program capable of opening several files at the same time, or indeed several URLs at the same time will do so with%U
.
– DJCrashdummy
Oct 8 '16 at 13:04
add a comment |
up vote
4
down vote
up vote
4
down vote
Here's how I did it without using the Ubuntu Tweak tool. My guide includes file type associations, so that your app will be listed in the "Recommended Applications" when right-clicking the file to see the properties. Guide as follows (I'm using 13.10 Saucy):
When you see a command, run it in terminal, of course :)
cd /usr/share/applications/
cp similar_program.desktop name_of_your_program.desktop
gedit name_of_your_program.desktop
- leave the
[Desktop Entry]
as the top line - modify the type (unless it's the same)
- modify the name (can have spaces)
if you want to add support for the name in other languages just add a new line that says for instance:
Name[es]=PlayonLinux Cargador de programas de Windows
modify the
Exec
(should just sayyourprogram %f
as long as it's a default install with the program in/usr/bin
)- modify the
MimeType
(unless it's the same) - modify the
Icon
(again, if it's a default program installed to (/usr/bin
) this should just sayIcon=name_ of_your_program
NoDisplay=true
StartupNotify=true
- leave the
gedit ~/.local/share/applications/mimeapps.list
In my instance I wanted to add PlayonLinux to select as a program to open
.exe
files, instead of always using WINE. But I wanted Wine to show up too.
In this case, you can leave the top section
[Default Applications]
alone.
Then find the line under[Added Associations]
,
and change it from, in my instance
application/x-ms-dos-executable=wine.desktop;
to
application/x-ms-dos-executable=wine.desktop;playonlinux.desktop;
This way they both options will show up when I try to load a Windows
.exe
file.
If you right-click the properties on the file, and for instance say I eventually do want to make PlayonLinux the default for Windows .exe
files, all I need to do is tell it to be set as default. And it will change. You can check the mimeapps.list
(~/.local/share/applications/mimeapps.list
) to double-check and you'll now see it will have replaced WINE under [Default Applications]
.
Here's how I did it without using the Ubuntu Tweak tool. My guide includes file type associations, so that your app will be listed in the "Recommended Applications" when right-clicking the file to see the properties. Guide as follows (I'm using 13.10 Saucy):
When you see a command, run it in terminal, of course :)
cd /usr/share/applications/
cp similar_program.desktop name_of_your_program.desktop
gedit name_of_your_program.desktop
- leave the
[Desktop Entry]
as the top line - modify the type (unless it's the same)
- modify the name (can have spaces)
if you want to add support for the name in other languages just add a new line that says for instance:
Name[es]=PlayonLinux Cargador de programas de Windows
modify the
Exec
(should just sayyourprogram %f
as long as it's a default install with the program in/usr/bin
)- modify the
MimeType
(unless it's the same) - modify the
Icon
(again, if it's a default program installed to (/usr/bin
) this should just sayIcon=name_ of_your_program
NoDisplay=true
StartupNotify=true
- leave the
gedit ~/.local/share/applications/mimeapps.list
In my instance I wanted to add PlayonLinux to select as a program to open
.exe
files, instead of always using WINE. But I wanted Wine to show up too.
In this case, you can leave the top section
[Default Applications]
alone.
Then find the line under[Added Associations]
,
and change it from, in my instance
application/x-ms-dos-executable=wine.desktop;
to
application/x-ms-dos-executable=wine.desktop;playonlinux.desktop;
This way they both options will show up when I try to load a Windows
.exe
file.
If you right-click the properties on the file, and for instance say I eventually do want to make PlayonLinux the default for Windows .exe
files, all I need to do is tell it to be set as default. And it will change. You can check the mimeapps.list
(~/.local/share/applications/mimeapps.list
) to double-check and you'll now see it will have replaced WINE under [Default Applications]
.
edited Jun 25 at 21:33
David Foerster
27.6k1364109
27.6k1364109
answered Feb 24 '14 at 19:06
user251256
612
612
maybe you can try%U
rather than%f
: the reason is that%f
will only open a single file, while a program capable of opening several files at the same time, or indeed several URLs at the same time will do so with%U
.
– DJCrashdummy
Oct 8 '16 at 13:04
add a comment |
maybe you can try%U
rather than%f
: the reason is that%f
will only open a single file, while a program capable of opening several files at the same time, or indeed several URLs at the same time will do so with%U
.
– DJCrashdummy
Oct 8 '16 at 13:04
maybe you can try
%U
rather than %f
: the reason is that %f
will only open a single file, while a program capable of opening several files at the same time, or indeed several URLs at the same time will do so with %U
.– DJCrashdummy
Oct 8 '16 at 13:04
maybe you can try
%U
rather than %f
: the reason is that %f
will only open a single file, while a program capable of opening several files at the same time, or indeed several URLs at the same time will do so with %U
.– DJCrashdummy
Oct 8 '16 at 13:04
add a comment |
up vote
1
down vote
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
add a comment |
up vote
1
down vote
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
add a comment |
up vote
1
down vote
up vote
1
down vote
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
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
answered Dec 24 '11 at 15:33
Icedrake
1,88582132
1,88582132
add a comment |
add a comment |
up vote
1
down vote
For Dolphin (KDE), right click the file to get a Properties window. Under Type is a button for File Type Options, where you can modify filename extensions. Add the application if it's not in the bottom list. To make it default, move the application you want to the top of the Application Preference Order list.
Screenshot from a more detailed guide:
add a comment |
up vote
1
down vote
For Dolphin (KDE), right click the file to get a Properties window. Under Type is a button for File Type Options, where you can modify filename extensions. Add the application if it's not in the bottom list. To make it default, move the application you want to the top of the Application Preference Order list.
Screenshot from a more detailed guide:
add a comment |
up vote
1
down vote
up vote
1
down vote
For Dolphin (KDE), right click the file to get a Properties window. Under Type is a button for File Type Options, where you can modify filename extensions. Add the application if it's not in the bottom list. To make it default, move the application you want to the top of the Application Preference Order list.
Screenshot from a more detailed guide:
For Dolphin (KDE), right click the file to get a Properties window. Under Type is a button for File Type Options, where you can modify filename extensions. Add the application if it's not in the bottom list. To make it default, move the application you want to the top of the Application Preference Order list.
Screenshot from a more detailed guide:
answered Oct 16 '16 at 22:40
qwr
481418
481418
add a comment |
add a comment |
up vote
1
down vote
I tried a number of these solutions with null result.
Until I went to
- Show Applications
- Settings
- Default Applications
and set VLC to open video and music files...
Then it worked.
(although the mime icon is still not VLC, but it opens in VLC now...)
I see recommendations to install older versions of Nautilus. Perhaps that might work. The current version in Gnome, changes the mime type in the .config directory (when you click Change Default Program,) but then ignores it. The setting in 2) Settings above does change the behavior, however.
– kakunka
Dec 3 at 23:26
add a comment |
up vote
1
down vote
I tried a number of these solutions with null result.
Until I went to
- Show Applications
- Settings
- Default Applications
and set VLC to open video and music files...
Then it worked.
(although the mime icon is still not VLC, but it opens in VLC now...)
I see recommendations to install older versions of Nautilus. Perhaps that might work. The current version in Gnome, changes the mime type in the .config directory (when you click Change Default Program,) but then ignores it. The setting in 2) Settings above does change the behavior, however.
– kakunka
Dec 3 at 23:26
add a comment |
up vote
1
down vote
up vote
1
down vote
I tried a number of these solutions with null result.
Until I went to
- Show Applications
- Settings
- Default Applications
and set VLC to open video and music files...
Then it worked.
(although the mime icon is still not VLC, but it opens in VLC now...)
I tried a number of these solutions with null result.
Until I went to
- Show Applications
- Settings
- Default Applications
and set VLC to open video and music files...
Then it worked.
(although the mime icon is still not VLC, but it opens in VLC now...)
edited Dec 3 at 6:33
zx485
1,45231114
1,45231114
answered Dec 2 at 21:51
kakunka
113
113
I see recommendations to install older versions of Nautilus. Perhaps that might work. The current version in Gnome, changes the mime type in the .config directory (when you click Change Default Program,) but then ignores it. The setting in 2) Settings above does change the behavior, however.
– kakunka
Dec 3 at 23:26
add a comment |
I see recommendations to install older versions of Nautilus. Perhaps that might work. The current version in Gnome, changes the mime type in the .config directory (when you click Change Default Program,) but then ignores it. The setting in 2) Settings above does change the behavior, however.
– kakunka
Dec 3 at 23:26
I see recommendations to install older versions of Nautilus. Perhaps that might work. The current version in Gnome, changes the mime type in the .config directory (when you click Change Default Program,) but then ignores it. The setting in 2) Settings above does change the behavior, however.
– kakunka
Dec 3 at 23:26
I see recommendations to install older versions of Nautilus. Perhaps that might work. The current version in Gnome, changes the mime type in the .config directory (when you click Change Default Program,) but then ignores it. The setting in 2) Settings above does change the behavior, however.
– kakunka
Dec 3 at 23:26
add a comment |
up vote
0
down vote
Thanks to Alvin Liang, I propose to solve this problem by
- installing Nemo (a fork of a former Nautilus version) via
apt-get install nemo
, - clicking on a file of interest, choose "Open with ..." and "Other application ...",
- choose one of the applications in the list and click "Set as default".
Then, you can use Nautilus again with the updated file associations. It is not the most convenient solution, however, it avoids fiddling around with config files in the back.
If possible, please, upvote the following Launchpad issue to get this fixed in Nautilus!
add a comment |
up vote
0
down vote
Thanks to Alvin Liang, I propose to solve this problem by
- installing Nemo (a fork of a former Nautilus version) via
apt-get install nemo
, - clicking on a file of interest, choose "Open with ..." and "Other application ...",
- choose one of the applications in the list and click "Set as default".
Then, you can use Nautilus again with the updated file associations. It is not the most convenient solution, however, it avoids fiddling around with config files in the back.
If possible, please, upvote the following Launchpad issue to get this fixed in Nautilus!
add a comment |
up vote
0
down vote
up vote
0
down vote
Thanks to Alvin Liang, I propose to solve this problem by
- installing Nemo (a fork of a former Nautilus version) via
apt-get install nemo
, - clicking on a file of interest, choose "Open with ..." and "Other application ...",
- choose one of the applications in the list and click "Set as default".
Then, you can use Nautilus again with the updated file associations. It is not the most convenient solution, however, it avoids fiddling around with config files in the back.
If possible, please, upvote the following Launchpad issue to get this fixed in Nautilus!
Thanks to Alvin Liang, I propose to solve this problem by
- installing Nemo (a fork of a former Nautilus version) via
apt-get install nemo
, - clicking on a file of interest, choose "Open with ..." and "Other application ...",
- choose one of the applications in the list and click "Set as default".
Then, you can use Nautilus again with the updated file associations. It is not the most convenient solution, however, it avoids fiddling around with config files in the back.
If possible, please, upvote the following Launchpad issue to get this fixed in Nautilus!
answered Oct 27 at 13:18
Mario
12819
12819
add a comment |
add a comment |
up vote
-1
down vote
System Settings -> Details -> Default Applications
add a comment |
up vote
-1
down vote
System Settings -> Details -> Default Applications
add a comment |
up vote
-1
down vote
up vote
-1
down vote
System Settings -> Details -> Default Applications
System Settings -> Details -> Default Applications
answered Feb 27 '16 at 9:18
daniel
12
12
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f90214%2fhow-do-i-set-the-default-program%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
have a look at libre-software.net/…
– DJCrashdummy
Oct 8 '16 at 12:20
1
as comment below says ... Please vote up this change request to give sanity to how application defaults are set bugs.launchpad.net/hundredpapercuts/+bug/1413283
– Scott Stensland
Nov 16 '17 at 19:05