日本黄色一级经典视频|伊人久久精品视频|亚洲黄色色周成人视频九九九|av免费网址黄色小短片|黄色Av无码亚洲成年人|亚洲1区2区3区无码|真人黄片免费观看|无码一级小说欧美日免费三级|日韩中文字幕91在线看|精品久久久无码中文字幕边打电话

當前位置:首頁 > > 充電吧
[導讀]在安裝中文語言包和中文輸入法之前,我先配置好了pc-arm的交叉編譯環(huán)境和QT,因為我要在qt中使用中文,所以不知道是否應該先把開發(fā)環(huán)境配置好再安裝輸入法。1.更新源列表:ubuntu上的軟件安裝都需

在安裝中文語言包和中文輸入法之前,我先配置好了pc-arm的交叉編譯環(huán)境和QT,因為我要在qt中使用中文,所以不知道是否應該先把開發(fā)環(huán)境配置好再安裝輸入法。

1.更新源列表:

ubuntu上的軟件安裝都需要實時聯(lián)網(wǎng),所以在安裝軟件時都應該保持網(wǎng)絡暢通。安裝軟件需要獲取網(wǎng)絡資源,這些資源的地址都存在/etc/apt/souces.list這個列表文件里,網(wǎng)絡上的源有很多,下面我列出一些。

官方源:


#?deb?cdrom:[Ubuntu?12.04.2?LTS?_Precise?Pangolin_?-?Release?i386?(20130213)]/?precise?main?restricted

#?See?http://help.ubuntu.com/community/UpgradeNotes?for?how?to?upgrade?to
#?newer?versions?of?the?distribution.
deb?http://archive.ubuntu.com/ubuntu?precise?main?restricted
deb-src?http://archive.ubuntu.com/ubuntu?precise?main?restricted

##?Major?bug?fix?updates?produced?after?the?final?release?of?the
##?distribution.
deb?http://archive.ubuntu.com/ubuntu?precise-updates?main?restricted
deb-src?http://archive.ubuntu.com/ubuntu?precise-updates?main?restricted

##?N.B.?software?from?this?repository?is?ENTIRELY?UNSUPPORTED?by?the?Ubuntu
##?team.?Also,?please?note?that?software?in?universe?WILL?NOT?receive?any
##?review?or?updates?from?the?Ubuntu?security?team.
deb?http://archive.ubuntu.com/ubuntu?precise?universe
deb-src?http://archive.ubuntu.com/ubuntu?precise?universe
deb?http://archive.ubuntu.com/ubuntu?precise-updates?universe
deb-src?http://archive.ubuntu.com/ubuntu?precise-updates?universe

##?N.B.?software?from?this?repository?is?ENTIRELY?UNSUPPORTED?by?the?Ubuntu?
##?team,?and?may?not?be?under?a?free?licence.?Please?satisfy?yourself?as?to?
##?your?rights?to?use?the?software.?Also,?please?note?that?software?in?
##?multiverse?WILL?NOT?receive?any?review?or?updates?from?the?Ubuntu
##?security?team.
deb?http://archive.ubuntu.com/ubuntu?precise?multiverse
deb-src?http://archive.ubuntu.com/ubuntu?precise?multiverse
deb?http://archive.ubuntu.com/ubuntu?precise-updates?multiverse
deb-src?http://archive.ubuntu.com/ubuntu?precise-updates?multiverse

##?N.B.?software?from?this?repository?may?not?have?been?tested?as
##?extensively?as?that?contained?in?the?main?release,?although?it?includes
##?newer?versions?of?some?applications?which?may?provide?useful?features.
##?Also,?please?note?that?software?in?backports?WILL?NOT?receive?any?review
##?or?updates?from?the?Ubuntu?security?team.
deb?http://archive.ubuntu.com/ubuntu?precise-backports?main?restricted?universe?multiverse
deb-src?http://archive.ubuntu.com/ubuntu?precise-backports?main?restricted?universe?multiverse

