{"id":6522,"date":"2021-12-24T22:24:30","date_gmt":"2021-12-24T22:24:30","guid":{"rendered":"https:\/\/www.geekdecoder.com\/?p=6522"},"modified":"2021-12-24T22:24:30","modified_gmt":"2021-12-24T22:24:30","slug":"how-to-switch-desktop-environments-in-ubuntu-debian-from-the-command-line","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2021\/12\/24\/how-to-switch-desktop-environments-in-ubuntu-debian-from-the-command-line\/","title":{"rendered":"How to Switch Desktop Environments in Ubuntu\/Debian From the Command Line"},"content":{"rendered":"<p>Switching Between Desktop Environments<\/p>\n<p>To switch between desktop environments on a Debian based distro run the following command:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsudo update-alternatives --config x-session-manager\n<\/pre>\n<p>Then you should be presented with the desktop environments you have installed on your system so you can choose one of them:<\/p>\n<p>There are 7 choices for the alternative x-session-manager (providing \/usr\/bin\/x-session-manager).<\/p>\n<p>  Selection    Path                                   Priority   Status<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\n* 0            \/usr\/bin\/mate-session                   50        auto mode<br \/>\n  1            \/usr\/bin\/cinnamon-session               50        manual mode<br \/>\n  2            \/usr\/bin\/gnome-session                  50        manual mode<br \/>\n  3            \/usr\/bin\/mate-session                   50        manual mode<br \/>\n  4            \/usr\/bin\/startplasma-x11                40        manual mode<br \/>\n  5            \/usr\/bin\/startxfce4                     50        manual mode<br \/>\n  6            \/usr\/bin\/xfce4-session                  40        manual mode<br \/>\n  7            \/usr\/libexec\/gnome-flashback-metacity   40        manual mode<\/p>\n<p>Press <enter> to keep the current choice[*], or type selection number:2<br \/>\nupdate-alternatives: using \/usr\/bin\/gnome-session to provide \/usr\/bin\/x-session-manager (x-session-manager) in manual mode<\/p>\n<p>Then you can fill in the number corresponding to the desktop environment that you want and press enter.<\/p>\n<p>Then you can logout and log back in, and the desktop launched should be the one that you selected.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Switching Between Desktop Environments To switch between desktop environments on a Debian based distro run the following command: sudo update-alternatives &#8211;config x-session-manager Then you should be presented with the desktop environments you have installed on your system so you can choose one of them: There are 7 choices for the alternative x-session-manager (providing \/usr\/bin\/x-session-manager). Selection &#8230; <a title=\"How to Switch Desktop Environments in Ubuntu\/Debian From the Command Line\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2021\/12\/24\/how-to-switch-desktop-environments-in-ubuntu-debian-from-the-command-line\/\" aria-label=\"Read more about How to Switch Desktop Environments in Ubuntu\/Debian From the Command Line\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-6522","post","type-post","status-publish","format-standard","hentry","category-debian"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/6522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=6522"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/6522\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=6522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=6522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=6522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}