SCIM Smart Pinyin disappearing or can't be selectable.

2024-03-17 17:18

本文主要是介绍SCIM Smart Pinyin disappearing or can't be selectable.,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

If you use SCIM Smart Pinyin (智能拼音), you’ll know that every now and then it decides to stop working for no apparent reason. It happens frequently enough to be a pain, but not frequently enough that you remember how to fix it quickly.

The symptoms are:

  • Smart Pinyin disappears from the SCIM pop-up menu.
  • Smart Pinyin settings are still visible in SCIM settings, and the package scim-pinyin is installed.
  • Smart Pinyin is not selectable as an input system for Chinese.

So it’s not that Smart Pinyin is missing, it’s just that SCIM refuses to use it for some reason.

The only solution I’ve come across is right at the end of this thread on Ubuntu forums:SCiM Smart Pinyin. The solution there is:

1. Completely uninstall SCIM

sudo apt-get remove --purge scim

This should uninstall all the packages associated with SCIM as well (scim-pinyin, scim-m17n etc.)

2. Remove SCIM data

The overall aim here is to take off and nuke the site from orbit (it’s the only way to be sure). We’re just removing anything to do with SCIM to ensure we get rid of whatever caused the error.

sudo rm -rf /etc/scim

sudo rm -rf ~/.scim

Be extremely careful with the above commands. Check and double check them before you hit enter in terminal. If you type the wrong directory you can easily delete loads of important stuff.

3. Reinstall SCIM and SCIM Smart Pinyin etc.

And now we do a fresh new install of SCIM:

sudo apt-get install scim scim-m17n scim-pinyin

And that should get Smart Pinyin working again. This method is a real pain though, mostly because it destroys all of your table data – the words and phrases you’ve taught SCIM. Every time I do this I have to re-teach it loads of stuff, usually starting with my Chinese name (葛修遠).

If anyone is aware of a better method for restoring SCIM Smart Pinyin input then please share it in the comments, as I can’t believe this is the best way to do it.

If you wanna know more details please reffer:http://eastasiastudent.net/3622/china/mandarin/cmn-writing/scim-smart-pinyin/


Using Ctrl+Space to switch between CN and EN.

To create file: /etc/X11/Xsession.d/95xinput

To append the fellowing few lines to this file:

export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
scim -d


这篇关于SCIM Smart Pinyin disappearing or can't be selectable.的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/819604

相关文章

2024/9/8 c++ smart

1.通过自己编写的class来实现unique_ptr指针的功能 #include <iostream> using namespace std; template<class T> class unique_ptr { public:         //无参构造函数         unique_ptr();         //有参构造函数         unique_ptr(

idea插件【1】Smart Tomcat

一、简介 在开发过程中除了springboot项目支持jar运行,很多场景下需要使用到tomcat外置服务部署,此时我们可以使用idea插件Smart Tomcat (Smart Tomcat 插件是一个用于简化与 Tomcat 服务器交互的工具,它提供了一些额外的功能来增强开发体验)帮助我们进行快速的服务部署与调试 二、集成 1. 安装Smart Tomcat 在idea plugin

【Web3初识系列】如何连接 Binance Smart Chain通过交易对绘制 k 线?

连接 Binance Smart Chain通过交易对绘制 k 线 安装 web3 pip install web3 连接到 Binance Smart Chain 使用公共的 BSC 节点 URL。 from web3 import Web3# 连接到 BSC 公共节点bsc_url = "https://bsc-dataseed.binance.org/"web3 = Web3

方法论:SWOT、SMART

解决方案分析方法论SWOT 什么是SWOT:例子中间件RabbitMQ和RocketMQ队列选择对比S(strengths)优势:RabbitMQ团队多人用过,AMQP跨语言、模型API丰富W(weaknesses)劣势:RabbitMQ阅读过源码的人过少,Erlang开发,二次修改不容易O(opportunities)机会:多个容器平台拥抱RabbitMQ,易用性、扩展性强T(threats)

smart-sso单点登录(三):接入指南

目录 前言1.引入客户端依赖2.应用配置修改3.验证 前言 如果您的SpringBoot应用需要接入到smart-sso,只需要简单的两步即可完成。 1.引入客户端依赖 在您任意的SpringBoot应用中maven的pom.xml配置中增加客户端依赖。 <dependency><groupId>com.smart</groupId><artifactId>smart-s

Smart Home DIY 计划

工作了这么长时间了,感觉自己目前的工作内容很不利于技术水平的提升,对此状况,我心里深感不踏实。因此,我决定利用下班时间,边学习边做,做一套真正可用的智能家居系统,首先部署到自己居住的房间。 对此智能家居系统,我的大致构想如下: 1,采集房间的温度、湿度、光照强度、煤气浓度等数据,并将采集的数据通过智能家居网关传送到自建的web服务器,以供 自己通过外网实时查看数据; 2,可通

施耐德ATV610变频器MODBUS通信(SMART PLC)

MODBUS通信相关内容可以参考专栏的系列文章,常用链接如下: 1、提升MODBUS-RTU通信数据刷新速度 提升MODBUS-RTU通信数据刷新速度的常用方法_modbus rtu通讯慢-CSDN博客文章浏览阅读1k次。SMART PLC的MODBUS-RTU通信请参考下面文章链接:【精选】PLC MODBUS通信优化、提高通信效率避免权限冲突(程序+算法描述)-CSDN博客MODBUS通讯

smart_rtmpd 的后台管理

高效的流媒体服务器 smart_rtmpd,您值得拥有 smart_rtmpd 的下载地址 https://github.com/superconvert/smart_rtmpd smart_rtmpd 的管理后台 https://github.com/superconvert/smart_rtmpd/edit/master/web%20manager/src/README.md

JQuery UI 之Selectable的一些基本用法

关于JQuery UI的Selectable组件的用法,我想JQuery UI API已经描述的很清楚了,在这里不再赘述,请参考jQuery UI 实例 - 选择(Selectable) 在这里需要注意的就是要自己加入CSS代码。好下面叙述我在用这个组件过程中的遇到的一些问题: 1、选中之后获取选中的信息; 2、结合html5中的用户自定义属性来使用(data-*); 3、如何动态也就是用

php7.2安装redis模块出现fatal error: zend_smart_str.h: No such file or directory的解决办法

亲测可用,若有疑问请私信 出现这个问题是redis模块版本问题 phpredis模块下载地址:http://pecl.php.net/package/redis 下面以3.1.2为例: wget http://pecl.php.net/get/redis-3.1.2.tgz tar -zxvf redis-3.1.2.tgz cd redis-3.1.2/ /usr/local/php-fpm