我想编写一个脚本来重新排序 compiz 模块的加载,因此在使用 Unity 桌面时,expo 和 scale 最后加载,并且这些插件中的设置 hotcorners 将在重新启动时保持活动状态。这可以使用 gui dconf-editor 轻松完成。但是,任何时候为了统一而进行更新,此设置都会恢复为最后加载 Unity 模块并终止热点的默认设置。
所以需要一个 cli 方法来更改位于 org/compiz/profiles/unity/plugins/core 的 dconf-editor 中的设置
['core', 'composite', 'opengl', 'copytex', 'decor', 'regex', 'compiztoolbox', 'place', 'imgpng', 'grid', 'unitymtgrabhandles', 'resize', ' mousepoll', 'snap', 'gnomecompat', 'move', 'vpswitch', 'session', 'wall', 'animation', 'workarounds', 'expo', 'scale', 'fade', 'ezoom' , 'unityshell']
到
['core', 'composite', 'opengl', 'copytex', 'decor', 'regex', 'compiztoolbox', 'place', 'imgpng', 'grid', 'unitymtgrabhandles', 'resize', ' mousepoll', 'snap', 'gnomecompat', 'move', 'vpswitch', 'session', 'wall', 'animation', 'workarounds', 'fade', 'ezoom', 'unityshell', 'expo' , '规模']
所以发出命令 …