GNOME環境で最大化と最小化ボタンが右上に出ない場合
$ gsettings set org.gnome.desktop.wm.preferences button-layout 'appmenu:minimize,maximize,close'
GNOME