deb?http://archive.ubuntu.com/ubuntu?precise-security?main?restricted
deb-src?http://archive.ubuntu.com/ubuntu?precise-security?main?restricted
deb?http://archive.ubuntu.com/ubuntu?precise-security?universe
deb-src?http://archive.ubuntu.com/ubuntu?precise-security?universe
deb?http://archive.ubuntu.com/ubuntu?precise-security?multiverse
deb-src?http://archive.ubuntu.com/ubuntu?precise-security?multiverse

##?Uncomment?the?following?two?lines?to?add?software?from?Canonical's
##?'partner'?repository.
##?This?software?is?not?part?of?Ubuntu,?but?is?offered?by?Canonical?and?the
##?respective?vendors?as?a?service?to?Ubuntu?users.
deb?http://archive.canonical.com/ubuntu?precise?partner
deb-src?http://archive.canonical.com/ubuntu?precise?partner

##?This?software?is?not?part?of?Ubuntu,?but?is?offered?by?third-party
##?developers?who?want?to?ship?their?latest?software.
deb?http://extras.ubuntu.com/ubuntu?precise?main
deb?http://archive.ubuntu.com/ubuntu?precise-proposed?restricted?main?multiverse?universe
deb-src?http://extras.ubuntu.com/ubuntu?precise?main


臺灣大學源:



#臺灣源(推薦網(wǎng)通用戶使用,電信PING平均響應速度41MS。強烈推薦此源,比較完整,較少出現(xiàn)同步問題):
deb?http://ubuntu.csie.ntu.edu.tw/ubuntu/?dapper?main?restricted?universe?multiverse
deb-src?http://ubuntu.csie.ntu.edu.tw/ubuntu/?dapper?main?restricted?universe?multiverse
deb?http://ubuntu.csie.ntu.edu.tw/ubuntu/?dapper-updates?main?restricted?universe?multiverse
deb-src?http://ubuntu.csie.ntu.edu.tw/ubuntu/?dapper-updates?main?restricted?universe?multiverse
deb?http://ubuntu.csie.ntu.edu.tw/ubuntu/?dapper-backports?main?restricted?universe?multiverse
deb-src?http://ubuntu.csie.ntu.edu.tw/ubuntu/?dapper-backports?main?restricted?universe?multiverse
deb?http://ubuntu.csie.ntu.edu.tw/ubuntu/?dapper-security?main?restricted?universe?multiverse
deb-src?http://ubuntu.csie.ntu.edu.tw/ubuntu/?dapper-security?main?restricted?universe?multiverse
deb?http://fpt.sjtu.edu.cn/ubuntu-cn/?dapper?main?multiverse?restricted?universe


網(wǎng)易源:



#163源:
deb?http://mirrors.163.com/ubuntu/?precise?main?restricted
deb-src?http://mirrors.163.com/ubuntu/?precise?main?restricted
deb?http://mirrors.163.com/ubuntu/?precise-updates?main?restricted
deb-src?http://mirrors.163.com/ubuntu/?precise-updates?main?restricted
deb?http://mirrors.163.com/ubuntu/?precise?universe
deb-src?http://mirrors.163.com/ubuntu/?precise?universe
deb?http://mirrors.163.com/ubuntu/?precise-updates?universe
deb-src?http://mirrors.163.com/ubuntu/?precise-updates?universe
deb?http://mirrors.163.com/ubuntu/?precise?multiverse
deb-src?http://mirrors.163.com/ubuntu/?precise?multiverse
deb?http://mirrors.163.com/ubuntu/?precise-updates?multiverse
deb-src?http://mirrors.163.com/ubuntu/?precise-updates?multiverse
deb?http://mirrors.163.com/ubuntu/?precise-backports?main?restricted?universe?multiverse
deb-src?http://mirrors.163.com/ubuntu/?precise-backports?main?restricted?universe?multiverse
deb?http://mirrors.163.com/ubuntu/?precise-security?main?restricted
deb-src?http://mirrors.163.com/ubuntu/?precise-security?main?restricted
deb?http://mirrors.163.com/ubuntu/?precise-security?universe
deb-src?http://mirrors.163.com/ubuntu/?precise-security?universe
deb?http://mirrors.163.com/ubuntu/?precise-security?multiverse
deb-src?http://mirrors.163.com/ubuntu/?precise-security?multiverse
deb?http://extras.ubuntu.com/ubuntu?precise?main
deb-src?http://extras.ubuntu.com/ubuntu?precise?main


