News for hackers. Stuff that matters.
Re:Ubuntu 17.10: Return of the Gnome by lultimouomo on Tuesday November 28, 2017 @06:13AM (#15796154)
You can indeed change the Alt-Tab behaviour with an extension, but not what the power button does. It used to be possible, but they decided it was to disruptive and removed the option, which is the standard Gnome policy. I found an extension to show the shutdown dialog via Alt+PowerButton though.
Re:Ubuntu 17.10: Return of the Gnome by vetinari on Tuesday November 28, 2017 @03:35PM (#15801231)
Not sure what kind of Gnome you are using, but in Gnome 3.26 as shipped with Fedora 27, in the Settings, Power options, you have three options what can happen, when you press the power button: "sleep" (the default), "shutdown" and "do nothing".

When you select the second option, "shutdown", and then press the power button, it will throw a dialog at you, that the machine will shutdown in 60 seconds (and will display countdown), together with "cancel", "reboot" and "shutdown" buttons.

Re:Ubuntu 17.10: Return of the Gnome by majewsky on Tuesday November 28, 2017 @11:37AM (#15798769)
Not a GNOME user, but maybe that's because the power button is now handled by logind? Have a look at `man logind.conf`.