1 背景
在《Ubuntu14.04中编译安装maliit》中需要用到gconftool2,然后顺便接触了gconf-editor,这里对这两个工具的用法做一个简单的总结。
2 gconftool2
2.1 设置关键字
在《Ubuntu14.04中编译安装maliit》中,需要用到下面的两行设置:
gconftool-2 -s --type list --list-type string /maliit/onscreen/enabled "[libmaliit-keyboard-plugin.so,en_gb]"
gconftool-2 -s --type list --list-type string /maliit/onscreen/active "[libmaliit-keyboard-plugin.so,en_gb]"
根据参考资料[3]的提示,在~.gconf/maliit/onscreen中找到上面设置的结果。也就是上面两行命令的执行结果保存于此目录中。
2.2 取消关键字
下面命令可以取消2.1小节中设置的关键字/maliit/onscreen/enabled
gconftool-2 -u /maliit/onscreen/enabled
3 gconf-editor
参考资料
[1]GConf 命令行工具