How to change the default application to open xml file in Ubuntu Bionic Beaver (development branch)?
![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
1
down vote
favorite
I follow this and this to change the default application. But it does not work.
I try to change to Text Editor as default application to open xml file but it does not change. By default it is firefox.
cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Bionic Beaver (development branch)"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
gnome default default-programs
add a comment |Â
up vote
1
down vote
favorite
I follow this and this to change the default application. But it does not work.
I try to change to Text Editor as default application to open xml file but it does not change. By default it is firefox.
cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Bionic Beaver (development branch)"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
gnome default default-programs
possible duplicate of this and this
â ptetteh227
Apr 30 at 8:51
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I follow this and this to change the default application. But it does not work.
I try to change to Text Editor as default application to open xml file but it does not change. By default it is firefox.
cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Bionic Beaver (development branch)"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
gnome default default-programs
I follow this and this to change the default application. But it does not work.
I try to change to Text Editor as default application to open xml file but it does not change. By default it is firefox.
cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Bionic Beaver (development branch)"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
gnome default default-programs
asked Apr 30 at 8:42
![](https://lh5.googleusercontent.com/-_SAgZMQmPgc/AAAAAAAAAAI/AAAAAAAAAKI/l3FmmHtB_Ow/photo.jpg?sz=32)
![](https://lh5.googleusercontent.com/-_SAgZMQmPgc/AAAAAAAAAAI/AAAAAAAAAKI/l3FmmHtB_Ow/photo.jpg?sz=32)
Dipankar Nalui
13929
13929
possible duplicate of this and this
â ptetteh227
Apr 30 at 8:51
add a comment |Â
possible duplicate of this and this
â ptetteh227
Apr 30 at 8:51
possible duplicate of this and this
â ptetteh227
Apr 30 at 8:51
possible duplicate of this and this
â ptetteh227
Apr 30 at 8:51
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
Problem:
sellerp18@sellerp18-MS-7788:~/Desktop/pm_new$ cat -n ~/.config/mimeapps.list | grep xml
7 text/xml=firefox.desktop
8 application/xhtml+xml=firefox.desktop
9 application/rss+xml=firefox.desktop
10 application/rdf+xml=firefox.desktop
82 image/svg+xml=eog.desktop
83 image/svg+xml-compressed=eog.desktop
140 application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop
143 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop
149 application/xml=org.gnome.gedit.desktop
152 text/xml=firefox.desktop;
153 application/rss+xml=firefox.desktop;
154 application/rdf+xml=firefox.desktop;
223 image/svg+xml=eog.desktop;
224 image/svg+xml-compressed=eog.desktop;
272 application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop;
275 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop;
283 application/xml=sublime-text.desktop;libreoffice-writer.desktop;
Solution:
I executed the following command to remove the default application from the file ~/.config/mimeapps.list
sed -i '/xml/d' ~/.config/mimeapps.list
After that, right-click on a .xml file, choose Properties, and click the "Open with" tab.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Problem:
sellerp18@sellerp18-MS-7788:~/Desktop/pm_new$ cat -n ~/.config/mimeapps.list | grep xml
7 text/xml=firefox.desktop
8 application/xhtml+xml=firefox.desktop
9 application/rss+xml=firefox.desktop
10 application/rdf+xml=firefox.desktop
82 image/svg+xml=eog.desktop
83 image/svg+xml-compressed=eog.desktop
140 application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop
143 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop
149 application/xml=org.gnome.gedit.desktop
152 text/xml=firefox.desktop;
153 application/rss+xml=firefox.desktop;
154 application/rdf+xml=firefox.desktop;
223 image/svg+xml=eog.desktop;
224 image/svg+xml-compressed=eog.desktop;
272 application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop;
275 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop;
283 application/xml=sublime-text.desktop;libreoffice-writer.desktop;
Solution:
I executed the following command to remove the default application from the file ~/.config/mimeapps.list
sed -i '/xml/d' ~/.config/mimeapps.list
After that, right-click on a .xml file, choose Properties, and click the "Open with" tab.
add a comment |Â
up vote
1
down vote
Problem:
sellerp18@sellerp18-MS-7788:~/Desktop/pm_new$ cat -n ~/.config/mimeapps.list | grep xml
7 text/xml=firefox.desktop
8 application/xhtml+xml=firefox.desktop
9 application/rss+xml=firefox.desktop
10 application/rdf+xml=firefox.desktop
82 image/svg+xml=eog.desktop
83 image/svg+xml-compressed=eog.desktop
140 application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop
143 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop
149 application/xml=org.gnome.gedit.desktop
152 text/xml=firefox.desktop;
153 application/rss+xml=firefox.desktop;
154 application/rdf+xml=firefox.desktop;
223 image/svg+xml=eog.desktop;
224 image/svg+xml-compressed=eog.desktop;
272 application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop;
275 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop;
283 application/xml=sublime-text.desktop;libreoffice-writer.desktop;
Solution:
I executed the following command to remove the default application from the file ~/.config/mimeapps.list
sed -i '/xml/d' ~/.config/mimeapps.list
After that, right-click on a .xml file, choose Properties, and click the "Open with" tab.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Problem:
sellerp18@sellerp18-MS-7788:~/Desktop/pm_new$ cat -n ~/.config/mimeapps.list | grep xml
7 text/xml=firefox.desktop
8 application/xhtml+xml=firefox.desktop
9 application/rss+xml=firefox.desktop
10 application/rdf+xml=firefox.desktop
82 image/svg+xml=eog.desktop
83 image/svg+xml-compressed=eog.desktop
140 application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop
143 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop
149 application/xml=org.gnome.gedit.desktop
152 text/xml=firefox.desktop;
153 application/rss+xml=firefox.desktop;
154 application/rdf+xml=firefox.desktop;
223 image/svg+xml=eog.desktop;
224 image/svg+xml-compressed=eog.desktop;
272 application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop;
275 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop;
283 application/xml=sublime-text.desktop;libreoffice-writer.desktop;
Solution:
I executed the following command to remove the default application from the file ~/.config/mimeapps.list
sed -i '/xml/d' ~/.config/mimeapps.list
After that, right-click on a .xml file, choose Properties, and click the "Open with" tab.
Problem:
sellerp18@sellerp18-MS-7788:~/Desktop/pm_new$ cat -n ~/.config/mimeapps.list | grep xml
7 text/xml=firefox.desktop
8 application/xhtml+xml=firefox.desktop
9 application/rss+xml=firefox.desktop
10 application/rdf+xml=firefox.desktop
82 image/svg+xml=eog.desktop
83 image/svg+xml-compressed=eog.desktop
140 application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop
143 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop
149 application/xml=org.gnome.gedit.desktop
152 text/xml=firefox.desktop;
153 application/rss+xml=firefox.desktop;
154 application/rdf+xml=firefox.desktop;
223 image/svg+xml=eog.desktop;
224 image/svg+xml-compressed=eog.desktop;
272 application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop;
275 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop;
283 application/xml=sublime-text.desktop;libreoffice-writer.desktop;
Solution:
I executed the following command to remove the default application from the file ~/.config/mimeapps.list
sed -i '/xml/d' ~/.config/mimeapps.list
After that, right-click on a .xml file, choose Properties, and click the "Open with" tab.
answered Apr 30 at 9:08
![](https://lh5.googleusercontent.com/-_SAgZMQmPgc/AAAAAAAAAAI/AAAAAAAAAKI/l3FmmHtB_Ow/photo.jpg?sz=32)
![](https://lh5.googleusercontent.com/-_SAgZMQmPgc/AAAAAAAAAAI/AAAAAAAAAKI/l3FmmHtB_Ow/photo.jpg?sz=32)
Dipankar Nalui
13929
13929
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1030019%2fhow-to-change-the-default-application-to-open-xml-file-in-ubuntu-bionic-beaver%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
possible duplicate of this and this
â ptetteh227
Apr 30 at 8:51