{"id":153131,"date":"2019-08-15T08:16:43","date_gmt":"2019-08-15T00:16:43","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=153131"},"modified":"2019-08-08T13:20:23","modified_gmt":"2019-08-08T05:20:23","slug":"ubuntu-gdm","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/ubuntu-gdm.html","title":{"rendered":"\u5728 Ubuntu \u767b\u5f55\u5c4f\u5e55\u4e0a\u542f\u7528\u8f7b\u51fb"},"content":{"rendered":"
\u5b89\u88c5 Ubuntu \u540e\u6211\u505a\u7684\u7b2c\u4e00\u4ef6\u4e8b\u5c31\u662f\u786e\u4fdd\u542f\u7528\u4e86\u8f7b\u51fb\u529f\u80fd\u3002\u4f5c\u4e3a\u7b14\u8bb0\u672c\u7535\u8111\u7528\u6237\uff0c\u6211\u66f4\u559c\u6b22\u8f7b\u51fb\u89e6\u6478\u677f\u8fdb\u884c\u5de6\u952e\u5355\u51fb\u3002\u8fd9\u6bd4\u4f7f\u7528\u89e6\u6478\u677f\u4e0a\u7684\u5de6\u952e\u5355\u51fb\u6309\u94ae\u66f4\u65b9\u4fbf\u3002<\/p>\n
\u6211\u767b\u5f55\u5e76\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u65f6\u53ef\u4ee5\u8f7b\u51fb\u3002\u4f46\u662f\uff0c\u5982\u679c\u4f60\u5728\u767b\u5f55\u5c4f\u5e55\u4e0a\uff0c\u8f7b\u51fb\u4e0d\u8d77\u4f5c\u7528\uff0c\u8fd9\u662f\u4e00\u4e2a\u70e6\u607c\u3002<\/p>\n
\u5728 Ubuntu\uff08\u6216\u4f7f\u7528 GNOME \u684c\u9762\u7684\u5176\u4ed6\u53d1\u884c\u7248\uff09\u7684 GDM \u767b\u5f55\u5c4f\u5e55\u4e0a\uff0c\u4f60\u5fc5\u987b\u5355\u51fb\u7528\u6237\u540d\u624d\u80fd\u663e\u793a\u5bc6\u7801\u5b57\u6bb5\u3002\u73b0\u5728\uff0c\u5982\u679c\u4f60\u4e60\u60ef\u4e86\u8f7b\u51fb\uff0c\u5373\u4f7f\u4f60\u5df2\u542f\u7528\u4e86\u5b83\u5e76\u5728\u767b\u5f55\u7cfb\u7edf\u540e\u53ef\u4ee5\u4f7f\u7528\uff0c\u5b83\u4e5f\u65e0\u6cd5\u5728\u767b\u5f55\u5c4f\u5e55\u4e0a\u8fd0\u884c\u3002<\/p>\n
\u8fd9\u662f\u4e00\u4e2a\u8f7b\u5fae\u7684\u70e6\u607c\uff0c\u4f46\u4ecd\u7136\u662f\u4e00\u4e2a\u70e6\u607c\u3002\u597d\u6d88\u606f\u662f\u4f60\u53ef\u4ee5\u89e3\u51b3\u8fd9\u4e2a\u70e6\u607c\u3002\u8ba9\u6211\u544a\u8bc9\u4f60\u5982\u4f55\u5728\u8fd9\u4e2a\u5feb\u901f\u63d0\u793a\u4e2d\u505a\u5230\u8fd9\u4e00\u70b9\u3002<\/p>\n
\u4f60\u5fc5\u987b\u5728\u8fd9\u91cc\u4f7f\u7528\u7ec8\u7aef\u548c\u4e00\u4e9b\u547d\u4ee4\u3002\u6211\u5e0c\u671b\u4f60\u80fd\u591f\u9002\u5e94\u3002<\/p>\n
\u5728 Ubuntu \u4e2d\u4f7f\u7528 Ctrl + Alt + T \u5feb\u6377\u952e\u6253\u5f00\u7ec8\u7aef\u3002\u7531\u4e8e Ubuntu 18.04 \u4ecd\u5728\u4f7f\u7528 X \u663e\u793a\u670d\u52a1\u5668\uff0c\u56e0\u6b64\u9700\u8981\u542f\u7528\u5b83\u624d\u80fd\u8fde\u63a5\u5230 X \u670d\u52a1\u5668\u3002\u4e3a\u6b64\uff0c\u4f60\u53ef\u4ee5\u5c06 gdm \u6dfb\u52a0\u5230\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u4e2d\u3002<\/p>\n
\u9996\u5148\u5207\u6362\u5230 root \u7528\u6237\u3002\u8fd9\u662f\u5fc5\u9700\u7684\uff0c\u56e0\u4e3a\u4f60\u5fc5\u987b\u7a0d\u540e\u5207\u6362\u4e3a gdm \u7528\u6237\uff0c\u800c\u4e0d\u80fd\u4ee5\u975e root \u7528\u6237\u8eab\u4efd\u6267\u884c\u6b64\u64cd\u4f5c\u3002<\/p>\n
sudo -i<\/pre>\n\u5728 Ubuntu \u4e2d\u6ca1\u6709\u4e3a root \u7528\u6237\u8bbe\u7f6e\u5bc6\u7801\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u7ba1\u7406\u5458\u7528\u6237\u5e10\u6237\u8bbf\u95ee\u5b83\u3002\u56e0\u6b64\uff0c\u5f53\u8981\u6c42\u8f93\u5165\u5bc6\u7801\u65f6\uff0c\u8bf7\u4f7f\u7528\u4f60\u81ea\u5df1\u7684\u5bc6\u7801\u3002\u8f93\u5165\u5bc6\u7801\u65f6\uff0c\u5c4f\u5e55\u4e0a\u4e0d\u4f1a\u663e\u793a\u4efb\u4f55\u8f93\u5165\u5185\u5bb9\u3002<\/p>\n
xhost +SI:localuser:gdm<\/pre>\n\u8fd9\u662f\u6211\u7684\u8f93\u51fa\uff1a<\/p>\n
xhost +SI:localuser:gdm\r\nlocaluser:gdm being added to access control list<\/pre>\n\u73b0\u5728\u8fd0\u884c\u6b64\u547d\u4ee4\uff0c\u4ee5\u4fbf gdm \u7528\u6237\u5177\u6709\u6b63\u786e\u7684\u8f7b\u51fb\u8bbe\u7f6e\u3002<\/p>\n
gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true\r\n\u5982\u679c\u4f60\u770b\u5230\u8fd9\u6837\u7684\u8b66\u544a\uff1a\r\n(process:6339): dconf-WARNING **: 19:52:21.217: Unable to open \/root\/.local\/share\/flatpak\/exports\/share\/dconf\/profile\/user: Permission denied\u3002<\/pre>\n\u522b\u62c5\u5fc3\u3002\u5ffd\u7565\u5b83\u5c31\u884c\u3002<\/p>\n
\u8fd9\u5c06\u4f7f\u4f60\u80fd\u591f\u8f7b\u51fb\u767b\u5f55\u5c4f\u5e55\u3002\u4e3a\u4ec0\u4e48\u5728\u7cfb\u7edf\u8bbe\u7f6e\u4e2d\u8fdb\u884c\u66f4\u6539\u4e4b\u524d\u65e0\u6cd5\u4f7f\u7528\u8f7b\u51fb\uff1f\u8fd9\u662f\u56e0\u4e3a\u5728\u767b\u5f55\u5c4f\u5e55\u4e0a\uff0c\u4f60\u8fd8\u6ca1\u6709\u9009\u62e9\u7528\u6237\u540d\u3002\u53ea\u6709\u5728\u5c4f\u5e55\u4e0a\u9009\u62e9\u7528\u6237\u65f6\u624d\u80fd\u4f7f\u7528\u4f60\u7684\u5e10\u6237\u3002\u8fd9\u5c31\u662f\u4f60\u5fc5\u987b\u4f7f\u7528\u7528\u6237 gdm \u5e76\u4f7f\u7528\u5b83\u6dfb\u52a0\u6b63\u786e\u8bbe\u7f6e\u7684\u539f\u56e0\u3002<\/p>\n
\u91cd\u65b0\u542f\u52a8 Ubuntu\uff0c\u4f60\u4f1a\u770b\u5230\u73b0\u5728\u53ef\u4ee5\u4f7f\u7528\u8f7b\u51fb\u6765\u9009\u62e9\u4f60\u7684\u7528\u6237\u5e10\u6237\u3002<\/p>\n
\u8fd8\u539f\u6539\u53d8<\/strong><\/div>\n\u5982\u679c\u4f60\u56e0\u4e3a\u67d0\u4e9b\u539f\u56e0\u4e0d\u559c\u6b22\u5728 Ubuntu \u767b\u5f55\u754c\u9762\u8f7b\u51fb\uff0c\u53ef\u4ee5\u8fd8\u539f\u66f4\u6539\u3002<\/p>\n
\u4f60\u5fc5\u987b\u6267\u884c\u4e0a\u4e00\u8282\u4e2d\u7684\u6240\u6709\u6b65\u9aa4\uff1a\u5207\u6362\u5230 root\uff0c\u5c06 gdm \u4e0e X \u670d\u52a1\u5668\u8fde\u63a5\uff0c\u5207\u6362\u5230 gdm \u7528\u6237\u3002\u4f46\u662f\uff0c\u4f60\u9700\u8981\u8fd0\u884c\u6b64\u547d\u4ee4\uff0c\u800c\u4e0d\u662f\u4e0a\u4e00\u4e2a\u547d\u4ee4\uff1a<\/p>\n
gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click false<\/pre>\n\u5c31\u662f\u8fd9\u6837\u3002<\/p>\n
\u6b63\u5982\u6211\u6240\u8bf4\uff0c\u8fd9\u662f\u4e00\u4ef6\u5c0f\u4e8b\u3002\u6211\u7684\u610f\u601d\u662f\u4f60\u53ef\u4ee5\u8f7b\u677e\u5730\u70b9\u51fb\u5de6\u952e\u800c\u4e0d\u662f\u8f7b\u51fb\u3002\u8fd9\u53ea\u662f\u4e00\u6b21\u5355\u51fb\u7684\u95ee\u9898\u3002\u4f46\u662f\uff0c\u5f53\u4f60\u5728\u51e0\u6b21\u8f7b\u51fb\u540e\u88ab\u8feb\u4f7f\u7528\u5de6\u952e\u5355\u51fb\u65f6\uff0c\u5b83\u4f1a\u6253\u7834\u64cd\u4f5c\u201c\u8fde\u7eed\u6027\u201d\u3002<\/p>\n
\u6211\u5e0c\u671b\u4f60\u559c\u6b22\u8fd9\u4e2a\u5feb\u901f\u7684\u5c0f\u8c03\u6574\u3002\u5982\u679c\u4f60\u77e5\u9053\u5176\u4ed6\u4e00\u4e9b\u5f88\u9177\u7684\u8c03\u6574\uff0c\u8bf7\u4e0e\u6211\u4eec\u5206\u4eab\u3002<\/p>\n
\nvia: https:\/\/itsfoss.com\/enable-tap-to-click-on-ubuntu-login-screen\/<\/a><\/p>\n
\u4f5c\u8005\uff1aAbhishek Prakash<\/a> \u9009\u9898\uff1alujun9972<\/a> \u8bd1\u8005\uff1awxy<\/a> \u6821\u5bf9\uff1awxy<\/a><\/p>\n
\u672c\u6587\u7531 LCTT<\/a> \u539f\u521b\u7f16\u8bd1\uff0cLinux\u4e2d\u56fd<\/a> \u8363\u8a89\u63a8\u51fa<\/p>\n","protected":false},"excerpt":{"rendered":"
\u5b89\u88c5 Ubuntu \u540e\u6211\u505a\u7684\u7b2c\u4e00\u4ef6\u4e8b\u5c31\u662f\u786e\u4fdd\u542f\u7528\u4e86\u8f7b\u51fb\u529f\u80fd\u3002\u4f5c\u4e3a\u7b14\u8bb0\u672c\u7535\u8111\u7528\u6237\uff0c\u6211\u66f4\u559c\u6b22\u8f7b\u51fb\u89e6\u6478\u677f\u8fdb\u884c\u5de6\u952e\u5355\u51fb […]<\/p>\n","protected":false},"author":323,"featured_media":123692,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-153131","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/153131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/323"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=153131"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/153131\/revisions"}],"predecessor-version":[{"id":153183,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/153131\/revisions\/153183"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/123692"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=153131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=153131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=153131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}