ÇëÎÊÎÒÏëÔÚfc 2¿ª»úʱÆô¶¯Ö¸¶¨µÄ³ÌÐò¸ÃÈçºÎ×ö
ÇëÎÊÎÒÏëÔÚfc 2¿ª»úʱÆô¶¯Ö¸¶¨µÄ³ÌÐò¸ÃÈçºÎ×ö¾ßÌåÊÇÏ뿪»ú¾ÍÆô¶¯fcitx ºº×ÖÊäÈë·¨£¬ÓÚÊÇÎÒÔÚrc.local Àï×öÁ˸͝ÈçÏÂ
#!/bin/sh
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
if [ -f /var/lock/subsys/locals900 ]; then
touch /var/lock/subsys/locals9001
fi
touch /var/lock/subsys/locals900
touch /var/lock/subsys/fcitxlogs900
echo "*************fcitx****************"
# start input for chinese with fcitx
if [ -f /usr/local/fcitx/bin/fcitx ] ; then
/usr/local/fcitx/bin/fcitx
fi
exit $?
²¢ÇÒÔÚrc3.dÀïÕÒµ½ÁËËüµÄÁª½ÓS90rclocal
¿ÉÊÇÆô¶¯Ê±×ÜÊÇÌáʾ¶Î´íÎ󣡽øÈëϵͳºó£¬ÔËÐнű¾Äܹ»Æô¶¯³ÌÐò£¡ÎªÊ²Ã´£¿£¿
×îºó·¢ÏÖÕâ¸ö½Å±¾µÄÆô¶¯Ë³ÐòÓÐÎÊÌ⣬ËûÊÇ90±àºÅ£¬¿É»¹ÓÐСÓÚËü±àºÅµÄûÓÐÆô¶¯**µ½ËüÁË£¬ÎÒÓÖÔÚrc3.dÀïн¨Á˸öΪS900rclocalµÄÁª½Ó£¬¿ÉÆô¶¯ºóûÓÐÖ´ÐйýÕâ¸ö½Å±¾£¬Ò²¾ÍÊÇ˵½öÖ´ÐÐÁËÒ»´Îrc.local½Å±¾£¬ÓÖÊÇʲôÔÒòÄØ£¿£¿
Ò³:
[1]