In Gnome to accomplish such task, one had to open the gconf-editor and change the apps/metacity/general/button_layout key. In XFCE4 is a little more intuitive; you can use drag-and-drop to place the buttons where you want them.
Instructions using CLI
xfconf-query -c xfwm4 -p /general/button_layout -s "CMH|O"
Instructions using GUI
- Open "Settings Manager" (Applications Menu > Settings > Settings Manager)
- Select "Window Manager"
- On "Button layout" section, click and drag the buttons, laying them out as shown in the image below:
|Window buttons aligned to the left|
If you are not satisfied with the change and want to restore the default layout, proceed as above but arrange the buttons as shown in the image below:
|Window buttons aligned to the right|