assign shutdown command to sleep button fails 17.10 and 18.04

Bug #1754056 reported by Sebastian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-settings-daemon (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,
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?

Thanks!

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1754056/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Sebastian (smartin-ubuntu-one) wrote :

- added package gnome-settings-daemon
- I should mention that I tried to figure out the key-code by using XEV, but it does not work

affects: ubuntu → gnome-settings-daemon (Ubuntu)
Revision history for this message
Sebastian (smartin-ubuntu-one) wrote :

Ok, I "solved" this issue, by moving to Kubuntu. KDE allows the user to choose what which button should do. So I simply linked the "switch off" command to the button on my keyboard and now it works as before. No idea why Ubuntu is making such a mess of a simple feature like this. Additionally I am now able to have buttons on both sides of the window title bars. What a nice feature on a quite large TV screen.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.