{"id":45542,"date":"2024-02-13T17:11:08","date_gmt":"2024-02-13T17:11:08","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=45542"},"modified":"2024-05-05T15:12:44","modified_gmt":"2024-05-05T15:12:44","slug":"disable-mobile-broadband-gnome","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/02\/disable-mobile-broadband-gnome\/","title":{"rendered":"How to Disable Mobile Broadband Menu Option in Ubuntu 22.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/gnome-logo-dark.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-44710\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/gnome-logo-dark-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/gnome-logo-dark-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/gnome-logo-dark-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/gnome-logo-dark-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/gnome-logo-dark-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/gnome-logo-dark.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This simple tutorial shows how to get rid of the &#8220;<code>Mobile Broadband<\/code>&#8221; menu option from the upper right system status menu in GNOME Desktop.<\/p>\n<p>GNOME, the default desktop in Ubuntu and Fedora Workstation, has built-in support for mobile broadband. If your computer (usually laptop) has a built-in SIM card slot, then it will show you the &#8220;<b>Mobile Network<\/b>&#8221; page in Settings and &#8220;<b>Mobile Broadband<\/b>&#8221; option in upper right menu.<\/p>\n<p>For those who rarely use this feature, the option is useless but makes the menu longer. So, it&#8217;s a good choice to completely disable it!<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/moble-network-disabled.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45543\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/moble-network-disabled-700x422.webp\" alt=\"\" width=\"610\" height=\"368\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/moble-network-disabled-700x422.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/moble-network-disabled-300x181.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/moble-network-disabled-768x463.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/moble-network-disabled-1320x795.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/moble-network-disabled.webp 1449w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><br \/>\n<!--more--><\/p>\n<h3>Option 1: Disable ModemManager service<\/h3>\n<p>Most Linux uses ModemManager as default mobile broadband management system, to control WWAN (2G\/3G\/4G\/5G) devices and connections. Simply disable the service will also get rid of the corresponding menu options in GNOME Desktop.<\/p>\n<p>1. To do the job, just open terminal (<i>for Ubuntu, press <code>Ctrl+Alt+T<\/code><\/i>) and run command:<\/p>\n<pre>systemctl stop ModemManager.service<\/pre>\n<p><i>This command stops the service and removes the menu option immediately, but only works until reboot.<\/i><\/p>\n<p>2. <b>To permanently disable the service<\/b>, so it won&#8217;t restart in next boot, use command:<\/p>\n<pre>systemctl disable ModemManager.service<\/pre>\n<p>For choice, you may combine the 2 commands into single <code>systemctl disable --now ModemManager.service<\/code> command, which disables the service and stops it immediately.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/disable-modemmanager.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45544\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/disable-modemmanager-700x343.webp\" alt=\"\" width=\"610\" height=\"299\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/disable-modemmanager-700x343.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/disable-modemmanager-300x147.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/disable-modemmanager-768x376.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/disable-modemmanager.webp 786w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>If you also rarely use bluetooth, you may disable it by running commands:<\/p>\n<pre>systemctl stop bluetooth.service<\/pre>\n<pre>systemctl disable bluetooth.service<\/pre>\n<p>The <code>disable<\/code> action does not work for me, due to following error output:<\/p>\n<blockquote><p>Synchronizing state of bluetooth.service with SysV service script with \/lib\/systemd\/systemd-sysv-install.<br \/>\nExecuting: \/lib\/systemd\/systemd-sysv-install disable bluetooth<br \/>\nupdate-rc.d: error: Permission denied<\/p><\/blockquote>\n<p>In the case, you may run <code>systemctl mask bluetooth.service<\/code> to mask the service, so it impossible to load again until un-mask.<\/p>\n<p><b>In addition, you may run command to list all the enabled systemd services:<\/b><\/p>\n<pre>systemctl list-unit-files --type=service --state=enabled<\/pre>\n<p>Then disable any service that you don&#8217;t need (<b>do it carefully, you must know what you&#8217;re going to do<\/b>). For example, disable <code>power-profiles-daemon.service<\/code> if you use another power management tool.<br \/>\n<a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/list-enabled-services.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45545\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/list-enabled-services-700x454.webp\" alt=\"\" width=\"610\" height=\"396\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/list-enabled-services-700x454.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/list-enabled-services-300x195.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/list-enabled-services-768x498.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/list-enabled-services.webp 984w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h4>Re-enable the service<\/h4>\n<p>If you changed your mind, then simply run the 2 commands below one by one to re-enable the service:<\/p>\n<pre>systemctl enable ModemManager.service<\/pre>\n<pre>systemctl start ModemManager.service<\/pre>\n<p>Or, run the single command <code>systemctl enable --now ModemManager.service<\/code> instead! For the masked service, you need to unmask it first via <code>systemctl unmask service_name.service<\/code>.<\/p>\n<h3>Option 2: Disable menu option using Gnome Shell Extension<\/h3>\n<p>Since GNOME 43, meaning Ubuntu 23.10+, Debian 12, Fedora 37 and higher, there&#8217;s a Gnome Shell extension to manage the options in upper right menu (aka Quick Settings).<\/p>\n<p>Ubuntu users can firstly search for and install &#8220;<b>Gnome Extension Manager<\/b>&#8221; from App Center. Then use the tool to search &amp; install &#8216;<code>Quick Settings Tweaker<\/code>&#8216; extension.<\/p>\n<p><i>Due to bug, you may need to switch &#8216;Popularity&#8217; filter to another (such as Recent) to make the extension visible.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/install-qs-tweaker.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43266\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/install-qs-tweaker-600x449.webp\" alt=\"\" width=\"600\" height=\"449\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/install-qs-tweaker-600x449.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/install-qs-tweaker-300x225.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/install-qs-tweaker-768x575.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/10\/install-qs-tweaker.webp 919w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Or, go to the <a href=\"https:\/\/extensions.gnome.org\/extension\/5446\/quick-settings-tweaker\/\" target=\"_blank\" rel=\"noopener\">extension page in web browser<\/a>, then use the ON\/OFF switch to install. <i>If you don&#8217;t see the toggle switch, click the link in the page to install browser extension and refresh.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/install-qstweaker-browser.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45546\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/install-qstweaker-browser-700x431.webp\" alt=\"\" width=\"610\" height=\"376\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/install-qstweaker-browser-700x431.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/install-qstweaker-browser-300x185.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/install-qstweaker-browser-768x473.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/install-qstweaker-browser.webp 1151w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Finally, launch either <b>GNOME Extensions<\/b> app or <b>Extension Manager<\/b> (both available in Gnome Software, Ubuntu Software). Click the settings button for &#8220;Quick Setting Tweaker&#8221; extension. Navigate to &#8220;Quick Toggles&#8221; tab, and turn on any toggle switch to hide from upper right menu.<\/p>\n<p>For the <code>Mobile Broadband<\/code> menu option, just turn on &#8220;NMModemToggle&#8221; option to hide it.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/qs-tweaker-config.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45547\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/qs-tweaker-config-700x586.webp\" alt=\"\" width=\"610\" height=\"511\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/qs-tweaker-config-700x586.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/qs-tweaker-config-300x251.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/qs-tweaker-config-768x643.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/02\/qs-tweaker-config.webp 1129w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>This simple tutorial shows how to get rid of the &#8220;Mobile Broadband&#8221; menu option from the upper right system status menu in GNOME Desktop. GNOME, the default desktop in Ubuntu and Fedora Workstation, has built-in support for mobile broadband. If your computer (usually laptop) has a built-in SIM card slot, then it will show you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":44710,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[689,1317,2005],"class_list":["post-45542","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-gnome","tag-network","tag-systemd"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/45542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=45542"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/45542\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/44710"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=45542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=45542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=45542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}