{"id":129660,"date":"2018-12-08T08:26:01","date_gmt":"2018-12-08T00:26:01","guid":{"rendered":"https:\/\/gulass.cn\/?p=129660"},"modified":"2018-12-06T09:28:46","modified_gmt":"2018-12-06T01:28:46","slug":"ubuntu-gdm-login","status":"publish","type":"post","link":"https:\/\/gulass.cn\/ubuntu-gdm-login.html","title":{"rendered":"\u5982\u4f55\u66f4\u6362 Ubuntu 18.04 LTS \u7684 GDM \u767b\u5f55\u754c\u9762\u80cc\u666f"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nUbuntu 18.04 LTS \u684c\u9762\u7cfb\u7edf\u5728\u767b\u5f55\u3001\u9501\u5c4f\u548c\u89e3\u9501\u72b6\u6001\u4e0b\uff0c\u6211\u4eec\u4f1a\u770b\u5230\u4e00\u4e2a\u7eaf\u7d2b\u8272\u7684\u80cc\u666f\u3002\u8fd9\u7bc7\u77ed\u6587\u5c06\u4f1a\u544a\u8bc9\u4f60\u5982\u4f55\u66f4\u6362 Ubuntu 18.04 LTS \u7684 GDM \u767b\u5f55\u754c\u9762\u7684\u80cc\u666f\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

Ubuntu 18.04 LTS \u684c\u9762\u7cfb\u7edf\u5728\u767b\u5f55\u3001\u9501\u5c4f\u548c\u89e3\u9501\u72b6\u6001\u4e0b\uff0c\u6211\u4eec\u4f1a\u770b\u5230\u4e00\u4e2a\u7eaf\u7d2b\u8272\u7684\u80cc\u666f\u3002\u5b83\u662fGDM\uff08GNOME \u663e\u793a\u7ba1\u7406\u5668<\/ruby>\uff09\u4ece ubuntu 17.04 \u7248\u672c\u5f00\u59cb\u4f7f\u7528\u7684\u9ed8\u8ba4\u80cc\u666f\u3002\u6709\u4e00\u4e9b\u4eba\u53ef\u80fd\u4f1a\u4e0d\u559c\u6b22\u8fd9\u4e2a\u7eaf\u8272\u7684\u80cc\u666f\uff0c\u60f3\u6362\u4e00\u4e2a\u9177\u4e00\u70b9\u3001\u66f4\u5438\u775b\u7684\uff01\u5982\u679c\u662f\u8fd9\u6837\uff0c\u4f60\u627e\u5bf9\u5730\u65b9\u4e86\u3002<\/p>\n

\u66f4\u6362 Ubuntu \u7684\u767b\u5f55\u754c\u9762\u80cc\u666f<\/strong><\/div>\n

\u8fd9\u662f Ubuntu 18.04 LTS \u684c\u9762\u7cfb\u7edf\u9ed8\u8ba4\u7684\u767b\u5f55\u754c\u9762\u3002<\/p>\n

\"\"<\/p>\n

\u4e0d\u7ba1\u4f60\u559c\u6b22\u4e0e\u5426\uff0c\u4f60\u603b\u662f\u4f1a\u4e0d\u7ecf\u610f\u5728\u767b\u5f55\u3001\u89e3\u5c4f\/\u9501\u5c4f\u7684\u65f6\u9762\u5bf9\u5b83\u3002\u522b\u62c5\u5fc3\uff01\u4f60\u53ef\u4ee5\u968f\u4fbf\u66f4\u6362\u4e00\u4e2a\u4f60\u559c\u6b22\u7684\u56fe\u7247\u3002<\/p>\n

\u5728 Ubuntu \u4e0a\u66f4\u6362\u684c\u9762\u58c1\u7eb8\u548c\u7528\u6237\u7684\u8d44\u6599\u56fe\u50cf\u4e0d\u96be\u3002\u6211\u4eec\u53ef\u4ee5\u70b9\u51fb\u9f20\u6807\u5c31\u641e\u5b9a\u4e86\u3002\u4f46\u66f4\u6362\u89e3\u5c4f\/\u9501\u5c4f\u7684\u80cc\u666f\u5219\u9700\u8981\u4fee\u6539\u6587\u4ef6 ubuntu.css\uff0c\u5b83\u4f4d\u4e8e \/usr\/share\/gnome-shell\/theme\u3002<\/p>\n

\u4fee\u6539\u8fd9\u4e2a\u6587\u4ef6\u4e4b\u524d\uff0c\u6700\u597d\u5907\u4efd\u4e00\u4e0b\u5b83\u3002\u8fd9\u6837\u6211\u4eec\u53ef\u4ee5\u907f\u514d\u51fa\u73b0\u95ee\u9898\u65f6\u53ef\u4ee5\u6062\u590d\u5b83\u3002<\/p>\n

$ sudo cp \/usr\/share\/gnome-shell\/theme\/ubuntu.css \/usr\/share\/gnome-shell\/theme\/ubuntu.css.bak<\/pre>\n

\u4fee\u6539\u6587\u4ef6 ubuntu.css\uff1a<\/p>\n

$ sudo nano \/usr\/share\/gnome-shell\/theme\/ubuntu.css<\/pre>\n

\u5728\u6587\u4ef6\u4e2d\u627e\u5230\u5173\u952e\u5b57 lockDialogGroup\uff0c\u5982\u4e0b\u884c\uff1a<\/p>\n

#lockDialogGroup {\r\nbackground: #2c001e url(resource:\/\/\/org\/gnome\/shell\/theme\/noise-texture.png);\r\nbackground-repeat: repeat;\r\n}<\/pre>\n

\"\"<\/p>\n

\u53ef\u4ee5\u770b\u5230\uff0cGDM \u9ed8\u8ba4\u767b\u5f55\u7684\u80cc\u666f\u56fe\u7247\u662f noise-texture.png\u3002<\/p>\n

\u73b0\u5728\u4fee\u6539\u4e3a\u4f60\u81ea\u5df1\u7684\u56fe\u7247\u8def\u5f84\u3002\u4e5f\u53ef\u4ee5\u9009\u62e9 .jpg \u6216 .png \u683c\u5f0f\u7684\u6587\u4ef6\uff0c\u4e24\u79cd\u683c\u5f0f\u7684\u56fe\u7247\u6587\u4ef6\u90fd\u662f\u652f\u6301\u7684\u3002\u4fee\u6539\u5b8c\u6210\u540e\u7684\u6587\u4ef6\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n

#lockDialogGroup {\r\nbackground: #2c001e url(file:\/\/\/home\/sk\/image.png);\r\nbackground-repeat: no-repeat;\r\nbackground-size: cover;\r\nbackground-position: center;\r\n}<\/pre>\n

\u8bf7\u6ce8\u610f ubuntu.css \u6587\u4ef6\u91cc\u8fd9\u4e2a\u5173\u952e\u5b57\u7684\u4fee\u6539\uff0c\u6211\u628a\u4fee\u6539\u70b9\u52a0\u7c97\u4e86\u3002<\/p>\n

\u4f60\u53ef\u80fd\u6ce8\u610f\u5230\uff0c\u6211\u628a\u539f\u6765\u7684 ... url(resource:\/\/\/org\/gnome\/shell\/theme\/noise-texture.png); \u4fee\u6539\u4e3a ... url(file:\/\/\/home\/sk\/image.png);\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u4f60\u53ef\u4ee5\u628a ... url(resource ... \u4fee\u6539\u4e3a .. url(file ...\u3002<\/p>\n

\u540c\u65f6\uff0c\u4f60\u53ef\u4ee5\u628a\u53c2\u6570 background-repeat: \u7684\u503c repeat \u4fee\u6539\u4e3a no-repeat\uff0c\u5e76\u589e\u52a0\u53e6\u5916\u4e24\u884c\u3002\u4f60\u53ef\u4ee5\u76f4\u63a5\u590d\u5236\u4e0a\u9762\u51e0\u884c\u7684\u4fee\u6539\u5230\u4f60\u7684 ubuntu.css \u6587\u4ef6\uff0c\u5bf9\u5e94\u7684\u4fee\u6539\u4e3a\u4f60\u7684\u56fe\u7247\u8def\u5f84\u3002<\/p>\n

\u4fee\u6539\u5b8c\u6210\u540e\uff0c\u4fdd\u5b58\u548c\u5173\u95ed\u6b64\u6587\u4ef6\u3002\u7136\u540e\u7cfb\u7edf\u91cd\u542f\u751f\u6548\u3002<\/p>\n

\u4e0b\u9762\u662f GDM \u767b\u5f55\u754c\u9762\u7684\u6700\u65b0\u80cc\u666f\u56fe\u7247\uff1a<\/p>\n

\"\"<\/p>\n

\u662f\u4e0d\u662f\u5f88\u9177\uff0c\u4f60\u90fd\u770b\u5230\u4e86\uff0c\u66f4\u6362 GDM \u767b\u5f55\u7684\u9ed8\u8ba4\u80cc\u666f\u5f88\u7b80\u5355\u3002\u4f60\u53ea\u9700\u8981\u4fee\u6539 ubuntu.css \u6587\u4ef6\u4e2d\u56fe\u7247\u7684\u8def\u5f84\u7136\u540e\u91cd\u542f\u7cfb\u7edf\u3002\u662f\u4e0d\u662f\u5f88\u7b80\u5355\u4e5f\u5f88\u6709\u610f\u601d.<\/p>\n

\u4f60\u53ef\u4ee5\u4fee\u6539 \/usr\/share\/gnome-shell\/theme \u76ee\u5f55\u4e0b\u7684\u6587\u4ef6 gdm3.css \uff0c\u5177\u4f53\u4fee\u6539\u5185\u5bb9\u548c\u4fee\u6539\u7ed3\u679c\u548c\u4e0a\u9762\u4e00\u6837\u3002\u540c\u65f6\u8bb0\u5f97\u4fee\u6539\u524d\u5907\u4efd\u8981\u4fee\u6539\u7684\u6587\u4ef6\u3002<\/p>\n

\u5c31\u8fd9\u4e9b\u4e86\u3002\u5982\u679c\u6709\u597d\u7684\u4e1c\u4e1c\u518d\u5206\u4eab\u4e86\uff0c\u8bf7\u5927\u5bb6\u5173\u6ce8\uff01<\/p>\n

\u540e\u4f1a\u6709\u671f\u3002<\/p>\n


\n

via: https:\/\/www.ostechnix.com\/how-to-change-gdm-login-screen-background-in-ubuntu\/<\/a><\/p>\n

\u4f5c\u8005\uff1aSK<\/a> \u9009\u9898\uff1alujun9972<\/a> \u8bd1\u8005\uff1aGuevaraya<\/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":"

Ubuntu 18.04 LTS \u684c\u9762\u7cfb\u7edf\u5728\u767b\u5f55\u3001\u9501\u5c4f\u548c\u89e3\u9501\u72b6\u6001\u4e0b\uff0c\u6211\u4eec\u4f1a\u770b\u5230\u4e00\u4e2a\u7eaf\u7d2b\u8272\u7684\u80cc\u666f\u3002\u5b83\u662fGDM\uff08G […]<\/p>\n","protected":false},"author":323,"featured_media":92803,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-129660","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/129660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/323"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=129660"}],"version-history":[{"count":11,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/129660\/revisions"}],"predecessor-version":[{"id":130102,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/129660\/revisions\/130102"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/92803"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=129660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=129660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=129660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}