In the past on Fedora I disable suspend/hibernate on the livedvd/usb. Does not seem to work for F14.
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --set /apps/gnome-power-manager/general/can_hibernate --type bool "0"
/dev/null ||:
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --set /apps/gnome-power-manager/general/can_suspend --type bool "0"
/dev/null ||:
Looking at gconf I do not see where it should be set, anyone have an idea, thanks.
So after some digging sed -i "s|<allow_active>yes</allow_active>|<allow_active>no</allow_active>|g" /usr/share/polkit-1/actions/org.freedesktop.upower.policy >/dev/null ||:
Stops the suspend/hibernate from working but the options are still present.
Sorry for posting this here, its not a livecd issue, but maybe its useful for others.
On 10/14/2010 11:08 AM, Grant Williamson wrote:
In the past on Fedora I disable suspend/hibernate on the livedvd/usb. Does not seem to work for F14.
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --set /apps/gnome-power-manager/general/can_hibernate --type bool "0" >/dev/null ||: gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --set /apps/gnome-power-manager/general/can_suspend --type bool "0"
/dev/null ||:
Looking at gconf I do not see where it should be set, anyone have an idea, thanks.
i find very usefull this command. when i push or click hybernate for mistake have ever no metod to de-hybernate.
Sorrzy for bad english
2010/10/14 Grant Williamson traxtopel@gmail.com:
So after some digging sed -i "s|<allow_active>yes</allow_active>|<allow_active>no</allow_active>|g" /usr/share/polkit-1/actions/org.freedesktop.upower.policy >/dev/null ||:
Stops the suspend/hibernate from working but the options are still present.
Sorry for posting this here, its not a livecd issue, but maybe its useful for others.
On 10/14/2010 11:08 AM, Grant Williamson wrote:
In the past on Fedora I disable suspend/hibernate on the livedvd/usb. Does not seem to work for F14.
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --set /apps/gnome-power-manager/general/can_hibernate --type bool "0" >/dev/null ||: gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --set /apps/gnome-power-manager/general/can_suspend --type bool "0"
/dev/null ||:
Looking at gconf I do not see where it should be set, anyone have an idea, thanks.
-- livecd mailing list livecd@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/livecd
livecd@lists.fedoraproject.org