您的位置:首页 > 其它

Ubuntu 14.04 gconftool2与gconf-editor

2015-10-02 20:08 344 查看
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 命令行工具

[2]GConftool-2 常见用法

[3]基于GNOME2 桌面的GConf 配置系统的介绍
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: