{"id":612,"date":"2014-02-07T09:36:12","date_gmt":"2014-02-07T03:36:12","guid":{"rendered":"http:\/\/alexeyka.zantsev.com\/?p=612"},"modified":"2014-02-13T12:23:19","modified_gmt":"2014-02-13T06:23:19","slug":"xfce-set-default-applications","status":"publish","type":"post","link":"https:\/\/alexeyka.zantsev.com\/?p=612","title":{"rendered":"Debian\/Ubuntu: set default applications (both X11 and console)"},"content":{"rendered":"<p>To set the default web browser type:<\/p>\n<pre>sudo update-alternatives --config x-www-browser<\/pre>\n<p>This will lead to:<\/p>\n<pre>\r\nlexus@lexus:~$ sudo update-alternatives --config x-www-browser\r\nThere are 3 choices for the alternative x-www-browser (providing \/usr\/bin\/x-www-browser).\r\n\r\n  Selection    Path                    Priority   Status\r\n------------------------------------------------------------\r\n  0            \/usr\/bin\/google-chrome   200       auto mode\r\n* 1            \/usr\/bin\/firefox         40        manual mode\r\n  2            \/usr\/bin\/google-chrome   200       manual mode\r\n  3            \/usr\/bin\/opera           200       manual mode\r\n\r\nPress enter to keep the current choice[*], or type selection number: \r\n<\/pre>\n<p>To set default editor:<\/p>\n<pre>update-alternatives --config editor<\/pre>\n<p>To edit (or leave with defaults) all variants, use:<\/p>\n<pre>sudo update-alternatives --all<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>To set the default web browser type: sudo update-alternatives &#8211;config x-www-browser This will lead to: lexus@lexus:~$ sudo update-alternatives &#8211;config x-www-browser There are 3 choices for the alternative x-www-browser (providing \/usr\/bin\/x-www-browser). Selection Path Priority Status &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; 0 \/usr\/bin\/google-chrome 200 auto mode * 1 \/usr\/bin\/firefox 40 manual mode 2 \/usr\/bin\/google-chrome 200 manual mode 3 \/usr\/bin\/opera 200 manual [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[162,41,161,19,160,42],"class_list":["post-612","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-console","tag-debian","tag-gnome","tag-ubuntu","tag-update-alternatives","tag-xfce"],"_links":{"self":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/612","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=612"}],"version-history":[{"count":6,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/612\/revisions"}],"predecessor-version":[{"id":619,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/612\/revisions\/619"}],"wp:attachment":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=612"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}