1. 在终端输入gconf-editor来打开配置编辑器在左侧展开 “/apps/metacity/general”,把 button_layout 项的值改为 “menu:minimize,maximize,close”,保存即可。