Software :: Make Xset Dpms Force Off Work With Gnome-power-manager?
May 16, 2011
The following script should make screen blanking work without disabling gnome-power-manager code...
This script can also be called from a panel launcher (with ./<scriptname> if it is in $HOME). It will not disable the power manager even though the process disappears from the system monitor. The "if" condition is necessary because SIGHUP will return an error if the process doesn't exist.
If you want a bash command, add this to $HOME/.bashrc:
# The following cannot be implemented as an alias
# and it cannot be called from a launcher, more's the pity
dark () code...
The title pretty much describes the issue. The timespan is sometimes some minutes instead of some seconds. I've tried unplugging every peripherials and disabling the touchpad, killing every non-critical processes, disabling and enabling Compiz, but nothing has helped so far.
I'm running Karmic on an Acer Aspire 8935G-874G100BN laptop with a Radeon graphics chipset.
I am having issues with Gnome Power Manager. My wife and I have identical computers, with Linux Mint 8 installed on both. My Linux Mint 8 is a fresh install, whereas her's was an upgrade. Anyway, when I click suspend or hibernate nothing happens, not even an error. On my wife's computer this works just fine. sudo pm-hibernate, sudo pm-suspend, and sudo /etc/acpi/hibernate.sh do absolutely nothing.
On my login-screen, there is a message saying that the configuration defaults for Gnome Power Manager have not been installed correctly. I can still log in and work normally, but it seems to me that the system is pretty slow (which might or might not be because of this). It's been there for a while when I used version 9.10, but didn't disappear when I updated to 10.04. I searched for other threads with this problem, and found:
1) This one:URL...saying that it could be because the root drive was full, and said that I could run "sudo apt-get clean" to try to solve it. This didn't work, and it doesn't look like I'm low on space, anyway. Plus I can log in normally, so it doesn't look like the same problem.
2) This one: URL....advises me to run "sudo dpkg --configure -a", which seems to have worked for other people, but it didn't help me--when I restart, I still get the same error message.
Gnome Power Manager has been giving me problems for a while now, all of which I have at least found a workaround, (sudo gnome-power-manager) with the exception of this one.
Gnome power manager will not make my computer suspend or hibernate on low or critically low battery.
I've installed acpi, configured laptop-mode, and edited the values for GPM in gconf-editor to suspend at 10% battery.
System: Ubuntu 9.10, upgraded from previous versions Architecture:64 bit Filesystem:EXT4 DE:Gnome
Occurance of the problem: After using GParted to move unallocated space to a ntfs-filesystem. Yep. I did it again. No oops this time, for I have no clue why this error appeared and why I cant get to my desktop. No recent updates that couldve borked the system.Lately I have had to work quite a bit with some Windows-only programs, and I found myself out of harddisk space pretty soon, as for the last year or two, I worked almost exclusively with Ubuntu and only had a minimally sized partition set up for Windows. I needed room. No problem, I thought, I will start up GParted, move some of the unallocated space to the NTFS partition and be done with it. I have performed tasks like that before, so no problem should occur.
After rebooting I got to the grub menu. All options were there. Looks nice. Except for the fact that Windows did not want to start, some MSDK (sorry, did not write down the name) file or whatever was missing. (I heard this is a Vista problem and the file connected to the error does not even exist on any XP system). Worse than XP not starting was the error message I got from my login screen.
"The configuration defaults for gnome-power-manager have not been loaded. Please contact your administrator."
So I did. I talked to myself and had to admit to the user that I did not have a solution at hand. User upset, administrator too. (They are no longer talking to each other.) Login is accepted, but after that nothing. Just a black screen with a mouse-pointer that can be moved around. Nada mas. Before getting to the login screen, there was something else that drew my attention, but again, I did not know what it meant. The error-message:
fsck from util-linux-ng 2.16 is udevd [527]: NAME: "%k" is superfluous and breaks kernel supplied names, please move it from /etc/udev/rules.d/51-hso-udev.rules:124 * stopping the Firestarter firewall... 9.10: clean, 467963/3055616 files, 8323370/12205383 blocks
[code]...
SuperGrub. It allowed me to boot, but thats it. No further steps taken, if only because SuperGrub does not support the EXT4 filesystem (yet?).I have heard people were able to get to their desktop after receiving this error by using a root account they had previously created. I dont have one, so that would not work.So, I did the three finger salute, stopped the gdm from the terminal, moved gconfd to somewhere else, hoping a new file would be created and the problem would be solved with that, but no. Restarted gdm, it worked but the problem remained.
Ok. Perhaps a reinstall of the GDM might work, I thought. Well, it might, but the problem is I have no internet connection and the usual way I connect my laptop is through phone-tethering. Not having a desktop will not allow me to make a connection.So, sudo apt-get --reinstall install gnome-power-manager did not work as an active connection is required. Also I dont know if that is going to solve the problem.So now I am in the dark. I have booted up a live CD, mounted my HD partition in order to check my /root/.Xauthority, but I could not even find the file.
I refuse to believe there is a serious problem with my Ubuntu install. As far as I can see, there is a problem with some config-files but the system itself looks OK. Reinstalling is preferably not an option, as I love my install and have been working with it for a long time now, with lots of user data on it as well. Also, I have not seperated /HOME, which makes a reinstall a bit of a drag. I am certain there is an easy fix somewhere, someway, but I would need some advice from someone more knowledgable than I am. The only thing I could think of is to find a way to reinstall gnome-power-manager without an active connection. I can download the .deb file with some other device than my laptop but I would not know how to add that to /etc/apt/sources.list. Also, I kind of doubt that the problem lies within a faulty power-manager.
I'm running 2.6.35 on a macbook Air. Since Hal is being deprecated I got rid of it but now I cannot control brightness with the keyboard.Looking at the code on gnome-power-manager, if it doesn't find hal it defaults to xrandr, but I couldn't find a way of controlling brightness with xrandr. Also, I don't see any keybindings on XF86MonBrightness{Down,UP} with gnome-keybindings-properties.I'm loading mactel's nvidia_bl module which creates /sys/class/backlight/nvidia_backlight and from there I can just adjust brightness by editing the corresponding file.
After running a backup script, but previously deleting old downloads and files from the rubbish bin, I then logged out. When logging back in later I got the Ubuntu loading screen as normal, but then instead of the Ubuntu login I got another login screen that I have not seen before; black background with the login screen in the middle.
I tried to login in, but all I got was an error message saying 'Install problem - The configuration defaults for Gnome power manager have not been installed correctly. I am running Ubuntu 10.04 and had a stable system.
gnome power manager judges the system inactivity by the CPU usage (as well as the input device usage). In other words, it goes to sleep mode when the CPU usage is lower than 5 % for dozens of minutes set by a user. I'm just wondering the reason why 5 % of the CPU usage. Isn't it possible for user processes to be working with under 5 % of the CPU usage?
I use Slackware 13.0 with the 2.6.33.2 kernel, and I use GnomeSlackbuild.I tried to get help on their discussion group, but I didn't get any.I'm trying to build gnome-power-manager 2.30, because it uses the new upower interface (so it seems). I have GTK+ 2.18.9.
how to make the SATA port as 1.5G or 3G, 6G by command line operation without reboot PC by editting grub.conf?I need to switch the SATA port as 1.5G <-> 6G without reboot.
I have an eeePC 1005HA, with a Linux Mint 8 distro on it. Each time i start it, i slide down the lcd brightness to take the power consumption low, using the Power Manager Brightness Applet on the gnome panel and each time i restart the pc i have to repeat this over again,I'd like to make this change permanent.
I've noticed g-p-m refreshes information extremely delayed. Sometimes it takes many many minutes before it notifies me that I'm running on battery. how I can change this refresh rate? I've drained the batteries once recently believing the icon that said 89% less than a minute before the batteries were completely discharged (my battery lasts for about 15-20 minutes).
I'm running 10/11 on a toshiba satellite. i kinda got tired of loosing stuff because i mis-timed the battery discharge, so some months ago i pulled the battery and just ran on the adapter (back ground, i don't know if it's nothing, related to, or caused the problem).
monday morning fired her up - boom got the power "gnome manager not installed correctly"message. tuesday, googled gnome then power then... you get the route, and found Fedoraforum.org, read the stuff, did the yum remove...., did the yum install.... everthing seemed cool. 2nd reboot she stopped at the "f/infinity/balloon" kinda logo.
i went to verbose startup and - all sorts of services were failing; the word deprecate(d, ing, tion) came up a lot "device full..." came up a fair bit as well. when i tried the "yum remove" approach again i got [rpmdb: write: 0x1fd48b0, 8192: No space left on device]. similarily on "yum install" same kinda stuff - deprecation, BaseExpection, deprecated..... kinda long winded. up till now (13 years)
I'm running Karmic on a Dell Mini 10v (Intel Atom) netbook, generally with very few problems and I've been happy with it. Recently I've had problems with suspend and wake when I close / open the lid - wicd no longer finding any networks, password prompt no longer appears, that sort of thing. A few days ago an icon popped up in the panel which appeared to do nothing, but mousing over it provided the following message:
"Session active, not inhibited, screen idle. If you can see this text, your display server is broken and you should notify your distributor. [URL]..Following the link, the blog of Richard Hughes appears to quite carefully describe the issue and then provides a patch (or two). However, being rather a n00b I have no idea what to do with either of the blocks of code he supplies - "man patch" in my terminal brings up "no manual entry for patch".
It's all in the title : the network manager & power manager applets don't start automatically when I open a new GNOME session, although they are checked in the "startup application" dialog...
I have upgraded my netbook system to lenny. I got almost every thing working right except gnome-power-manager shutdown event. It shows critical battery level (red color) on its applet on the panel but it does not do the normal safe shutdown action. Instead, it just do a sudden shutdown of the system which causes the lose of some data. Is there any way to solve this issue using lenny's current version (2.22.1-4)?My netbook is AcerOne.
After trying to backup my hard drive on my HP Mini 210-1054TU notebook PC, On start up the users menu comes up (A little changed) and when I sign in it comes back with a window flag that say: The configuration defaults for GNOME power manager have not been installed correctly.I can booth with a stick and see my files and directory but, I am not allowed to open any. There is no access to a terminal or anything but, the users menu. It appears to take the password as, if not right, it would say so but, only comes back with same menu and window flag.Ironic, I was trying to backup my files so I would not lose them.
I am using fedora8. I suddenly noticed that the gnome-power-manager icon (battery icon) has gone missing from my panel. How can I get it back ? I donot see it in the add to panel list so it must have got uninstalled somehow, isn't it so ?
I decided to upgrade my Asus Eee 900 from Lenny to Squeeze, to fix some issues that I was having. I did a fresh install using the beta1 netinstall cd image, and now my system is mostly working as I'd like it. Overall it seems quite good, and it even boots much faster than it did with Lenny.
I've encountered a problem, though. The suspend key doesn't work. I installed the package 'hibernate', and now the system can suspend via a command (which seems to work properly, although I haven't tested it extensively). I've noticed that the squeeze system doesn't have a command that my other Lenny systems do, 's2ram'. And I've noticed also that a package, uswsusp, which seems to be related to this kind of thing, can't be installed because it's not in the repositories: Package uswsusp is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'uswsusp' has no installation candidate
Despite having the Gnome Power Manager set to put the display to seep after 30 minutes, it always happens after 5 minutes. The display will go blank but still lit, and then it powers off after the 30 minutes. Surely, if I set it to 30 minutes, the display should power off then, and not just blank after 5? I have no screensaver packages installed so it's nothing to do with that.
My monitor kept powering down after 20 minutes so I installed Gnome-power-manager by yum so that I could change the settings. After the installation and every time I try to use it I get a message saying:
Quote:
Install problem!
The configuration defaults for Gnome Power Manager have not installed correctly. Please contact your computer administrator
I'm now unable to effect a change in the power settings and the display keeps turning off.
1) Is someone able to post their config file from a working F12 install? I believe it's /etc/dbus-1/system.d/gnome-power-manager.conf but not certain as I don't have one ;-)
2) ~/.gconf/apps/gnome-power-manager/%gconf.xml is empty - is it empty for someone with a working install?
3) how I can change the power settings without the gui - I'm googling on this point and will post the answer as and when I find it.
Code: [ecvej@desktop ~]$ uname -r 2.6.31.5-127.fc12.x86_64 Edit: In case it is relevant, this is the contents of my /etc/gconf/gconf.xml.system/%gconf-tree.xml
When I switch my laptop on when it runs from a battery, gnome-power-manager shows that it works from AC. It is enough if I really plug AC in and unplug it again, than g-p-m knows it works on a battery... It is frustrating when I want to use the laptop on the go, it doesn't know when battery is going to die.
I was using simple backup config to backup home to an external drive and it was working fine for the past week or so and today after the backup the computer was restarted and I am unable to log on. I get an error message saying. "the configuration defaults for gnome power manager have not been installed correctly "
I did some googling and the problem is that / is full. I have been trying for the past three hours to delete some space on / so that I can log on. I used ctr-alt-f1 and I can log on there but whatever command I use to delete the root trash it fails. I get an error message saying /root/.local/share/Trash/files/ is not a file or directory.
delete root trash so I can log onto this computer. I have used every variant of sudo rm -r /root/.local/share/Trash/files/ that I could find including one using Chmod. I have already tried the commands found in this tutorial [URL]
even after applying the patch from this thread [URL] my battery is still not displaying an icon and a tab is not present on the power manager. I use an ibook g3 dual usb. though i didn't restart after applying the patch as it was not mentioned to do so.
One day I was using Gparted and following this I rebooted and had this came up
"Install problem! Configuration defaults for Gnome Power Manager have not been installed correctly. Please contact your computer administrator."
Initially from reading the forums I figured it was because my Ubuntu partition ( I dual boot Windows 7 and Ubuntu 10.4) filled up for some reason.
I used a boot CD and cleared some files in /media. It seems like I kept about 17 GB of backups there for some reason.
The problem is that even though I cleared this out, I still have the same message.
I could just reinstall, but I want to try to keep my data for once, especially my virtualbox harddisks, unless someone can suggest a way to save it and reuse it.
I just tried to start up Ubuntu and got the following error message. "The configuration deaults for gnome power manager have not been installed correctly. Please contact your computer administrator."
I then get a black screen, with the menu bar at the bottom, and a choice of who to log in as. No matter who I choose I get the same error message and then it takes me back to the same screen. It also gives me the choice of what session to use but again, no matter what I choose it just takes me back to the error message and the same screen. I am running Ubuntu 10.10 on an Eeepc 901. I have the Netbook version installed, but I was using the desktop session. The last time my computer worked I ran update manager and it updated some Intel driver i think. Sorry I can't remember the exact details. Not sure if this is something to do with it.