You are not logged in.
After a few minutes my computer was idle on GDM3, it suspended on its own.
I believe it's GDM's fault.
How can I disable it?
Already disabled gnome3's auto-suspension for my user from "System Settings > Power", but it looks like it didn't affect GDM behaviour.
Offline
After some more searching, found htis thread: https://bbs.archlinux.org/viewtopic.php?id=127740
Couldn't find it earlier, sorry.
Offline
Using your favorite text editor as root, open:
/usr/share/polkit-1/actions/org.freedesktop.upower.policy
In this file you will find some xml, the sections you are looking for are:
<action id="org.freedesktop.upower.suspend">
and
<action id="org.freedesktop.upower.hibernate">
Within both of these there is an element called <defaults>, in the <defaults> element for both there is an element called <allow_active>. Between <allow_active>yes</allow_active> change the "yes" to "no" without quotes for both.
Save the changes and reboot.
Suspend and hibernate are now not available.
As a bonus the GNOME 3 user menu (top-right corner) will now have a "Power Off" option instead of a "Suspend" one as it's default.
Offline
what ive done: disable gnome-settings-daemon power pluggin from dconf (for the gdm user)
this link
https://wiki.archlinux.org/index.php/Gnome#Login_screen
and dconf-editor:
navigate to org/gnome/settings-daemon/plugins/power and disable it.
Last edited by eldragon (2011-12-23 23:10:50)
Offline