Ubuntu 14.04 gconftool2与gconf-editor

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 配置系统的介绍

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

OneSea

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值