assign shutdown command to sleep button fails 17.10 and 18.04

Asked by Sebastian on 2018-03-07

I'm running a GigaByte Brix with a wireless Logitech K400 Keyboard. The said keyboard features a "power off" button that is interpreted by Ubuntu as "Sleep" for some reason. On the 17.04 release it was possible to simply assign the shutdown command to this button and everything was fine.
With 17.10 and 18.04 LTS (beta) the behaviour of this button can not be changed. If I try to assign my shutdown command and press the button, my system immediately enters suspend mode. Even if I try to simply read out the key code of the button it will directly go to suspend.
Will there be a way of getting back the behaviour of 17.04 so that I can freely choose what this button does?


Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:

I suggest you report a bug

Sebastian (smartin-ubuntu-one) said : #2

Ok, I created a bug ticket: Bug #1754056

Can you help with this problem?

Provide an answer of your own, or ask Sebastian for more information if necessary.

To post a message you must log in.