{"id":8895,"date":"2019-04-28T16:17:23","date_gmt":"2019-04-28T16:17:23","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=8895"},"modified":"2020-05-23T15:29:58","modified_gmt":"2020-05-23T15:29:58","slug":"enable-tap-clicking-ubuntu-19-04-gnome-login-screen","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2019\/04\/enable-tap-clicking-ubuntu-19-04-gnome-login-screen\/","title":{"rendered":"Enable Tap Clicking in Ubuntu 19.04 Gnome Login Screen"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/03\/classic-gnome-icon.png\" alt=\"gnome shell\" width=\"245\" height=\"250\" class=\"aligncenter size-full wp-image-5741\" \/><\/p>\n<p>One of the annoying issues in the fresh install of Ubuntu desktop is that the default Gnome Login Screen does not support <i>tap-to-click<\/i> out of the box, which is inconvenient for laptop user without a mouse at hand.<\/p>\n<p>So I&#8217;m going to show you how to enable the function (as well as number lock) in the default Gnome Desktop login screen in Ubuntu 19.04.<\/p>\n<h4>Get GDM user privilege in terminal:<\/h4>\n<p>Open terminal either via <b>Ctrl+Alt+T<\/b> keyboard shortcut or by searching for &#8216;terminal&#8217; from app menu. When it opens, run following commands one by one to get <code>gdm<\/code> user privilege.<\/p>\n<p><b>1.<\/b> Run command to switched to root:<\/p>\n<pre style=\"border:none;\">sudo -i<\/pre>\n<p><i>Type user password (no asterisk feedback due to security reason) when it prompts and hit Enter.<\/i><\/p>\n<p><b>2.<\/b> Run command to allow user <code>gdm<\/code> to make connections to X server.<\/p>\n<pre style=\"border:none;\">xhost +SI:localuser:gdm<\/pre>\n<p><b>3.<\/b> Finally switched to user <code>gdm<\/code> in current terminal window via command:<\/p>\n<pre style=\"border:none;\">su gdm -s \/bin\/bash<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/terminal-gdm-600x166.jpg\" alt=\"\" width=\"600\" height=\"166\" class=\"aligncenter size-large wp-image-8896\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/terminal-gdm-600x166.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/terminal-gdm-450x125.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/terminal-gdm.jpg 737w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>Update May 2020:<\/b> For Ubuntu 20.04, you may need to run one more command:<\/p>\n<pre style=\"border:None;\">export DISPLAY=:0<\/pre>\n<h4>Enable Tap to Click:<\/h4>\n<p>After previous steps, you can finally enable tap-to-click via <code>gdm<\/code> user via command:<\/p>\n<pre style=\"border:none;\">gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/enable-tabclicking-600x134.jpg\" alt=\"\" width=\"600\" height=\"134\" class=\"aligncenter size-large wp-image-8897\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/enable-tabclicking-600x134.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/enable-tabclicking-450x101.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/enable-tabclicking.jpg 729w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>You may also enable &#8216;number lock&#8217; in the terminal window via command:<\/p>\n<pre style=\"border:none;\">gsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state 'on'<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/enable-numlock-600x188.jpg\" alt=\"\" width=\"600\" height=\"188\" class=\"aligncenter size-large wp-image-8898\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/enable-numlock-600x188.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/enable-numlock-450x141.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/enable-numlock-768x241.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/enable-numlock.jpg 769w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h4>How to Restore:<\/h4>\n<p>To restore the changes, first get access <code>gdm<\/code> user privilege in terminal, and then run commands:<\/p>\n<pre style=\"border:none;\">gsettings <b>reset<\/b> org.gnome.desktop.peripherals.touchpad tap-to-click<\/pre>\n<pre style=\"border:none;\">gsettings <b>reset<\/b> org.gnome.settings-daemon.peripherals.keyboard numlock-state<\/pre>","protected":false},"excerpt":{"rendered":"<p>One of the annoying issues in the fresh install of Ubuntu desktop is that the default Gnome Login Screen does not support tap-to-click out of the box, which is inconvenient for laptop user without a mouse at hand. So I&#8217;m going to show you how to enable the function (as well as number lock) in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,6],"tags":[1703],"class_list":["post-8895","post","type-post","status-publish","format-standard","hentry","category-howtos","category-news","tag-tap-clicking-gnome-login"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/8895","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=8895"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/8895\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=8895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=8895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=8895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}