Change Default Applications from Script [duplicate]

Clash Royale CLAN TAG#URR8PPP 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
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