ubuntu启动搜狗输入法

  • Jesse
  • 2017-04-02 21:12:06
  • 3625

在在ubuntu中安装搜狗输入法后,却没有启动,如何启动?

 

网上找了很多方法都不准确,基本都是千篇一律:

bash Fcitx配置→ 添加搜狗输入法

 

但是已经安装了,列表也存在搜狗输入法了,其实方法很简单,只需在终端输入:fcitx autostart 即可。

 

或者将搜狗输入法加入到启动项里:

 

1.根据wiki文档

复制自动启动文件  /etc/xdg/autostart/fcitx-autostart.desktop 到用户目录:

cp /etc/xdg/autostart/fcitx-autostart.desktop ~/.config/autostart/

如果/etc/xdg/autostart/下没有该文件,则按2操作

 

2. fcitx 复制到启动项

sudo cp /usr/share/applications/fcitx.desktop ~/.config/autostart

修改权限为可执行权限

sudo chmod +x ~/.config/autostart/fcitx.desktop