{"id":193253,"date":"2020-06-15T10:33:17","date_gmt":"2020-06-15T02:33:17","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=193253"},"modified":"2020-06-06T12:34:29","modified_gmt":"2020-06-06T04:34:29","slug":"arch-linux-kde","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/arch-linux-kde.html","title":{"rendered":"\u5982\u4f55\u5728 Arch Linux \u4e0a\u5b89\u88c5\u548c\u8bbe\u7f6e KDE \u684c\u9762\u73af\u5883\uff1f"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u6211\u76f8\u4fe1\u4f60\u662f\u6309\u7167\u8fd9\u4efd\u5f88\u68d2\u7684\u6307\u5357\u5b89\u88c5\u6765 Arch Linux \u7684\uff0c\u8fd9\u7bc7\u6307\u5357\u6700\u540e\u63d0\u5230\u4e86 GNOME \u684c\u9762\u7684\u5b89\u88c5\u6b65\u9aa4\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u4f46\u73b0\u5728\uff0c\u4e0d\u662f\u6bcf\u4e2a\u4eba\u90fd\u662f GNOME \u7684\u7c89\u4e1d\uff0c\u6709\u51e0\u4e2a\u8bfb\u8005\u8981\u6c42\u6211\u4eec\u5411\u4ed6\u4eec\u5c55\u793a\u5982\u4f55\u5728 Arch Linux \u4e0a\u914d\u7f6e KDE \u684c\u9762\u3002<\/p>\n

\u56e0\u6b64\uff0c\u6211\u521b\u5efa\u4e86\u8fd9\u4e2a\u6307\u5357\u6765\u6f14\u793a\u5982\u4f55\u5728 Arch Linux \u4e0a\u6b63\u786e\u5b89\u88c5\u548c\u914d\u7f6e KDE \u684c\u9762\uff08\u4e5f\u88ab\u79f0\u4e3a KDE Plasma\u684c\u9762\uff09\u7684\u6b65\u9aa4\u3002<\/p>\n

\"\"<\/p>\n

\u5982\u4f55\u5728 Arch Linux \u4e0a\u5b89\u88c5\u548c\u8bbe\u7f6e KDE \u684c\u9762\u73af\u5883\uff1f<\/strong><\/div>\n

\u8bf7\u8bb0\u4f4f\uff0cKDE \u4e0d\u5141\u8bb8\u76f4\u63a5\u4ee5 root \u8eab\u4efd\u767b\u5f55\u3002\u5982\u679c\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86 Arch Linux \u5e76\u4ee5 root \u8eab\u4efd\u4f7f\u7528\uff0c\u4f60\u5e94\u8be5\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u7528\u6237\uff0c\u5e76\u7ed9\u5b83\u4ee5 root \u8eab\u4efd\u8fd0\u884c\u547d\u4ee4\u7684 sudo \u6743\u9650\u3002<\/p>\n

\u5982\u679c\u4f60\u53ea\u662f\u6700\u5c0f\u5316\u5b89\u88c5\u4e86 Arch Linux\uff0c\u90a3\u4e48\u4f60\u53ef\u80fd\u662f\u4ee5 TTY \u7ec8\u7aef\u65b9\u5f0f\u767b\u5f55\u7684\u3002\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662f\u5176\u4ed6\u684c\u9762\u73af\u5883\uff0c\u6b65\u9aa4\u4e5f\u662f\u4e00\u6837\u7684\u3002<\/p>\n

\u8ba9\u6211\u4eec\u5f00\u59cb\u5427!<\/p>\n

\u6b65\u9aa4 1\uff1a\u521b\u5efa\u4e00\u4e2a sudo \u7528\u6237\uff08\u5982\u679c\u4f60\u53ea\u6709 root \u7528\u6237\uff09<\/strong><\/span><\/div>\n

\u4f60\u53ef\u4ee5\u4f7f\u7528 useradd \u547d\u4ee4\u6765\u521b\u5efa\u4e00\u4e2a\u65b0\u7528\u6237\u3002\u6211\u521b\u5efa\u7684\u7528\u6237\u540d\u4e3a dimitrios\uff08\u8fd9\u662f\u6211\u7684\u540d\u5b57\uff09\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u4e0e\u4f60\u7684\u540d\u5b57\u5339\u914d\u7684\u4e1c\u897f\u3002<\/p>\n

\u9009\u9879 -m \u4e3a\u65b0\u521b\u5efa\u7684\u7528\u6237\u521b\u5efa\u4e00\u4e2a\u4e3b\u76ee\u5f55\u3002<\/p>\n

useradd -m dimitrios<\/pre>\n

\u4f60\u8fd8\u5e94\u8be5\u4e3a\u8fd9\u4e2a\u7528\u6237\u8bbe\u7f6e\u4e00\u4e2a\u5bc6\u7801\u3002\u4f7f\u7528\u6b64\u547d\u4ee4\uff1a<\/p>\n

passwd dimitrios<\/pre>\n

\u73b0\u5728\u4f60\u5df2\u7ecf\u521b\u5efa\u4e86\u7528\u6237\uff0c\u7ed9\u5b83 sudo \u6743\u9650\u3002\u9996\u5148\uff0c\u5b89\u88c5 sudo \u548c\u4e00\u4e2a\u50cf nano \u8fd9\u6837\u7684\u547d\u4ee4\u884c\u6587\u672c\u7f16\u8f91\u5668\u3002<\/p>\n

pacman -S sudo nano<\/pre>\n

sudo \u7684\u914d\u7f6e\u6587\u4ef6\u662f \/etc\/sudoers\u3002\u8be5\u6587\u4ef6\u5e94\u8be5\u4f7f\u7528 visudo \u6765\u7f16\u8f91\uff0c\u5b83\u4f1a\u9501\u5b9a sudoers \u6587\u4ef6\uff0c\u5c06\u7f16\u8f91\u7684\u5185\u5bb9\u4fdd\u5b58\u5230\u4e00\u4e2a\u4e34\u65f6\u6587\u4ef6\u4e2d\uff0c\u5e76\u5728\u590d\u5236\u5230 \/etc\/sudoers \u4e4b\u524d\u68c0\u67e5\u8be5\u6587\u4ef6\u7684\u8bed\u6cd5\u3002<\/p>\n

\u8981\u4f7f\u7528 nano \u4f5c\u4e3a visudo \u7f16\u8f91\u5668\uff0c\u8bf7\u8fd9\u6837\u8bbe\u7f6e:<\/p>\n

EDITOR=nano visudo<\/pre>\n

\u50cf\u6211\u7684\u793a\u4f8b\u90a3\u6837\u6dfb\u52a0\u4e0b\u9762\u8fd9\u4e00\u884c\uff0c\u7136\u540e\u4fdd\u5b58\u5e76\u9000\u51fa\u3002<\/p>\n

dimitrios ALL=(ALL) ALL<\/pre>\n

\u4fdd\u5b58\u4f60\u7684\u66f4\u6539\uff0c\u7136\u540e\u9000\u51fa\u7f16\u8f91\u5668\u3002\u4f60\u73b0\u5728\u5728 Arch Linux \u4e0a\u6709\u4e86\u4e00\u4e2a sudo \u7528\u6237\u3002<\/p>\n

\u6b65\u9aa4 2 \uff1a\u5b89\u88c5 KDE Plasma \u684c\u9762<\/strong><\/span><\/div>\n

\u8981\u8fd0\u884c KDE \u684c\u9762\uff0c\u4f60\u9700\u8981\u4ee5\u4e0b\u8f6f\u4ef6\u5305\u3002<\/p>\n

    \n
  • Xorg \u7ec4<\/li>\n
  • KDE Plasma \u684c\u9762\u73af\u5883<\/li>\n
  • Wayland KDE Plasma \u7684\u4f1a\u8bdd<\/li>\n
  • KDE \u5e94\u7528\u7a0b\u5e8f\u7ec4\uff08\u5305\u62ec KDE \u7279\u6709\u7684\u5e94\u7528\u7a0b\u5e8f\uff1aDolphin \u7ba1\u7406\u5668\u548c\u5176\u4ed6\u6709\u7528\u7684\u5e94\u7528\u7a0b\u5e8f\uff09\u3002<\/li>\n<\/ul>\n

    \u4f60\u53ef\u4ee5\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u5b89\u88c5\u4e0a\u8ff0\u90e8\u5206\u3002<\/p>\n

    pacman -S xorg plasma plasma-wayland-session kde-applications<\/pre>\n

    \u5b89\u88c5\u540e\uff0c\u542f\u7528\u663e\u793a\u7ba1\u7406\u5668\u548c\u7f51\u7edc\u7ba1\u7406\u5668\u670d\u52a1\u3002<\/p>\n

    systemctl enable sddm.service\r\nsystemctl enable NetworkManager.service<\/pre>\n

    \u5feb\u5b8c\u6210\u4e86\u3002\u5173\u95ed\u4f60\u7684\u7cfb\u7edf\u3002<\/p>\n

    shutdown now<\/pre>\n

    \u91cd\u65b0\u6253\u5f00\u7cfb\u7edf\u7535\u6e90\uff0c\u4f60\u5e94\u8be5\u4f1a\u770b\u5230 KDE \u7684\u767b\u5f55\u754c\u9762\u3002\u4f60\u8fd8\u8bb0\u5f97\u4e3a\u4f60\u7684 sudo \u7528\u6237\u8bbe\u7f6e\u7684\u5bc6\u7801\u5417\uff1f\u7528\u5b83\u6765\u767b\u5f55\u3002<\/p>\n

    \"\"<\/p>\n

    \u63a5\u4e0b\u6765\uff1f<\/strong><\/div>\n

    \u4f60\u53ef\u80fd\u4f1a\u60f3\u63a2\u7d22\u4e00\u4e0b\u57fa\u672c\u7684 pacman \u547d\u4ee4\uff0c\u4e86\u89e3\u4e00\u4e0b Arch \u7528\u6237\u8d44\u6e90\u5e93\uff0c\u4e86\u89e3\u4e00\u4e0b AUR \u52a9\u624b\u3002<\/p>\n

    \u5e0c\u671b\u8fd9\u7bc7\u6559\u7a0b\u5bf9\u4f60\u5728 Arch Linux \u4e0a\u5b89\u88c5 KDE \u684c\u9762\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

    \u4f46\u73b0\u5728\uff0c\u4e0d\u662f\u6bcf\u4e2a\u4eba\u90fd\u662f GNOME \u7684\u7c89\u4e1d\uff0c\u6709\u51e0\u4e2a\u8bfb\u8005\u8981\u6c42\u6211\u4eec\u5411\u4ed6\u4eec\u5c55\u793a\u5982\u4f55\u5728 Arch Linux \u4e0a\u914d\u7f6e […]<\/p>\n","protected":false},"author":323,"featured_media":87641,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-193253","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\/193253","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=193253"}],"version-history":[{"count":5,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/193253\/revisions"}],"predecessor-version":[{"id":193307,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/193253\/revisions\/193307"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/87641"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=193253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=193253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=193253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}