Ubuntu 18.04 – How to shutdown when power button pressed Ubuntu 4 In Ubuntu 18.04 the ability to automatically shutdown a computer when the power button is pressed was removed. There is however a workaround - if you set the machine chassis…