上海交通大學源:



#上海交通大學源:
deb?http://fpt.sjtu.edu.cn/ubuntu/?dapper?main?multiverse?restricted?universe
deb?http://fpt.sjtu.edu.cn/ubuntu/?dapper-updates?main?multiverse?restricted?universe
deb?http://fpt.sjtu.edu.cn/ubuntu/?dapper-backports?main?multiverse?restricted?universe
deb?http://fpt.sjtu.edu.cn/ubuntu/?dapper-proposed?main?multiverse?restricted?universe
deb?http://fpt.sjtu.edu.cn/ubuntu/?dapper-security?main?multiverse?restricted?universe
deb?http://fpt.sjtu.edu.cn/ubuntu-cn/?dapper?main?multiverse?restricted?universe


cn99源:



#ubuntu.cn99.com源(推薦):
deb?http://ubuntu.cn99.com/ubuntu/?precise?main?restricted?universe?multiverse
deb?http://ubuntu.cn99.com/ubuntu/?precise-updates?main?restricted?universe?multiverse
deb?http://ubuntu.cn99.com/ubuntu/?precise-security?main?restricted?universe?multiverse
deb?http://ubuntu.cn99.com/ubuntu/?precise-backports?main?restricted?universe?multiverse
deb?http://ubuntu.cn99.com/ubuntu-cn/?precise?main?restricted?universe?multiverse


我用的是官方的歐洲源,因為它是最全的,而且速度也不慢,下載速度一般在70K/S以上,如果你用官方的源下載速度很慢(更新下載的時候有可能卡在某個包不動了,沒速度了,我就遇到了這個情況。我懷疑是我公司的網(wǎng)絡問題導致的,所以總是不停的嘗試重新更新,最后都成功了),可以使用其他的源,根據(jù)自己的情況選擇。


然后就要更新源列表了。


#sudo?apt-get?update


2.安裝中文語言包:

點擊右上角齒輪狀的按鈕,或者打開Dash home搜索,找到System Settings->Language Support,然后它會自動檢查更新(等它更新完,我剛開始就直接把它關(guān)掉了,結(jié)果中文輸入法怎么都裝不上),更新完以后,點擊Install/Remove Languages...,選上Chinese(Simplified),點擊Aplly,然后它就會自動下載安裝了(如果下載卡住了,沒速度了,關(guān)了重新打開接著下)。

安裝完了之后發(fā)現(xiàn)“漢語(中國)”還是黑的呢!別急,只需要按住鼠標把它拖到最上邊就可以了,OK,Close,ReStart(重啟系統(tǒng))!

3.刪除所有輸入法:

我是怕輸入法太多而引起沖突,而且我也不喜歡有幾個輸入法,看著煩,就增加了這步。

我是手動找到/etc/X11/xinit/xinput.d這個文件夾,刪除前先備份(養(yǎng)成好習慣),刪除除all_ALL,none以外的所有文件。

4.安裝ibus輸入法框架及漢語拼音:

打開終端,安裝ibus,拼音,五筆


#?sudo?apt-get?install?ibus?ibus-clutter?ibus-gtk?ibus-gtk3?ibus-qt4
#?sudo?apt-get?install?ibus-pinyin
#?sudo?apt-get?install?ibus-table-wubi


然后設置輸入法



ibus-setup


Input Method選項卡中,選中Customize active input methods,Select an input method->Pinyin,Add。


至此中文輸入法就裝完了。


如需轉(zhuǎn)載請注明出處:http://blog.csdn.net/klo220/article/details/18708985

本站聲明: 本文章由作者或相關(guān)機構(gòu)授權(quán)發(fā)布,目的在于傳遞更多信息,并不代表本站贊同其觀點,本站亦不保證或承諾內(nèi)容真實性等。需要轉(zhuǎn)載請聯(lián)系該專欄作者,如若文章內(nèi)容侵犯您的權(quán)益,請及時聯(lián)系本站刪除。
換一批
延伸閱讀

