Change Default Applications from Script [duplicate]
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
3
down vote
favorite
This question already has an answer here:
How do I set the default program?
9 answers
How can I change the default applications from the command line (specifically from a script) in Ubuntu 18.04?
The link below describes setting the default applications from the GUI, and also by editing ~/.local/share/applications/mimeapps.list
. However, it appears mimeapps.list
has been moved or is no longer present in Ubuntu 18.04.
See, e.g.,
How do I set the default program?
command-line scripts 18.04 default-programs
marked as duplicate by David Foerster, waltinator, Kevin Bowen, user535733, user364819 Jul 1 at 6:22
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
3
down vote
favorite
This question already has an answer here:
How do I set the default program?
9 answers
How can I change the default applications from the command line (specifically from a script) in Ubuntu 18.04?
The link below describes setting the default applications from the GUI, and also by editing ~/.local/share/applications/mimeapps.list
. However, it appears mimeapps.list
has been moved or is no longer present in Ubuntu 18.04.
See, e.g.,
How do I set the default program?
command-line scripts 18.04 default-programs
marked as duplicate by David Foerster, waltinator, Kevin Bowen, user535733, user364819 Jul 1 at 6:22
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
Have you tried to create the file in question?
â David Foerster
Jun 25 at 21:33
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
This question already has an answer here:
How do I set the default program?
9 answers
How can I change the default applications from the command line (specifically from a script) in Ubuntu 18.04?
The link below describes setting the default applications from the GUI, and also by editing ~/.local/share/applications/mimeapps.list
. However, it appears mimeapps.list
has been moved or is no longer present in Ubuntu 18.04.
See, e.g.,
How do I set the default program?
command-line scripts 18.04 default-programs
This question already has an answer here:
How do I set the default program?
9 answers
How can I change the default applications from the command line (specifically from a script) in Ubuntu 18.04?
The link below describes setting the default applications from the GUI, and also by editing ~/.local/share/applications/mimeapps.list
. However, it appears mimeapps.list
has been moved or is no longer present in Ubuntu 18.04.
See, e.g.,
How do I set the default program?
This question already has an answer here:
How do I set the default program?
9 answers
command-line scripts 18.04 default-programs
edited Jun 25 at 21:31
![](https://i.stack.imgur.com/E0SEH.png?s=32&g=1)
![](https://i.stack.imgur.com/E0SEH.png?s=32&g=1)
David Foerster
26k1361106
26k1361106
asked Apr 30 at 19:34
user2514157
707
707
marked as duplicate by David Foerster, waltinator, Kevin Bowen, user535733, user364819 Jul 1 at 6:22
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by David Foerster, waltinator, Kevin Bowen, user535733, user364819 Jul 1 at 6:22
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
Have you tried to create the file in question?
â David Foerster
Jun 25 at 21:33
add a comment |Â
1
Have you tried to create the file in question?
â David Foerster
Jun 25 at 21:33
1
1
Have you tried to create the file in question?
â David Foerster
Jun 25 at 21:33
Have you tried to create the file in question?
â David Foerster
Jun 25 at 21:33
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
After using my system for some time, it appears one of my programs caused the file to be created at ~/.config/mimeapps.list
sudo find / -name "mimeapps.list"
cat ~/.config/mimeapps.list
[Added Associations]
image/jpeg=gimp.desktop;
text/x-java=eclipse_eclipse.desktop;
application/json=sublime_text.desktop;
application/rdf+xml=sublime_text.desktop;
text/x-python=sublime_text.desktop;
video/mp4=vlc.desktop;
application/octet-stream=org.gnome.Software.desktop;
application/pdf=evince.desktop;
text/html=org.gnome.gedit.desktop;
text/plain=firefox.desktop;
[Default Applications]
application/ppdf=FoxitReader.desktop
application/octet-stream=FoxitReader.desktop
application/pdf=FoxitReader.desktop
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
After using my system for some time, it appears one of my programs caused the file to be created at ~/.config/mimeapps.list
sudo find / -name "mimeapps.list"
cat ~/.config/mimeapps.list
[Added Associations]
image/jpeg=gimp.desktop;
text/x-java=eclipse_eclipse.desktop;
application/json=sublime_text.desktop;
application/rdf+xml=sublime_text.desktop;
text/x-python=sublime_text.desktop;
video/mp4=vlc.desktop;
application/octet-stream=org.gnome.Software.desktop;
application/pdf=evince.desktop;
text/html=org.gnome.gedit.desktop;
text/plain=firefox.desktop;
[Default Applications]
application/ppdf=FoxitReader.desktop
application/octet-stream=FoxitReader.desktop
application/pdf=FoxitReader.desktop
add a comment |Â
up vote
0
down vote
accepted
After using my system for some time, it appears one of my programs caused the file to be created at ~/.config/mimeapps.list
sudo find / -name "mimeapps.list"
cat ~/.config/mimeapps.list
[Added Associations]
image/jpeg=gimp.desktop;
text/x-java=eclipse_eclipse.desktop;
application/json=sublime_text.desktop;
application/rdf+xml=sublime_text.desktop;
text/x-python=sublime_text.desktop;
video/mp4=vlc.desktop;
application/octet-stream=org.gnome.Software.desktop;
application/pdf=evince.desktop;
text/html=org.gnome.gedit.desktop;
text/plain=firefox.desktop;
[Default Applications]
application/ppdf=FoxitReader.desktop
application/octet-stream=FoxitReader.desktop
application/pdf=FoxitReader.desktop
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
After using my system for some time, it appears one of my programs caused the file to be created at ~/.config/mimeapps.list
sudo find / -name "mimeapps.list"
cat ~/.config/mimeapps.list
[Added Associations]
image/jpeg=gimp.desktop;
text/x-java=eclipse_eclipse.desktop;
application/json=sublime_text.desktop;
application/rdf+xml=sublime_text.desktop;
text/x-python=sublime_text.desktop;
video/mp4=vlc.desktop;
application/octet-stream=org.gnome.Software.desktop;
application/pdf=evince.desktop;
text/html=org.gnome.gedit.desktop;
text/plain=firefox.desktop;
[Default Applications]
application/ppdf=FoxitReader.desktop
application/octet-stream=FoxitReader.desktop
application/pdf=FoxitReader.desktop
After using my system for some time, it appears one of my programs caused the file to be created at ~/.config/mimeapps.list
sudo find / -name "mimeapps.list"
cat ~/.config/mimeapps.list
[Added Associations]
image/jpeg=gimp.desktop;
text/x-java=eclipse_eclipse.desktop;
application/json=sublime_text.desktop;
application/rdf+xml=sublime_text.desktop;
text/x-python=sublime_text.desktop;
video/mp4=vlc.desktop;
application/octet-stream=org.gnome.Software.desktop;
application/pdf=evince.desktop;
text/html=org.gnome.gedit.desktop;
text/plain=firefox.desktop;
[Default Applications]
application/ppdf=FoxitReader.desktop
application/octet-stream=FoxitReader.desktop
application/pdf=FoxitReader.desktop
answered Jun 28 at 11:51
user2514157
707
707
add a comment |Â
add a comment |Â
1
Have you tried to create the file in question?
â David Foerster
Jun 25 at 21:33