Close/minimize/maximize button not appearing

Solution 1:

Try (in terminal)

gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close,' 

moving the : to the end (like this gsettings set org.gnome.desktop.wm.preferences button-layout 'minimize,maximize,close:') and then restarting to see if they reappear for you.

Let us know.

Cheers!

Solution 2:

Please be aware of the issues you may be faced when running ccsm:

  • What are some of the issues with CCSM and why would I want to avoid it?

You most likely disabled the windows decoration in the "Effects" section like I did in the example below:

enter image description here

To re-enable them just tick this box and wait until Compiz restored the windows decorations.

In case we had opened the further settings of the Windows Decoration plugin we may need to restore them to defaults shown below:

enter image description here

To remove bad settings we may have made with ccsm we may also try to delete its configuration files in ~/.config/compiz-1 with

mv ~/.config/compiz-1 ~/.config/compiz-1.old

Solution 3:

Check if you have CompizConfig Settings Manager > Window Decoration enabled and check if CompizConfig Settings Manager > Window Decoration > Command has the default value /usr/bin/compiz-decorator.