{"id":102,"date":"2021-08-28T17:29:31","date_gmt":"2021-08-28T17:29:31","guid":{"rendered":"https:\/\/tekweis.com\/?p=102"},"modified":"2023-03-10T10:28:28","modified_gmt":"2023-03-10T16:28:28","slug":"firefox-touchscreen-scrolling","status":"publish","type":"post","link":"https:\/\/tekweis.com\/index.php\/2021\/08\/28\/firefox-touchscreen-scrolling\/","title":{"rendered":"Firefox Touchscreen Scrolling"},"content":{"rendered":"\n<p>When using Firefox on a touchscreen enabled laptop, I noticed that scrolling only worked using the scroll bar and I could not zoom or scroll like is done with mobile devices. I discovered a fix for this by editing the \/etc\/security\/pam_env.conf file and adding a new environment variable.<\/p>\n\n\n\n<p>MOZ_USE_XINPUT2 DEFAULT=1<\/p>\n\n\n\n<p>Save, then reboot. Zoom and scrolling now work as expected on the laptop touchscreen.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"687\" height=\"391\" src=\"https:\/\/tekweis.com\/wp-content\/uploads\/2021\/08\/FirefoxTouchScroll-1.png\" alt=\"\" class=\"wp-image-104\" srcset=\"https:\/\/tekweis.com\/wp-content\/uploads\/2021\/08\/FirefoxTouchScroll-1.png 687w, https:\/\/tekweis.com\/wp-content\/uploads\/2021\/08\/FirefoxTouchScroll-1-300x171.png 300w, https:\/\/tekweis.com\/wp-content\/uploads\/2021\/08\/FirefoxTouchScroll-1-660x376.png 660w\" sizes=\"auto, (max-width: 687px) 100vw, 687px\" \/><\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>When using Firefox on a touchscreen enabled laptop, I noticed that scrolling only worked using the scroll bar and I could not zoom or scroll like is done with mobile devices. I discovered a fix for this by editing the \/etc\/security\/pam_env.conf file and adding a new environment variable. MOZ_USE_XINPUT2 DEFAULT=1 Save, then reboot. Zoom and\u2026 <span class=\"read-more\"><a href=\"https:\/\/tekweis.com\/index.php\/2021\/08\/28\/firefox-touchscreen-scrolling\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-102","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/posts\/102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/comments?post=102"}],"version-history":[{"count":2,"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/posts\/102\/revisions"}],"predecessor-version":[{"id":228,"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/posts\/102\/revisions\/228"}],"wp:attachment":[{"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/media?parent=102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/categories?post=102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tekweis.com\/index.php\/wp-json\/wp\/v2\/tags?post=102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}