Damjan,
Glad to hear that worked for you.
I don't know if the gnome people can make this very much easier.
Different version of different linux distros might invoke hibernate
differently. How would they know which one to map to the lid button?
Also, some people might want to invoke sleep rather than hibernate. If
there were system commands which were persistent over all distros and
versions, then maybe they could offer these two mention options (with
explanations of each). Yes, that would be an improvement.
Best,
ken
On 04/13/2015 10:38 AM, Damjan Zemljič wrote:
Hi Ken,
I did that at the end - set keyboard shortcuts (+ sudo ... without
password). And this helped me to make even lid working:
https://wiki.debian.org/DebianAcerOne#Suspend_to_RAM
Of course, old pm-suspend needs to be replaced with systemctl.
But at the end, I should report the issue to gnome package maintainers.
just have to find which one ;)
Best regards,
Damjan
2015-04-12 13:42 GMT+02:00 ken <gebser@xxxxxxxxxxxx
<mailto:gebser@xxxxxxxxxxxx>>:
I had this same problem (very briefly) many years ago. At that time
I knew that the entire keyboard was programmable/configurable, so
maybe the lid button too was just another keyboard button. So I
looked in the window manager (for me it was gnome) menus and found
something for keyboard configuration. This application simply asked
me to press the button I wanted to configure, then enter the command
to be invoked when this button was pressed. So I did that for the
lid's button: i.e., I simply pressed it, then entered the command to
run (the one which invoked hibernate). And it worked.
So if you can run the command which does what you want, you might be
able to do the same. Hope so.
On 04/12/2015 06:06 AM, Damjan Zemljič wrote:
Ah, it still does not work. Celebrating too soon.
For some reason it did, for a while, and for some reason it
doesn't anymore.
Don't know what to look for in the logs. Any tip / advice?
Regards,
Damjan
2015-04-12 8:52 GMT+02:00 Damjan Zemljič
<damjan.zemljic@xxxxxxxxx <mailto:damjan.zemljic@xxxxxxxxx>
<mailto:damjan.zemljic@gmail.__com
<mailto:damjan.zemljic@xxxxxxxxx>>>:
Hi again,
no need for a help.
After I've upgraded GNOME extension, it works. However, upgrade
needs to be done from here:
https://extensions.gnome.org/
apt(itude) didn't offer it.
Regards,
Damjan
2015-04-11 22:16 GMT+02:00 Damjan Zemljič
<damjan.zemljic@xxxxxxxxx <mailto:damjan.zemljic@xxxxxxxxx>
<mailto:damjan.zemljic@gmail.__com
<mailto:damjan.zemljic@xxxxxxxxx>>>:
Hi,
testing Jessie (GNOME) on Acer Aspire One 725 I cannot
control
suspend / hibernate via closed lid / power button.
From the command line both cases work:
systemctl suspend
systemctl hibernate
In case power button / lid is used, the system does
suspend, but
at the boot backlight of the screen is not turned on
again. As
such, one can login and reboot, but without any content
on the
screen visible. I suspect some installation packages are
missing. Attached is the list of currently installed ones.
Please help and thanks in advance,
Damjan
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos