是否有方法在配置文件或gconf/dconf中编辑Compiz设置?
请提供一个在CCSM和替代方法中正在执行的示例配置。
发布于 2011-06-29 08:01:29
有一些标准的工具:
gconf-editor (图形用户界面)gconftool / gconftool-2dconf-editor (图形用户界面)我所有的公司设置都在/apps/compiz-1下的gconf中。
对于你来说,确切的例子是:
gconftool-2 -s -t string '/apps/compiz-1/plugins/decor/screen0/options/decoration_match' '!state=maxvert'发布于 2011-06-29 08:04:55
dbus示例:
设置为单个监视器:
dbus-send --type=method_call --dest=org.freedesktop.compiz /org/freedesktop/compiz/core/screen0/hsize org.freedesktop.compiz.set int32:8 xrandr -s 1
设置为双监视器:
dbus-send --type=method_call --dest=org.freedesktop.compiz /org/freedesktop/compiz/core/screen0/hsize org.freedesktop.compiz.set int32:4 xrandr -s 0
您可以在compiz dbus wiki页面上阅读更多内容。
请参见:
~/.gconf/apps/compiz-1/
/.gconf/apps/compizconfig-1/这些目录中有名为%gconf.xml的文件,用于所有设置。
https://askubuntu.com/questions/51036
复制相似问题