在终端输入gconf-editor,选择app-metacity选中general在右侧找到button_layout,修改他的值就可以 menu:minimize,maxmize,close这个可以将按钮移动到右边。