
{"id":38565,"date":"2022-04-09T15:08:13","date_gmt":"2022-04-09T15:08:13","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=38565"},"modified":"2022-04-09T15:08:13","modified_gmt":"2022-04-09T15:08:13","slug":"hide-username-ubuntu-2204-login-screen","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2022\/04\/hide-username-ubuntu-2204-login-screen\/","title":{"rendered":"Hide Username &#038; Enable Tap to Click in Ubuntu 22.04 Login Screen"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-250x250.png\" alt=\"\" width=\"250\" height=\"250\" class=\"alignleft size-thumbnail wp-image-34682\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-250x250.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-300x300.png 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-600x600.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-768x768.png 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature.png 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>This simple tutorial shows how to hide user list and\/or enable touchpad tap clicking in login screen of Ubuntu 22.04 LTS.<\/p>\n<p>GNOME, the default desktop environment, has some hidden keys to configure the login screen options. However, you need <code>gdm<\/code> (Gnome Display Manager) user privilege who handles the default login.<\/p>\n<p>After following this tutorial, Ubuntu will no longer display usernames in login screen. Instead, you need to manually type user-name and then password to login.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/no-userlist-login-600x450.jpg\" alt=\"\" width=\"600\" height=\"450\" class=\"aligncenter size-large wp-image-38567\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/no-userlist-login-600x450.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/no-userlist-login-300x225.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/no-userlist-login-768x576.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/no-userlist-login.jpg 800w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h3>Option 1: Single command to hide user list from login screen<\/h3>\n<p>Firstly press <b>Ctrl+Alt+T<\/b> keyboard shortcuts to open terminal. When it opens, run the commands below as you need.<\/p>\n<p>1.) Install <code>dbus-x11<\/code> inter-process messaging system by running command:<\/p>\n<pre>sudo apt install dbus-x11<\/pre>\n<p>Without the package, you&#8217;ll get following output when running command in step 2.) to hide user list or enable tap to click.<\/p>\n<blockquote><p>dconf-WARNING **: 15:23:16.101: failed to commit changes to dconf: Failed to execute child process \u201cdbus-launch\u201d (No such file or directory)<\/p><\/blockquote>\n<p>2.) To <b>hide your usernames from login screen<\/b>, use command:<\/p>\n<pre>xhost SI:localuser:gdm && sudo -u gdm gsettings set org.gnome.login-screen disable-user-list true<\/pre>\n<p>This command will first add user <code>gdm<\/code> into access control list. Then toggle the hidden &#8216;disable-user-list&#8217; key via that user privilege.<\/p>\n<p>For choice, you may also run the command below to <b>enable tap-clicking in login screen<\/b>.<\/p>\n<pre>xhost SI:localuser:gdm && sudo -u gdm gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/command-hidelist.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/command-hidelist-600x223.webp\" alt=\"\" width=\"600\" height=\"223\" class=\"aligncenter size-large wp-image-38566\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/command-hidelist-600x223.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/command-hidelist-300x111.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/command-hidelist-768x285.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/command-hidelist.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>To undo the changes, simply re-run the commands in step 2.) by replacing value &#8216;<b>true<\/b>&#8216; to &#8216;<b>false<\/b>&#8216;.<\/p>\n<h3>Option 2: Use a graphical tool to configure login screen<\/h3>\n<p>There&#8217;s a new configuration tool, <code>gdm-settings<\/code>, under development for Ubuntu, Debian, Fedora, Arch and other Linux using GNOME Desktop.<\/p>\n<p>The tool provides an elegant user interface specifically for configuring the GDM login screen, including:<\/p>\n<ul>\n<li><b>change login screen background.<\/b> (Not work for Ubuntu 22.04 so far, at least in my case)<\/li>\n<li>Change fonts, scaling factor.<\/li>\n<li>Configure login screen top bar.<\/li>\n<li>Configure sound, touchpad behavior, nightlight, and more.<\/li>\n<\/ul>\n<p>1.) Firstly, download <code>gdm-settings<\/code> from its project releases page:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/github.com\/realmazharhussain\/gdm-settings\/releases\" target=\"_blank\" rel=\"noreferrer noopener\">Download gdm-settings (under Assets)<\/a><\/div>\n<\/div>\n<p>So far, it&#8217;s AppImage package that works on most Linux!<\/p>\n<p>2.) Right-click on the &#8216;AppImage&#8217; package, and open its &#8220;Properties&#8221; dialog. Then enable &#8216;<i>Allow executing file as program<\/i>&#8216; under Permissions tab. Finally, right-click and select run it to launch the tool.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/run-loginmanager.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/run-loginmanager-600x353.webp\" alt=\"\" width=\"600\" height=\"353\" class=\"aligncenter size-large wp-image-38570\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/run-loginmanager-600x353.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/run-loginmanager-300x177.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/run-loginmanager-768x452.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/run-loginmanager.webp 978w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>3.) When it opens, enable &#8216;tap-to-click&#8217; under Touchpad tab, and disable user list under Miscellaneous.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/login-manager-userlist.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/login-manager-userlist-600x405.webp\" alt=\"\" width=\"600\" height=\"405\" class=\"aligncenter size-large wp-image-38571\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/login-manager-userlist-600x405.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/login-manager-userlist-300x202.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/login-manager-userlist-768x518.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/login-manager-userlist.webp 922w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>After clicking &#8216;Apply&#8217; and typing user password for authentication, you&#8217;ll see the changes in next login.<\/p>","protected":false},"excerpt":{"rendered":"<p>This simple tutorial shows how to hide user list and\/or enable touchpad tap clicking in login screen of Ubuntu 22.04 LTS. GNOME, the default desktop environment, has some hidden keys to configure the login screen options. However, you need gdm (Gnome Display Manager) user privilege who handles the default login. After following this tutorial, Ubuntu [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":34682,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[780],"class_list":["post-38565","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-gdm"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/38565","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=38565"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/38565\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/34682"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=38565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=38565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=38565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}