Public bug reported:

Binary package hint: casper

the location of teh gconf-keys for gnome-power-manager changed with teh
2.20 release, paths need to be adjusted like in the patch below:

[EMAIL PROTECTED]:~/packages/casper-1.105$ diff -ruN 
scripts/casper-bottom/32disable_hibernation.orig 
scripts/casper-bottom/32disable_hibernation
--- scripts/casper-bottom/32disable_hibernation.orig    2007-09-25 
16:22:47.000000000 +0200
+++ scripts/casper-bottom/32disable_hibernation 2007-09-25 16:23:18.000000000 
+0200
@@ -24,8 +24,8 @@
 gpm_version=$(chroot /root /usr/bin/dpkg-query -W --showformat='${Version}' 
gnome-power-manager 2>/dev/null) || panel_version=""
 if [ -n "$gpm_version" ]; then
 #    casper-reconfigure /root gnome-power-manager
-    chroot /root sudo -u "$USERNAME" gconftool-2 -s -t bool 
/apps/gnome-power-manager/can_hibernate false
-    chroot /root sudo -u "$USERNAME" gconftool-2 -s -t bool 
/apps/gnome-power-manager/can_suspend false
+    chroot /root sudo -u "$USERNAME" gconftool-2 -s -t bool 
/apps/gnome-power-manager/general/can_hibernate false
+    chroot /root sudo -u "$USERNAME" gconftool-2 -s -t bool 
/apps/gnome-power-manager/general/can_suspend false
 fi
 
 if [ -d 
/root/usr/share/kubuntu-default-settings/kde-profile/default/share/config ]; 
then

** Affects: casper (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: casper (Ubuntu Gutsy)
     Importance: Undecided
         Status: New

-- 
hibernate and suspend are not disabled on gutsy liveCD
https://bugs.launchpad.net/bugs/144790
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to