{"id":26668,"date":"2022-12-26T09:57:37","date_gmt":"2022-12-26T08:57:37","guid":{"rendered":"https:\/\/ekiwi-blog.de\/?p=26668"},"modified":"2022-12-26T09:57:42","modified_gmt":"2022-12-26T08:57:42","slug":"bluetooth-mouse-on-linux-lags","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/26668\/bluetooth-mouse-on-linux-lags\/","title":{"rendered":"Bluetooth mouse on Linux lags"},"content":{"rendered":"<p>What to do if the Bluetooth mouse jumps in Linux?<\/p>\n<p><!--more--><\/p>\n<p>I use a Bluetooth MX Anywhere 3 mouse I normally use the USB dongle to connect. This is attached to the docking station and is therefore automatically connected. On the road, I use the mouse in Bluetooth mode.<\/p>\n<p>Here Linux (openSuse) once again causes slight problems. I noticed that the mouse jumps slightly. The behaviour is such that after a short mouse pause, the cursor takes a little while to start and move. At the same time it makes a small jump. Looks like an energy-saving measure to me.<\/p>\n<p>I did some research on the subject and indeed you can find many approaches here. I tried the following.<\/p>\n<h2>Change Bluetooth polling interval<\/h2>\n<p>In the first step, we need the address of our Bluetooth device. We can find this out with the following command.<\/p>\n<pre>\r\nbluetoothctl devices | cut -f2 -d' ' | while read uuid; do bluetoothctl info $uuid; done|grep -e \"Device\\|Connected\\|Name\"\r\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/12\/bluetooth_2.png\" alt=\"\" width=\"983\" height=\"199\" class=\"aligncenter size-full wp-image-26661\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/12\/bluetooth_2.png 983w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/12\/bluetooth_2-300x61.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/12\/bluetooth_2-768x155.png 768w\" sizes=\"auto, (max-width: 983px) 100vw, 983px\" \/><\/p>\n<p>Then we need the Bluetooth address of our computer. We can find this in the settings.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/12\/bluetooth_1.png\" alt=\"\" width=\"747\" height=\"364\" class=\"aligncenter size-full wp-image-26663\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/12\/bluetooth_1.png 747w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/12\/bluetooth_1-300x146.png 300w\" sizes=\"auto, (max-width: 747px) 100vw, 747px\" \/><\/p>\n<p>Now we can edit the config file. We use the following command for this.<\/p>\n<pre>\r\nsudo nano \/var\/lib\/bluetooth\/E0\\:D4\\:64\\:6E\\:D8\\:EE\/C3\\:2C\\:97\\:0C\\:AE\\:23\/info\r\n<\/pre>\n<p>As you can see, both of our Bluetooth addresses are inside. First comes that of the computer, then that of the mouse.<\/p>\n<p>In the file we find the settings for &#8220;MinInterval&#8221; and &#8220;MaxInterval&#8221;. The recommendation is to play a little with the values here. 5 or 6 are good values.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/12\/bluetooth_3.png\" alt=\"\" width=\"200\" height=\"102\" class=\"aligncenter size-full wp-image-26665\" \/><\/p>\n<p>We save the file, restart the computer or just the Bluetooth.<\/p>\n<pre>\r\nrfkill block bluetooth\r\nrfkill unblock bluetooth\r\n<\/pre>","protected":false},"excerpt":{"rendered":"<p>What to do if the Bluetooth mouse jumps in Linux?<\/p>\n","protected":false},"author":1,"featured_media":18426,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[1766,1682,1889],"class_list":["post-26668","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en","tag-bluetooth-en","tag-linux-en","tag-opensuse-en"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/26668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=26668"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/26668\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/18426"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=26668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=26668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=26668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}