Ubuntu 管理心得

搜尋此網誌

2023年4月6日 星期四

ibus table not work

 If the original table is liu-LA.db, then change it into another name, e.g. liu-L.db and cp it into /usr/share/ibus-table. Or edit the makedb.sh file as:

#!/bin/bash
ibus-table-createdb -s liu_LA.txt -n liu_L.db
sudo cp -f liu_L.db /usr/share/ibus-table/tables/
declare -a fname=(".local/share/ibus-table" ".config/ibus" ".cache/ibus" ".cache/ibus-table")
arraylength=${#fname[@]}
for (( i=0; i<${arraylength}; i++ ));do
        /bin/rm -rf /home/chiao/${fname[$i]}
done

沒有留言:

張貼留言