ubuntu下搜狗输入法偶尔崩溃的解决方法

参考:FanDao的博客

  • 新建restart_sogou文件保存到/user/bin/目录下,设置执行权限,当搜狗崩溃时输入restart_sogou重启软件即可。
  • 内容如下:
    #!/bin/sh
    pidof fcitx | xargs kill
    pidof sogou-qimpanel | xargs kill
    nohup fcitx  1>/dev/null 2>/dev/null &
    nohup sogou-qimpanel  1>/dev/null 2>/dev/null &

猜你喜欢

转载自blog.csdn.net/qq_36561697/article/details/88751128