{"id":706,"date":"2023-01-19T20:54:12","date_gmt":"2023-01-19T15:24:12","guid":{"rendered":"https:\/\/www.lguruprasad.in\/blog\/?p=706"},"modified":"2023-01-19T20:54:22","modified_gmt":"2023-01-19T15:24:22","slug":"replacing-the-netspeed-widget-on-kubuntu-22-04-and-newer","status":"publish","type":"post","link":"https:\/\/www.lguruprasad.in\/blog\/2023\/01\/19\/replacing-the-netspeed-widget-on-kubuntu-22-04-and-newer\/","title":{"rendered":"Replacing the Netspeed Widget on Kubuntu 22.04 and newer"},"content":{"rendered":"\n<p>I have been using the <a rel=\"noreferrer noopener\" href=\"https:\/\/store.kde.org\/p\/998895\/\" target=\"_blank\">Netspeed widget<\/a> on my KDE Plasma installations for a long time to display the network download and upload speed in the Plasma panel. When I upgraded to Kubuntu 22.04 a few months ago, I found that it stopped working. After doing some research, I found that the <code>KSysGuard<\/code> package that the widget depends on has been removed from the Debian and Ubuntu repositories as it is unmaintained (<a rel=\"noreferrer noopener\" href=\"https:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=1005973\" target=\"_blank\">Debian bug<\/a>).<\/p>\n\n\n\n<p>Thanks to a useful suggestion on Reddit, I was able to recreate the functionality of this widget using the <code>System Monitor Sensor<\/code> widget. Here is what I did to achieve it.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add the <code>System Monitor Sensor<\/code> widget to the panel.<\/li>\n\n\n\n<li>Right-click the widget and click on the <code>Configure System Monitor Sensor<\/code> option in the menu<\/li>\n\n\n\n<li>In the <code>Appearance<\/code> tab, load the <code>Network speed<\/code> preset, set the <code>Display style<\/code> to <code>Text Only<\/code> and set the <code>Minimum Time Between Updates<\/code> to <code>1 second<\/code>. Apply the changes before proceeding to the next step.<img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"712\" class=\"wp-image-708\" style=\"width: 900px;\" src=\"https:\/\/www.lguruprasad.in\/blog\/wp-content\/uploads\/2023\/01\/system_monitor_sensor_appearance-1.png\" alt=\"System Monitor Sensor widget appearance tab settings\" srcset=\"https:\/\/www.lguruprasad.in\/blog\/wp-content\/uploads\/2023\/01\/system_monitor_sensor_appearance-1.png 1468w, https:\/\/www.lguruprasad.in\/blog\/wp-content\/uploads\/2023\/01\/system_monitor_sensor_appearance-1-300x237.png 300w, https:\/\/www.lguruprasad.in\/blog\/wp-content\/uploads\/2023\/01\/system_monitor_sensor_appearance-1-1024x811.png 1024w, https:\/\/www.lguruprasad.in\/blog\/wp-content\/uploads\/2023\/01\/system_monitor_sensor_appearance-1-768x608.png 768w, https:\/\/www.lguruprasad.in\/blog\/wp-content\/uploads\/2023\/01\/system_monitor_sensor_appearance-1-1280x1013.png 1280w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/li>\n\n\n\n<li>Open the <code>Sensors Details<\/code> tab and in the <code>Text Only Sensors<\/code> field, search for the <code>Download Rate<\/code> sensor. I chose the <code>Download Rate (B\/s)<\/code> version. There is also a <code>Download Rate (b\/s)<\/code> sensor, if you prefer that.<img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"715\" class=\"wp-image-709\" style=\"width: 900px;\" src=\"https:\/\/www.lguruprasad.in\/blog\/wp-content\/uploads\/2023\/01\/system_monitor_sensor_sensors_details.png\" alt=\"System Monitor Sensor widget Sensors Details tab\" srcset=\"https:\/\/www.lguruprasad.in\/blog\/wp-content\/uploads\/2023\/01\/system_monitor_sensor_sensors_details.png 1470w, https:\/\/www.lguruprasad.in\/blog\/wp-content\/uploads\/2023\/01\/system_monitor_sensor_sensors_details-300x238.png 300w, https:\/\/www.lguruprasad.in\/blog\/wp-content\/uploads\/2023\/01\/system_monitor_sensor_sensors_details-1024x814.png 1024w, https:\/\/www.lguruprasad.in\/blog\/wp-content\/uploads\/2023\/01\/system_monitor_sensor_sensors_details-768x610.png 768w, https:\/\/www.lguruprasad.in\/blog\/wp-content\/uploads\/2023\/01\/system_monitor_sensor_sensors_details-1280x1017.png 1280w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/li>\n\n\n\n<li>Click on the small pencil icon edit button just after the name of the widget, <code>Download Rate<\/code>, to edit it. Specify the down arrow symbol, \u2193, as the name. Apply the changes.<\/li>\n\n\n\n<li>Now you have a widget that shows the current download speed on the panel, updated once every second.<\/li>\n\n\n\n<li>Add another <code>System Monitor Sensor<\/code> widget to the panel and configure it to display the <code>Upload Rate<\/code> by following the steps above, tweaked for displaying the upload rate.<\/li>\n\n\n\n<li>The result of doing these steps should look like what is shown in the screenshot below.<img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"129\" class=\"wp-image-710\" style=\"width: 900px;\" src=\"https:\/\/www.lguruprasad.in\/blog\/wp-content\/uploads\/2023\/01\/download_upload_speed_widgets.png\" alt=\"Download and upload speed widgets on the Plasma panel\" srcset=\"https:\/\/www.lguruprasad.in\/blog\/wp-content\/uploads\/2023\/01\/download_upload_speed_widgets.png 504w, https:\/\/www.lguruprasad.in\/blog\/wp-content\/uploads\/2023\/01\/download_upload_speed_widgets-300x43.png 300w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><figure class=\"wp-block-image size-large\"><\/li>\n<\/ul>\n\n\n\n<p>With this, I have a good replacement for the <code>NetSpeed Widget<\/code> on my Kubuntu install.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been using the Netspeed widget on my KDE Plasma installations for a long time to display the network download and upload speed in the Plasma panel. When I upgraded to Kubuntu 22.04 a few months ago, I found that it stopped working. After doing some research, I found that the KSysGuard package that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"","activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[14,34],"tags":[343,317,289,337,340,342,341,344,339],"class_list":["post-706","post","type-post","status-publish","format-standard","hentry","category-gnulinux","category-ubuntu","tag-download-speed","tag-kde","tag-kde-plasma","tag-kubuntu","tag-netspeed-widget","tag-plasma-panel","tag-system-monitor","tag-upload-speed","tag-widget"],"_links":{"self":[{"href":"https:\/\/www.lguruprasad.in\/blog\/wp-json\/wp\/v2\/posts\/706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lguruprasad.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lguruprasad.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lguruprasad.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lguruprasad.in\/blog\/wp-json\/wp\/v2\/comments?post=706"}],"version-history":[{"count":3,"href":"https:\/\/www.lguruprasad.in\/blog\/wp-json\/wp\/v2\/posts\/706\/revisions"}],"predecessor-version":[{"id":713,"href":"https:\/\/www.lguruprasad.in\/blog\/wp-json\/wp\/v2\/posts\/706\/revisions\/713"}],"wp:attachment":[{"href":"https:\/\/www.lguruprasad.in\/blog\/wp-json\/wp\/v2\/media?parent=706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lguruprasad.in\/blog\/wp-json\/wp\/v2\/categories?post=706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lguruprasad.in\/blog\/wp-json\/wp\/v2\/tags?post=706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}