湖濱散記部落格的樹心幽徑[login][主頁]
279:20131031Fedora 17 : LIU_SETUP

(1)參考:REF:http://newtoypia.blogspot.tw/2012/07/ibus-table-boshiamy.html

(2)察看中文化設定:

[webadm@golden ~]$ cat  /etc/sysconfig/i18n
LANG="zh_TW.UTF-8"
SYSFONT="False"


(3)裝ibus-table

[webadm@golden ~]$ su
密碼:
[root@golden webadm]# yum install ibus-table

 

(4)察看是否有boshiamy.svg

[root@golden webadm]# ls  /usr/share/ibus-table/icons
acommit.svg  full-letter.svg  ibus-table.svg  py-mode.svg   tcb-mode.svg
cb-mode.svg  full-punct.svg   ncommit.svg     scb-mode.svg  tc-mode.svg
chinese.svg  half-letter.svg  onechar.svg     sc-mode.svg
english.svg  half-punct.svg   phrase.svg      tab-mode.svg
[root@golden webadm]# ls  /usr/share/ibus-table/icons|grep boshiamy
[root@golden webadm]#

 

(5)下載並備妥編碼檔boshiamy.txt

[root@golden webadm]# cp boshiamy.txt /usr/share/ibus-table/tables/
[root@golden webadm]# cp boshiamy.svg /usr/share/ibus-table/icons/
[root@golden webadm]#

 

(6)產生編碼資料庫檔boshiamy.db

[root@golden webadm]# cd  /usr/share/ibus-table/tables/
[root@golden tables]# ls
boshiamy.txt  template.txt
[root@golden tables]# ibus-table-createdb -s boshiamy.txt -n boshiamy.db
[root@golden tables]#

 

(7)用戶重新登入並設定ibus

 


select id,article_id,topic,text from lt_articles_text where article_id =279; ok. update lt_articles set num_reads=num_reads +1 where id=279; ok.