You are not logged in.
Hello guys,
its been two days since I have been trying to figure out a way to map the power button of my chromebook c720 in order to call the cinnamon power off / suspend / logout panel when the power button is pressed.
Unfortunately for some reason xbindkeys -k isn't unable to recognize it.
Any suggestions regarding what to do and how to map the power button?
Thanks
Last edited by Latrina (2014-07-07 04:20:59)
Sun Netra T1 DC200 (x6 cluster) OpenBSD 5.4; Sun Ultra 5 OpenBSD 5.4; Futro S500 FreeBSD 10.0; Chromebook c720 ArchLinux; etc
Offline
The title made me laugh. I was about to reply with "well it won't be able to if it's switched off!" ![]()
Back on topic:
/etc/systemd/logind.confMy: [ GitHub | AUR Packages ]
Offline
The title made me laugh. I was about to reply with "well it won't be able to if it's switched off!"
Back on topic:
/etc/systemd/logind.conf
I am glad it made someone laugh.
Anyways,
in /etc/systemd/logind.conf I have it set to HandlePowerKey=ignore, however this doesn't make much of difference regardless whether it is set to ignore, poweroff or anything else. The power button will send the computer to sleep each time when pressed, and xbindkeys isnt unable to detect it no matter what.
Because it is right above the backspace this was frustrating to say the least, therefore I managed to disable it from dconf, however like I said, even if I enable it again it will simply put the laptop to sleep once pressed and xbindkeys wont detect it.
If you meant something else that I missed, please I'd like you to explain it.
Thanks
Last edited by Latrina (2014-07-05 01:55:31)
Sun Netra T1 DC200 (x6 cluster) OpenBSD 5.4; Sun Ultra 5 OpenBSD 5.4; Futro S500 FreeBSD 10.0; Chromebook c720 ArchLinux; etc
Offline
I believe the cinnamon power manager registers itself with systemd/logind and takes over the power button configuration. I guess you should look somewhere in the cinnamonn settings.
You can always use acpid to react to the acpi events, but only use it if all other options don't work.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
I believe the cinnamon power manager registers itself with systemd/logind and takes over the power button configuration. I guess you should look somewhere in the cinnamonn settings.
You can always use acpid to react to the acpi events, but only use it if all other options don't work.
Hey thanks for the info. I am definitely going to look into that tomorrow morning and update the thread.
So far this is really the only thing that I haven't gotten to work the way I want on this bad boy.
Sun Netra T1 DC200 (x6 cluster) OpenBSD 5.4; Sun Ultra 5 OpenBSD 5.4; Futro S500 FreeBSD 10.0; Chromebook c720 ArchLinux; etc
Offline
*progandy you were totally right when u have said the cinnamon takes the power conf away, in fact I just needed to change it to interactive in dconf and it works now, no acpid required.
Thanks
Sun Netra T1 DC200 (x6 cluster) OpenBSD 5.4; Sun Ultra 5 OpenBSD 5.4; Futro S500 FreeBSD 10.0; Chromebook c720 ArchLinux; etc
Offline