{"id":811,"date":"2006-01-12T00:28:00","date_gmt":"2006-01-11T16:28:00","guid":{"rendered":""},"modified":"2024-03-19T21:59:19","modified_gmt":"2024-03-19T13:59:19","slug":"ubunt%e8%ae%be%e7%bd%ae%e7%b3%bb%e7%bb%9f","status":"publish","type":"post","link":"https:\/\/www.fatesky.com\/?p=811","title":{"rendered":"Ubunt\u8bbe\u7f6e\u7cfb\u7edf"},"content":{"rendered":"<p>\u5b89\u88c5ubunt\u4ee5\u540e\u9700\u8981apt-get\u5f88\u591a\u4e1c\u897f\uff0c\u6240\u4ee5\u4f60\u5f97\u9700\u8981\u4e00\u4e2a\u5f88\u597d\u7684\u7f51\u7edc\u73af\u5883\u624d\u80fd\u5b8c\u6210\u4e0b\u9762\u7684\u5de5\u4f5c\u3002<\/p>\n<p>1\u3002\u9996\u5148\u5b89\u88c5\u7cfb\u7edf OK<\/p>\n<p>2\u3002\u66f4\u6539\u8f6f\u4ef6\u5305\u6e90\u3002\u4fee\u6539\/etc\/apt\/sources.list \u6587\u4ef6\uff0c\u4f7f\u7528sudo gedit\u547d\u4ee4\u3002<br \/>\n\u7ec8\u7aef\u547d\u4ee4\uff1a<br \/>\n$\uff1asudo gedit \/etc\/apt\/sources.list<br \/>\n\u5220\u9664\u539f\u6709\u6587\u672c\u4e2d\u7684\u8f6f\u4ef6\u6e90\uff0c\u518d\u6dfb\u52a0\uff1a<br \/>\ndeb http:\/\/cn.archive.ubuntu.com\/ubuntu breezy main restricted universe multiverse<br \/>\ndeb http:\/\/cn.archive.ubuntu.com\/ubuntu breezy-updates main restricted universe multiverse<br \/>\ndeb http:\/\/security.ubuntu.com\/ubuntu breezy-security main restricted universe multiverse<br \/>\ndeb http:\/\/archive.ubuntu.org.cn\/ubuntu warty main restricted universe multiverse<br \/>\ndeb http:\/\/archive.ubuntu.org.cn\/ubuntu warty-security main restricted universe multiverse<br \/>\ndeb http:\/\/archive.ubuntu.org.cn\/ubuntu warty-updates main restricted universe multiverse<br \/>\ndeb http:\/\/archive.ubuntu.org.cn\/ubuntu hoary main restricted universe multiverse<br \/>\ndeb http:\/\/archive.ubuntu.org.cn\/ubuntu hoary-security main restricted universe multiverse<br \/>\ndeb http:\/\/archive.ubuntu.org.cn\/ubuntu hoary-updates main restricted universe multiverse<br \/>\ndeb http:\/\/archive.ubuntu.org.cn\/ubuntu breezy main restricted universe multiverse<br \/>\ndeb http:\/\/archive.ubuntu.org.cn\/ubuntu breezy-security main restricted universe multiverse<br \/>\ndeb http:\/\/archive.ubuntu.org.cn\/ubuntu breezy-updates main restricted universe multiverse<br \/>\ndeb http:\/\/archive.ubuntu.org.cn\/ubuntu-cn ubuntu.org.cn main universe multiverse restricted<br \/>\ndeb http:\/\/archive.ubuntu.org.cn\/backports hoary-backports main universe multiverse restricted<br \/>\ndeb http:\/\/archive.ubuntu.org.cn\/backports hoary-extras main universe multiverse restricted<br \/>\n\u4fdd\u5b58\u6587\u672c\u3002<br \/>\n$\uff1asudo apt-get update<br \/>\n$\uff1asudo apt-get dist-upgrade<\/p>\n<p>3\u3002\u88c5\u597d\u7cfb\u7edf\u4ee5\u540e\uff0c\u8f93\u5165\u9ed8\u8ba4\u662f\u6ca1\u6709\u7684\u3002\u5fc5\u987b\u66f4\u65b0\u4e0b\u8f7d\u5b89\u88c5\u5305\u3002\u4f7f\u7528sudo apt-get\u547d\u4ee4\u4e0b\u8f7d\u8f93\u5165\u6cd5\u3002<br \/>\n\u7ec8\u7aef\u547d\u4ee4\uff1a<br \/>\n$\uff1asudo apt-get install scim scim-gtk2-immodule scim-modules-socket scim-modules-table scim-pinyin scim-tables-zh scim-input-pad<br \/>\n$\uff1asudo sh -c &#8221; echo &#8216;export XMODIFIERS=@im=SCIM ; export GTK_IM_MODULE=&#8221;scim&#8221; ; scim -d &#8216; > \/etc\/X11\/Xsession.d\/95xinput &#8221;<br \/>\n$\uff1asudo chmod +755 \/etc\/X11\/Xsession.d\/95xinput<br \/>\n\u8f93\u5165\u6cd5\u5b89\u88c5\u597d\u4ee5\u540e\uff0c\u6ce8\u9500\u7cfb\u7edf\uff0c\u7136\u540e\u518d\u767b\u5f55\uff0c\u5c31\u53ef\u4ee5\u4f7f\u7528CTRL\uff0b\u7a7a\u683c\u952e\u5207\u6362\u8f93\u5165\u6cd5\u4e86\u3002<\/p>\n<p>4\u3002\u6302\u8f7dWINDOWS\u5206\u533a\uff0c\u4f7f\u7528\u76f8\u5173\u547d\u4ee4mount\u6302\u8f7d\uff0c\u4f7f\u7528umount\u547d\u4ee4\u5378\u8f7d\u3002<br \/>\n\u5148\u5378\u8f7d\u539f\u5148\u7cfb\u7edf\u9ed8\u8ba4\u6302\u8f7d\u7684WIN\u5206\u533a\uff0c\u56e0\u4e3a\u9ed8\u8ba4\u6302\u8f7d\u5b58\u5728\u9519\u8bef\uff0c\u9700\u8981\u4fee\u6539\uff0c\u4f46\u662f\u5728\u4fee\u6539\u4e4b\u524d\uff0c\u5fc5\u987b\u5148\u5378\u8f7d\u3002<br \/>\n\u5378\u8f7dWIN\u5206\u533a\u7684\u7ec8\u7aef\u547d\u4ee4\uff1a<br \/>\n$\uff1asudo umount \/media\/hda1<br \/>\n$\uff1asudo umount \/media\/hda5<br \/>\n$\uff1asudo umount \/media\/hda6<br \/>\n\u7136\u540e\u4fee\u6539\/etc\/fstab\u6587\u4ef6\uff0c\u4f7f\u7528\u4e0a\u9762\u63d0\u5230\u7684sudo\u547d\u4ee4\u3002<br \/>\n$\uff1asudo gedit \/etc\/fstab<br \/>\n\u5220\u9664\u9519\u8bef\u7684\u6302\u8f7d\u547d\u4ee4\uff0c\u4e5f\u5c31\u662f\u90a3\u4e2a\/dev\/hda1,\/dev\/hda5\/,\/dev\/hda6\u76843\u6761\u547d\u4ee4\u3002<br \/>\n\u6dfb\u52a0\u5982\u4e0b\u6b63\u786e\u7684\u547d\u4ee4\uff1a<br \/>\n\/dev\/hda1 \/media\/hda1 ntfs utf8,umask=000 0 0<br \/>\n\/dev\/hda5 \/media\/hda5 ntfs utf8,umask=000 0 0<br \/>\n\/dev\/hda6 \/media\/hda6 vfat utf8,umask=000 0 0<br \/>\n\u4fdd\u5b58\u8fd9\u4e2a\u6587\u672c\u3002\u7136\u540e\u4f7f\u7528\u91cd\u65b0\u81ea\u52a8\u6302\u8f7d\u547d\u4ee4\u6765\u6302\u8f7d\u6211\u4eec\u65b0\u5efa\u7acb\u6302\u8f7d\u3002<br \/>\n$\uff1asudo mount -a<br \/>\n\u6210\u529f\u6302\u8f7d\u4ee5\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u684c\u9762\u4e0a\u5df2\u7ecf\u6709\u6b63\u786e\u7684\u6302\u8f7d\u4e86\uff0c\u6211\u4eec\u53ef\u4ee5\u5c1d\u8bd5\u8fdb\u5165\u8fd9\u4e09\u4e2a\u76ee\u5f55\u3002^-^\uff0c\u53ef\u4ee5\u4e86\u5427\uff1f<\/p>\n<p>5\u3002\u4fee\u6539\u7cfb\u7edf\u5b57\u4f53\uff0c\u4f7f\u7cfb\u7edf\u663e\u793a\u5b57\u4f53\u5b8c\u7f8e\u3002\u6211\u4eec\u9700\u8981WINDOWS\u4e0b\u7684\u5546\u4e1a\u5b57\u4f53\u3002simsun.ttf\u548cSimSun-Bold.ttf\u3002<br \/>\n\u590d\u5236\u8fd9\u4e24\u4e2a\u5b57\u4f53\u5230\u6211\u4eec\u7684\u5b57\u4f53\u6587\u4ef6\u5939\u91cc\uff0c\u4f7f\u7528CP\u547d\u4ee4\u3002\u5982\u4e0b\uff1a<br \/>\n$\uff1asudo cp \/tmp\/simsun.ttf \/usr\/share\/fonts\/truetype\/freefont\/<br \/>\n$\uff1asudo cp \/tmp\/SimSun-Bold.ttf \/usr\/share\/fonts\/truetype\/freefont\/<br \/>\n\u7136\u540e\u4f7f\u7528 \u7cfb\u7edf\uff0d\u9996\u9009\u9879\uff0d\u5b57\u4f53 \u66f4\u6539\u5b57\u4f53,\u5173\u95ed\u3002<br \/>\n\u66f4\u6539\u6d4f\u89c8\u5668\u5b57\u4f53 \u7f16\u8f91\uff0d\u9996\u9009\u9879\uff0d\u5b57\u4f53 \u66f4\u6539\u5b57\u4f53\uff0c\u5173\u95ed\u3002<br \/>\n\u66f4\u672c\u6587\u4ef6\u7f16\u8f91\u5668 \u7f16\u8f91\uff0d\u9996\u9009\u9879\uff0d\u5b57\u4f53 \u66f4\u6539\u5b57\u4f53\uff0c\u5173\u95ed\u3002<br \/>\n\u91cd\u8d77\u7cfb\u7edf\uff0c\u518d\u6b21\u767b\u5f55\uff0c\u7cfb\u7edf\u5b57\u4f53\u597d\u770b\u591a\u4e86\u3002<\/p>\n<p>6\u3002\u5b89\u88c5LumaQQ,\u5230\u7f51\u7ad9http:\/\/lumaqq.linuxsir.org\/main\/?q=node\/231\u4e0b\u8f7d\u9002\u5408\u7684QQ\u7248\u672c\u3002\u6211\u9009\u62e9LumaQQ 2004T \u521d\u59cb\u5b89\u88c5\u5305\uff0c\u5e26JER\u7684\uff0c\u89e3\u538b\u5c31\u80fd\u4f7f\u7528\u3002<br \/>\n\u70b9\u51fb\u4e0b\u8f7d\uff0c\u7136\u540e\u4f7f\u7528tar zxvf\u547d\u4ee4\u89e3\u538b\u7f29\u6587\u4ef6\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<br \/>\n$\uff1asudo tar zxvf lumaqq_2004t-linux_gtk2_x86_with_jre.tar.gz \uff0dC \/opt\/<br \/>\n$\uff1asudo unzip -o lumaqq_2004t_patch_2005.09.05.23.00.zip -d \/opt\/LumaQQ\/lib<br \/>\n$\uff1asudo chown -R root:root \/opt\/LumaQQ\/<br \/>\n$\uff1asudo chmod -R 755 \/opt\/LumaQQ\/<br \/>\n$\uff1asudo gedit \/usr\/share\/applications\/LumaQQ.desktop<br \/>\n\u5728\u65b0\u589e\u7684\u6587\u4ef6\u5185\u52a0\u5165\u4e0b\u9762\u8fd9\u51e0\u884c<br \/>\n[Desktop Entry]<br \/>\nName=LumaQQ<br \/>\nComment=QQ Client<br \/>\nExec=\/opt\/LumaQQ\/lumaqq<br \/>\nIcon=\/opt\/LumaQQ\/QQ.png<br \/>\nTerminal=false<br \/>\nType=Application<br \/>\nCategories=Application;Network;<br \/>\n\u4fdd\u5b58\u7f16\u8f91\u8fc7\u7684\u6587\u4ef6<\/p>\n<p>7\u3002\u66f4\u6539\u5237\u65b0\u7387\uff0c\u9996\u5148\u5907\u4efd\u4f60\u7684\u914d\u7f6e xorg.conf\uff1a<br \/>\n$\uff1asudo cp \/etc\/X11\/xorg.conf \/etc\/X11\/xorg.conf_backup<br \/>\n$\uff1asudo gedit \/etc\/X11\/xorg.conf<br \/>\n\u7136\u540e\u67e5\u627eSection &#8220;Monitor&#8221;\uff0c\u7136\u540e\u540e\u628a\u4e0b\u9762\u7684\u51e0\u5217\u6539\u4e3a\u5982\u4e0b\uff1a<br \/>\nSection &#8220;Monitor&#8221;<br \/>\nIdentifier &#8220;Generic Monitor&#8221;<br \/>\nHorizSync 31-101<br \/>\nVertRefresh 60-160<br \/>\nEndSection<br \/>\n\u91cd\u8d77\u7cfb\u7edf\uff0c\u5c31\u80fd\u4f7f\u752885\u7684\u5237\u65b0\u7387\u4e86\u3002<\/p>\n<p>8\u3002\u5b89\u88c5xine\u591a\u5a92\u4f53\u64ad\u653e\u5668\uff0c\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\uff1a<br \/>\n$\uff1asudo apt-get install xine-ui<br \/>\n\u6307\u5b9a xine-ui \u64ad\u653e\u591a\u5a92\u4f53\u6587\u4ef6<br \/>\n$\uff1agconftool-2 &#8211;type string &#8211;set \/desktop\/gnome\/volume_manager\/autoplay_dvd_command &#8220;xine dvd:\/\/&#8221;<br \/>\n$\uff1asudo rm -f \/usr\/share\/applnk\/Multimedia\/xine.desktop<br \/>\n$\uff1asudo<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b89\u88c5ubunt\u4ee5\u540e\u9700\u8981apt-get\u5f88\u591a\u4e1c\u897f\uff0c\u6240\u4ee5\u4f60\u5f97\u9700\u8981\u4e00\u4e2a\u5f88\u597d\u7684\u7f51\u7edc\u73af\u5883\u624d\u80fd\u5b8c\u6210\u4e0b\u9762\u7684\u5de5\u4f5c\u3002 1\u3002\u9996\u5148\u5b89\u88c5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-811","post","type-post","status-publish","format-standard","hentry","category-2"],"_links":{"self":[{"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/posts\/811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=811"}],"version-history":[{"count":1,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/posts\/811\/revisions"}],"predecessor-version":[{"id":4263,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/posts\/811\/revisions\/4263"}],"wp:attachment":[{"href":"https:\/\/www.fatesky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}