LED驅(qū)動電源的輸入包括高壓工頻交流(即市電)、低壓直流、高壓直流、低壓高頻交流(如電子變壓器的輸出)等。

關(guān)鍵字: 驅(qū)動電源

在工業(yè)自動化蓬勃發(fā)展的當下,工業(yè)電機作為核心動力設備,其驅(qū)動電源的性能直接關(guān)系到整個系統(tǒng)的穩(wěn)定性和可靠性。其中,反電動勢抑制與過流保護是驅(qū)動電源設計中至關(guān)重要的兩個環(huán)節(jié),集成化方案的設計成為提升電機驅(qū)動性能的關(guān)鍵。

關(guān)鍵字: 工業(yè)電機 驅(qū)動電源

LED 驅(qū)動電源作為 LED 照明系統(tǒng)的 “心臟”,其穩(wěn)定性直接決定了整個照明設備的使用壽命。然而,在實際應用中,LED 驅(qū)動電源易損壞的問題卻十分常見,不僅增加了維護成本,還影響了用戶體驗。要解決這一問題,需從設計、生...

關(guān)鍵字: 驅(qū)動電源 照明系統(tǒng) 散熱

根據(jù)LED驅(qū)動電源的公式,電感內(nèi)電流波動大小和電感值成反比,輸出紋波和輸出電容值成反比。所以加大電感值和輸出電容值可以減小紋波。

關(guān)鍵字: LED 設計 驅(qū)動電源

電動汽車(EV)作為新能源汽車的重要代表,正逐漸成為全球汽車產(chǎn)業(yè)的重要發(fā)展方向。電動汽車的核心技術(shù)之一是電機驅(qū)動控制系統(tǒng),而絕緣柵雙極型晶體管(IGBT)作為電機驅(qū)動系統(tǒng)中的關(guān)鍵元件,其性能直接影響到電動汽車的動力性能和...

關(guān)鍵字: 電動汽車 新能源 驅(qū)動電源

在現(xiàn)代城市建設中,街道及停車場照明作為基礎(chǔ)設施的重要組成部分,其質(zhì)量和效率直接關(guān)系到城市的公共安全、居民生活質(zhì)量和能源利用效率。隨著科技的進步,高亮度白光發(fā)光二極管(LED)因其獨特的優(yōu)勢逐漸取代傳統(tǒng)光源,成為大功率區(qū)域...

關(guān)鍵字: 發(fā)光二極管 驅(qū)動電源 LED

LED通用照明設計工程師會遇到許多挑戰(zhàn),如功率密度、功率因數(shù)校正(PFC)、空間受限和可靠性等。

關(guān)鍵字: LED 驅(qū)動電源 功率因數(shù)校正

在LED照明技術(shù)日益普及的今天,LED驅(qū)動電源的電磁干擾(EMI)問題成為了一個不可忽視的挑戰(zhàn)。電磁干擾不僅會影響LED燈具的正常工作,還可能對周圍電子設備造成不利影響,甚至引發(fā)系統(tǒng)故障。因此,采取有效的硬件措施來解決L...

關(guān)鍵字: LED照明技術(shù) 電磁干擾 驅(qū)動電源

開關(guān)電源具有效率高的特性,而且開關(guān)電源的變壓器體積比串聯(lián)穩(wěn)壓型電源的要小得多,電源電路比較整潔,整機重量也有所下降,所以,現(xiàn)在的LED驅(qū)動電源

關(guān)鍵字: LED 驅(qū)動電源 開關(guān)電源

LED驅(qū)動電源是把電源供應轉(zhuǎn)換為特定的電壓電流以驅(qū)動LED發(fā)光的電壓轉(zhuǎn)換器,通常情況下:LED驅(qū)動電源的輸入包括高壓工頻交流(即市電)、低壓直流、高壓直流、低壓高頻交流(如電子變壓器的輸出)等。

關(guān)鍵字: LED 隧道燈 驅(qū)動電源
關(guān)閉