How to make GNOME power management auto scale cpu frequency?

Hello everyone, I installed Archlinux on my new Toshiba U400/H00, everything works nicely, however, I need to manually scale cpu frequency when on AC/Battery, is there a way to make Gnome automatically scale it?
Thanks a lot!

Maybe just go down to acpid level and do it independently of DE devs idiosyncrasies?
For me, the following code in /etc/acpi/handler.sh does the job:
ac_adapter)
case "$2" in
ACAD)
case "$4" in
00000000)
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
00000001)
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 499 > /proc/sys/vm/dirty_writeback_centisecs
esac
*) logger "ACPI action undefined: $2" ;;
esac
I believe the original code there tried to set fixed clockspeeds for these situations, but I find changing governor much more flexible.
Edit: there were some ACPI-related bugs during 2.6.26-27 development cycle, it may happen that you won't get any ACPI events playing with power source. 2.6.28 cured all ACPI problems for me, but YMMV.
Last edited by briest (2008-12-30 19:30:05)

Similar Messages

  • [SOLVED] gnome-power-manager ignores dpms_method_ac

    There's no way (it seems ) to make gnome-power-manager 2.26.3-1 to work fine...
    i'd like to put my monitor in standby after a while instead of simply blank and so i set dpms_method_ac  in gconf accordingly... but with no success...
    i don't know where to find a solution...
    my laptop is a HP pavillion dv5 1210el and thisi is my actual xorg.conf:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 1.0 (buildmeister@builder63) Wed May 27 03:15:36 PDT 2009
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Synaptics Touchpad" "SendCoreEvents"
    InputDevice "USB Mouse" "CorePointer"
    EndSection
    Section "InputDevice"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "Auto"
    Option "ZAxisMapping" "4 5"
    Identifier "USB Mouse"
    Driver "mouse"
    Option "Emulate3Buttons" "true"
    EndSection
    Section "InputDevice"
    Identifier "Synaptics Touchpad"
    Driver "synaptics"
    Option "SendCoreEvents" "true"
    Option "Device" "/dev/psaux"
    Option "Protocol" "auto-dev"
    Option "SHMconfig" "on"
    Option "LeftEdge" "1700" # x coord left
    Option "RightEdge" "5300" # x coord right
    Option "TopEdge" "1700" # y coord top
    Option "BottomEdge" "4200" # y coord bottom
    Option "FingerLow" "25" # pressure below this level triggers release
    Option "FingerHigh" "30" # pressure above this level triggers touch
    Option "MaxTapTime" "180" # max time in ms for detecting tap
    Option "VertEdgeScroll" "true" # enable vertical scroll zone
    Option "HorizEdgeScroll" "true" # enable horizontal scroll zone
    Option "CornerCoasting" "true" # enable continuous scroll with finger in corner
    Option "CoastingSpeed" "0.30" # corner coasting speed
    Option "VertScrollDelta" "100" # edge-to-edge scroll distance of the vertical scroll
    Option "HorizScrollDelta" "100" # edge-to-edge scroll distance of the horizontal scroll
    Option "AccelFactor" "0.0020" # acceleration factor for normal pointer movements
    Option "VertTwoFingerScroll" "true" # vertical scroll anywhere with two fingers
    Option "HorizTwoFingerScroll" "true" # horizontal scroll anywhere with two fingers
    Option "EmulateTwoFingerMinZ" "120" # this may vary between different machines
    Option "TapButton1" "1"
    Option "TapButton2" "2"
    Option "TapButton3" "3"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbModel" "hpdv5"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    HorizSync 28.0 - 33.0
    VertRefresh 43.0 - 72.0
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Option "RenderAccel" "true"
    Option "DamageEvents" "True"
    Option "NoLogo" "true"
    Option "AddARGBGLXVisuals" "True"
    Option "DisableGLXRootClipping" "True"
    Option "OnDemandVBlankInterrupts" "True"
    Option "RegistryDwords""PowerMizerEnable=0x1; PerfLevelSrc=0x2233; PowerMizerDefault=0x3"
    Option "BackingStore" "True"
    Option "TripleBuffer" "True"
    Option "DPMS" "true"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    Section "Module"
    Load "glx"
    Load "synaptics"
    EndSection
    thanx!
    Last edited by euLinux (2009-07-29 07:02:14)

    hi miau!
    i changed my xorg.conf to match your suggestions... Option "DPMS" "true" moved in Monitor section and blanking and dpms settings in ServerLayout:
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Synaptics Touchpad" "SendCoreEvents"
    InputDevice "USB Mouse" "CorePointer"
    Option "BlankTime" "0"
    Option "StandbyTime" "10"
    Option "SuspendTime" "15"
    Option "OffTime" "20"
    EndSection
    i guess you suggested me to do this way, isn't it?
    unfortunately it still doesn't work!
    it seems that after login gnome-power-manager resets all the settings about dpms in xorg.conf... every section i put them in...
    this is part of the output of xset q just after login:
    Screen Saver:
    prefer blanking: yes allow exposures: yes
    timeout: 0 cycle: 600
    Colors:
    default colormap: 0x20 BlackPixel: 0 WhitePixel: 16777215
    Font Path:
    /usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1,built-ins
    DPMS (Energy Star):
    Standby: 0 Suspend: 0 Off: 0
    DPMS is Enabled
    Monitor is On
    any other idea?
    thanx

  • How do I get gnome-power-manager working with standalone Openbox?

    I'm brand new to Arch, so sorry if this is a dumb question that's already been answered. I'm installing on a Thinkpad T410, and I want a battery icon in my system tray. I've installed Openbox as a standalone window manager, and I'm using tint2 for a panel and system tray. I need something in my system tray to show my battery status.
    I've looked around, and I don't really see any alternative to gnome-power-manager (I looked at trayfreq and batterymon), so I'm attempting to use that. I've installed it, but if I try to run it from a terminal I get this:
    GLib-GIO-ERROR **: Settings schema 'org.gnome.settings-daemon.plugins.power' is not installed
    aborting...
    Aborted
    After I get that, it quits and I really don't know what's going on there. Searching for "settings schema not installed" gets me nothing useful, so does anyone have an idea as to how to solve this problem?

    n1md4 wrote:This solution worked for me too.  I run a vanilla openbox install.  Although I now have the battery icon in the panel, when selecting preferences, nothing loads.  Any ideas?
    From this thread https://bbs.archlinux.org/viewtopic.php?id=118420 the user said it solved it installing gnome-control-center.

  • Pm-suspend quirks works - not gnome power manager

    I installed Arch on my Thinkpad R61 once before, but the suspend 2 ram stuff didn't work. Well, I installed again with the goal of figuring it out, and I did. If I add the line
    DISPLAY_QUIRK_S3_BIOS="true"
    to /etc/pm/config.d/config
    Then type sudo pm-suspend in the console and my computer gracefully goes to sleep and wakes up exactly how it should. However if I try to make my computer sleep through any other method, such as closing the lid or pressing the sleep button (Fn+F4) or using the gnome power icon, I just get the screen saver login window and when I return to the main desktop I see "Sleep Problem' popup from the gnome power icon. I'm wondering if there is another file I need to configure to make it all work. I'm really close and this is the last issue I have to solve to have a perfectly working arch install on my laptop, which would make me happy!

    same problem here..
    Acer 5920G T7300, Nvidia 8600GT, Intel 3945abg wifi card..running standard 2.6.25-ARCH from testing
    if I call "sudo pm-suspend" from the console, it works without problems
    if I try to suspend from the gnome-power-manager icon, it get me to the screen saver, and the "Sleep Problem" message popups.
    I have only installed pm-utils, and made the "resume=/path/to/swap" modify in grub's menu.lst .. no other configs or modifications made by me..
    edit I've just tried hibernate (sudo pm-hibernate) and it works fine too.. obviously it doesn't work by the gnome-power-manager icon.
    Last edited by Berseker (2008-05-13 11:30:52)

  • Gnome-power-manager woes

    Hi all.  I've been having a few problems with gnome-power-manager on my Dell Vostro since upgrading to Gnome 2.26.  I was just wondering if anyone else has been experiencing the same issues:
    - When unplugging my laptop, I no longer get any notifications.  Gconf is correctly configured.
    - When plugging my laptop into the mains, I (usually) get a notification which says words to the effect of: you have unplugged your laptop and it is now discharging.  The icon is is correct.
    - Closing the lid won't suspend the laptop, unless the laptop has been suspended at least once since coming up using the suspend options from the g-p-m menu or the system->shutdown menu.
    I've tried a new gconf setup (removing ~/.gconf* and ~/.gnome*).
    Any ideas?

    Here is my semi solution:
    lid_open.sh
    #!/bin/sh
    if cat < /proc/acpi/button/lid/LID0/state | grep -q closed
    then
    sudo hal-set-property --udi /org/freedesktop/Hal/devices/computer_logicaldev_input_3 --key button.state.value --bool false
    #lid has been opened
    else
    sudo hal-set-property --udi /org/freedesktop/Hal/devices/computer_logicaldev_input_3 --key button.state.value --bool true
    #lid has been closed
    fi
    lid_closed.sh
    #!/bin/sh
    sleep 3
    if cat < /proc/acpi/button/lid/LID0/state | grep -q open
    then
    sudo hal-set-property --udi /org/freedesktop/Hal/devices/computer_logicaldev_input_3 --key button.state.value --bool false
    #lid has been opened
    else
    sudo hal-set-property --udi /org/freedesktop/Hal/devices/computer_logicaldev_input_3 --key button.state.value --bool true
    #lid has been closed
    fi
    Does the job... but still
    I would be very thankful if anyone would be able to post a better solution, or, at least, how to make this work automaticaly.
    Last edited by Void_Walker (2009-06-29 23:27:36)

  • [Solved] Systemd - Overrides settings of Gnome-Power-Manager?

    Hello!
    I've always used the following to lines to tell Gnome-Power-Manager not to suspend my laptop, when the lid is closed:
    org.gnome.settings-daemon.plugins.power lid-close-ac-action 'blank'
    org.gnome.settings-daemon.plugins.power lid-close-battery-action 'blank'
    I remember a huge (and regular...) discussion around Gnome 3, because the developers resisted to re-implemented a button for this in the UI of Gnome3. Well, the two lines above done their job all the time. Since the last update of Systemd this seems to be ignored:
    Oct 09 01:19:58 cupcake systemd-logind[273]: Lid closed.
    Oct 09 01:19:58 cupcake systemd-logind[273]: Suspending...
    Oct 09 01:19:58 cupcake systemd[1]: Starting Sleep.
    Oct 09 01:19:58 cupcake systemd[1]: Reached target Sleep.
    Oct 09 01:19:58 cupcake systemd[1]: Starting Suspend...
    Is anyone other affected? Looks like a real problem for me. If I close the lid I want to close my lid, nothing more an especially not suspend
    /var/log/pacman.log
    [2012-10-08 21:59] upgraded systemd (193-1 -> 194-1)
    [2012-10-08 21:59] upgraded systemd-sysvcompat (193-1 -> 194-1)
    Last edited by hoschi (2012-10-08 23:53:06)

    pablox wrote:
    hoschi wrote:
    Nope. Found it five minutes ago. My shame! Thank you
    https://wiki.archlinux.org/index.php/Sy … th_systemd
    This is driving me crazy. I've read the article, but I still don't understand what I'm supposed to do. I have tried changing values from logind.conf *IgnoreInhibited to yes to no, but the laptop still suspend when the lid is closed .
    All you need to do is set HandleLidSwitch=ignore in logind.conf, this will make systemd ignore the lid switch completely, and leave gnome to handle it. Its pretty self explanatory... You can also set the other similar options to ignore, like HandlePowerKey, HandleSuspendKey, HandleHibernateKey if you want only gnome to handle them.
    Last edited by bwat47 (2012-10-10 22:02:54)

  • Udev and gnome-power-manager

    Hi,
    Recently I upgrade the udev from 141-5-i686 to 145-1-i686 in my MSI wind. Then the following problem begins:
    When the system boots this characters can be seen in the screen just before udev is finished: ^@^@
    I can add more characters during the whole boot process if I press Fn+F5 (the brightness hotkey).
    When gnome is running, in few minutes the screen change the brightness very fast, like blinking. This problem only happens if the gnome-power-manager is enabled.
    Downgrading udev fix the problem.
    Does anyone know if this is something related with this particular version of udev, or can I do something to fix it?
    I don't know if the following messages will help, because them can be seen with the current and with the old udev version. But they are the only ones that I think are related with hotkeys amb modules loading. So I post them just in case.
    messages.log:
    Aug 29 14:57:02 peremsi load-modules.sh: 'acpi:LNXSYSTM:' is not a valid module or alias name
    Aug 29 14:57:02 peremsi load-modules.sh: 'dmi:bvnAmericanMegatrendsInc.:bvr4.6.3:bd06/26/2008:svnMICRO-STARINTERNATIONALCO.,LTD
    :pnU-100:pvrVer.001:rvnMICRO-STARINTERNATIONALCO.,LTD:rnU-100:rvrVer.001:cvnMICRO-STARINTERNATIONALCO.,LTD:ct3:cvrVer.001:' is
    not a valid module or alias name
    Aug 29 14:57:02 peremsi load-modules.sh: 'pci:v00008086d000027A6sv00001462sd00000110bc03sc80i00' is not a valid module or alias
    name
    Aug 29 14:57:02 peremsi load-modules.sh: 'platform:vesafb' is not a valid module or alias name
    Aug 29 14:57:02 peremsi load-modules.sh: 'pci:v00008086d00002448sv00000000sd00000000bc06sc04i01' is not a valid module or alias
    name
    Aug 29 14:57:02 peremsi load-modules.sh: 'acpi:PNP0C01:' is not a valid module or alias name
    Aug 29 14:57:02 peremsi load-modules.sh: 'acpi:PNP0800:' is not a valid module or alias name
    Aug 29 14:57:02 peremsi load-modules.sh: 'acpi:PNP0000:' is not a valid module or alias name
    Aug 29 14:57:02 peremsi load-modules.sh: 'acpi:PNP0C01:' is not a valid module or alias name
    Aug 29 14:57:03 peremsi load-modules.sh: 'acpi:PNP0C02:' is not a valid module or alias name
    Aug 29 14:57:03 peremsi load-modules.sh: 'acpi:PNP0103:' is not a valid module or alias name
    Aug 29 14:57:03 peremsi load-modules.sh: 'acpi:PNP0C01:' is not a valid module or alias name
    Aug 29 14:57:03 peremsi load-modules.sh: 'acpi:PNP0100:' is not a valid module or alias name
    Aug 29 14:57:03 peremsi load-modules.sh: 'acpi:PNP0C04:' is not a valid module or alias name
    Aug 29 14:57:03 peremsi load-modules.sh: 'acpi:PNP0200:' is not a valid module or alias name
    Aug 29 14:57:03 peremsi load-modules.sh: 'acpi:PNP0303:PNP030B:' is not a valid module or alias name
    Aug 29 14:57:03 peremsi load-modules.sh: 'acpi:PNP0C02:' is not a valid module or alias name
    Aug 29 14:57:03 peremsi load-modules.sh: 'acpi:PNP0F03:PNP0F13:' is not a valid module or alias name
    Aug 29 14:57:03 peremsi load-modules.sh: 'usb:v0C45p62C0d0100dcEFdsc02dp01ic0Eisc02ip00' is not a valid module or alias name
    Aug 29 14:57:08 peremsi ntfs-3g[2611]: Version 2009.4.4 integrated FUSE 27
    (so many times) This message is because the kernel do not map some hotkeys. Gnome do it.
    atkbd.c: Unknown key released (translated set 2, code 0xf7 on isa0060/serio0).
    atkbd.c: Use 'setkeycodes e077 <keycode>' to make it known.
    atkbd.c: Unknown key pressed (translated set 2, code 0xf8 on isa0060/serio0).
    atkbd.c: Use 'setkeycodes e078 <keycode>' to make it known.

    recently, I updated system, and now I have same problem like you had. I was not sure, what could cause this brightness fast changing. I thought about hal, dbus, udev. Never tried to downgrade udev. Now, I have udev 146. I am not sure what version I had before system upgrading.
    Now, I have kernel 2.6.31, and I am not sure if udev 141 will work with this kernel...
    I have MSI WIND, also...
    Last edited by kunalagon (2010-01-08 11:15:54)

  • Gnome-power-manager with networkmanager_sleep option

    I have a wireless device using the ipw2200 module. I have always found it extremely annoying that gnome-power-manager asks NetworkManager to sleep before suspending, since, first of all, the ipw2200 module doesn't need to be unloaded and, secondly, because I always have to wait the extra few seconds it takes for NM to send the dhcp request after resuming. I made a patch that adds an option to turn the NM-sleep call on or off via a gconf entry (networkmanager_sleep). The patch has been accepted upstream and included in CVS. However, I've made a patch that applies cleanly to gnome-power-manager 2.16.1 as well. Here it is:
    diff -Naur gnome-power-manager-2.16.1/data/gnome-power-manager.schemas.in gnome-power-manager-2.16.1-new/data/gnome-power-manager.schemas.in
    --- gnome-power-manager-2.16.1/data/gnome-power-manager.schemas.in 2006-07-30 14:51:52.000000000 +0200
    +++ gnome-power-manager-2.16.1-new/data/gnome-power-manager.schemas.in 2006-10-05 11:56:10.000000000 +0200
    @@ -571,6 +571,17 @@
    <long>This is the laptop panel screen brightness used when the session is idle. Only valid when use_time_for_policy is true.</long>
    </locale>
    </schema>
    + <schema>
    + <key>/schemas/apps/gnome-power-manager/networkmanager_sleep</key>
    + <applyto>/apps/gnome-power-manager/networkmanager_sleep</applyto>
    + <owner>gnome-power-manager</owner>
    + <type>bool</type>
    + <default>true</default>
    + <locale>
    + <short>If Networkmanager should disconnect.</short>
    + <long>Chooses whether Networkmanager should disconnect from the network before suspending.</long>
    + </locale>
    + </schema>
    </schemalist>
    </gconfschemafile>
    diff -Naur gnome-power-manager-2.16.1/src/gpm-manager.c gnome-power-manager-2.16.1-new/src/gpm-manager.c
    --- gnome-power-manager-2.16.1/src/gpm-manager.c 2006-09-17 22:33:51.000000000 +0200
    +++ gnome-power-manager-2.16.1-new/src/gpm-manager.c 2006-10-05 12:03:22.000000000 +0200
    @@ -1172,6 +1172,7 @@
    gboolean allowed;
    gboolean ret;
    gboolean do_lock;
    + gboolean nm_sleep;
    gpm_manager_allowed_hibernate (manager, &allowed, NULL);
    @@ -1190,7 +1191,12 @@
    gpm_screensaver_lock (manager->priv->screensaver);
    - gpm_networkmanager_sleep ();
    + nm_sleep = gconf_client_get_bool (manager->priv->gconf_client,
    + GPM_PREF_NETWORKMANAGER_SLEEP, NULL);
    + if (nm_sleep) {
    + gpm_networkmanager_sleep ();
    + }
    +
    ret = gpm_hal_hibernate (manager->priv->hal);
    manager_explain_reason (manager, GPM_GRAPH_EVENT_RESUME,
    @@ -1230,7 +1236,12 @@
    if (do_lock) {
    gpm_screensaver_poke (manager->priv->screensaver);
    - gpm_networkmanager_wake ();
    + nm_sleep = gconf_client_get_bool (manager->priv->gconf_client,
    + GPM_PREF_NETWORKMANAGER_SLEEP, NULL);
    + if (nm_sleep) {
    + gpm_networkmanager_wake ();
    + }
    +
    sync_dpms_policy (manager);
    @@ -1257,6 +1268,7 @@
    gboolean allowed;
    gboolean ret;
    gboolean do_lock;
    + gboolean nm_sleep;
    GpmPowerStatus status;
    char *message;
    int charge_before_suspend;
    @@ -1279,7 +1291,12 @@
    gpm_screensaver_lock (manager->priv->screensaver);
    - gpm_networkmanager_sleep ();
    + nm_sleep = gconf_client_get_bool (manager->priv->gconf_client,
    + GPM_PREF_NETWORKMANAGER_SLEEP, NULL);
    + if (nm_sleep) {
    + gpm_networkmanager_sleep ();
    + }
    +
    /* We save the current charge in mWh so we can see how much power we
    lost or gained over the suspend cycle */
    @@ -1348,7 +1365,12 @@
    if (do_lock) {
    gpm_screensaver_poke (manager->priv->screensaver);
    - gpm_networkmanager_wake ();
    + nm_sleep = gconf_client_get_bool (manager->priv->gconf_client,
    + GPM_PREF_NETWORKMANAGER_SLEEP, NULL);
    + if (nm_sleep) {
    + gpm_networkmanager_wake ();
    + }
    +
    sync_dpms_policy (manager);
    diff -Naur gnome-power-manager-2.16.1/src/gpm-prefs.h gnome-power-manager-2.16.1-new/src/gpm-prefs.h
    --- gnome-power-manager-2.16.1/src/gpm-prefs.h 2006-07-30 14:51:54.000000000 +0200
    +++ gnome-power-manager-2.16.1-new/src/gpm-prefs.h 2006-10-05 12:05:15.000000000 +0200
    @@ -55,6 +55,9 @@
    #define GPM_PREF_CAN_HIBERNATE GPM_PREF_DIR "/can_hibernate"
    #define GPM_PREF_LOCK_USE_SCREENSAVER GPM_PREF_DIR "/lock_use_screensaver_settings"
    +
    +#define GPM_PREF_NETWORKMANAGER_SLEEP GPM_PREF_DIR "/networkmanager_sleep"
    +
    /* These are only effective if the system default is turned off. See bug #331164 */
    #define GPM_PREF_LOCK_ON_BLANK_SCREEN GPM_PREF_DIR "/lock_on_blank_screen"
    #define GPM_PREF_LOCK_ON_SUSPEND GPM_PREF_DIR "/lock_on_suspend"
    It would be great if this could be added to the official package, but I'm not expecting it

    Have a look in gconf-editor to see if there's a setting for that? (I can't check now, I'm using XFCE.) Also, check that you didn't keep the default "put computer to sleep when the lid is closed", but I suppose you've done it already...

  • VLC keeps automatically starting gnome-power-manager, why?

    Ive been running fluxbox as my main WM for a long time now. Recently I installed VLC, and every time I watch a movie it automatically starts gnome-power-manager. I have double checked my .fluxbox/startup and my xinitrc and even my rc.conf but there is no mention of gnome-power-manager or gnome-settings-dameon or anything gnome anywhere. It seems to only happen with VLC. Why does this keep happening?
    I don't want to use gnome-power-manager in fluxbox, but I have another user that uses gnome as the default wm so I don't want to remove gnome either. How can I stop this behavior?
    Last edited by tjwoosta (2009-09-13 19:00:19)

    The only thing I can think of is the screen saver option in vlc.
    Go to Tools / Preferences and click the All radio button select Video and see if Disable screensaver is selected.  If not disable it and see if it fixes the problem.
    edit:  typos
    Last edited by loafer (2009-09-13 19:13:12)

  • Where has gnome-power-manager gone?

    I'm using Xmonad (without Gnome) and installed gnome-power-manager to manage the battery on my laptop. I can't find the binary:
    [me@laptop ~]$ pacman -Ss gnome-power-manager
    extra/gnome-power-manager 3.2.0-1 (gnome-extra) [installed]
    Power management tools.
    [me@laptop ~]$ gnome-<tab>
    gnome-autogen.sh gnome-power-statistics
    gnome-doc-common
    [me@laptop ~]$ which gnome-power-manager
    which: no gnome-power-manager in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl)
    Perhaps there were some wild and crazy changes due to Gnome 3? How do I find/use this thing?
    EDIT: After looking at "Package Contents" list on the package page:
    http://www.archlinux.org/packages/extra … r-manager/
    it appears gnome-power-manager is not installed, just gnome-power-statistics. How can this be? They are not the same thing AFAICT.
    Last edited by oops (2011-10-11 22:44:35)

    pacman -Ql gnome-power-manager
    will show you all the files within that package.
    pacman -Ql gnome-power-manager | grep /bin/
    should find some binaries.
    https://wiki.archlinux.org/index.php/FA … tart_it.3F
    Seems there's only /usr/bin/gnome-power-statistics.
    Last edited by karol (2011-10-11 22:45:26)

  • SOLVE strange problem with suspend and resume with gnome-power-manager

    I have pm-utils and gnome installed.
    Suspending and hibernation works well from the command line ($ pm-hibernate and $ pm-suspend).  Resuming works without any problems.
    Suspending from gnome "Shutdown dialog" works perfectly as well.
    However, if suspending is initiated by gnome-power-manager something strange happens:  After pressing the power button resuming switches to hibernation and my laptop turns off.  Resuming from disk works fine again.
    Now, suspending works fine again if I change and save any config file in /etc/pm/.
    Here comes the strange thing:  It doesn't really matter what I change as long as I save it.
    However, as soon as I reboot resuming fails again the way I described above.
    Anyone have a clue what's going on?
    I get no error messages and I've tried all sorts of boot entries.
    Last edited by mehldutt (2007-12-26 19:42:31)

    After some try and error my guess is that "HAL" is responsible for this problem:
    I deinstalled ACPID and 'pm-utils' and switched to 'uswsusp'.
    I made the appropriate changes to the appropriate hal-scrips
    usr/lib/hal/scripts/hal-system-power-suspend:
    #!/bin/sh
    /sbin/s2ram --force
    usr/lib/hal/scripts/hal-system-power-hibernate:
    #!/bin/sh
    /sbin/s2disk
    After these changes I still have the same problem:  immidiatly after resuming form suspend (via power-button) my laptop hibernates (s2disk).
    However, if I delete all entries in "usr/lib/hal/scripts/hal-system-power-hibernate" resuming from suspend works fine again, but hibernate doesn't of course.  So, some script must be calling "usr/lib/hal/scripts/hal-system-power-hibernate" emmediatly after resuming from suspend.
    A couple of weeks ago everything worked fine.  My guess is that one of the recent hal-updates is causing this.
    How can I figure what script is calling "usr/lib/hal/scripts/hal-system-power-hibernate" after resuming from suspend?

  • [Gnome] Gnome-power-manager is interfering the LCD luminosity level

    Hi there
    I'm on a Dell 1525 laptop, I use "Fn"+"down arrow" and "Fn"+"up arrow" to select the LCD luminosity level.
    When gnome-power-manager is running, there are only 4 levels of luminosity, so sometimes I can't adjust it as I want.
    But when gnome-power-manager is not running, there are 8 levels of luminosity.
    How can I configure gnome-power-manager (or perhaps another app?) in order to have the more levels of luminosity?
    Thank you

    In this thread: http://bbs.archlinux.org/viewtopic.php?id=31193
    JGC wrote:The gnome-power-manager thing is something that appeared after switching to the GtkStatusIcon API. This bug appears because gnome-power-manager starts before the notification area is placed on the panel.
    This problem has been picked up already, so perhaps something's already being done before 2.18 goes to the extra repository.

  • Gnome-power-manager wont run

    when i try and run gnome-power-manager i get the following error, how do i fix this?
    thanks markp1989
    [mark@blackeee ~]$ gnome-power-manager --verbose
    TI:14:10:40 TH:0x920a960 FI:egg-debug.c FN:egg_debug_init,306
    - Verbose debugging 1 (on console 1)GPM_VERBOSE
    TI:14:10:40 TH:0x920a960 FI:gpm-main.c FN:main,210
    - GNOME Power Manager 2.26.1
    TI:14:10:40 TH:0x920a960 FI:gpm-session.c FN:gpm_session_init,392
    - DBUS error: Could not get owner of name 'org.gnome.SessionManager': no such name
    ** (gnome-power-manager:4874): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed
    Segmentation fault
    [mark@blackeee ~]$

    Also posted here: http://bbs.archlinux.org/viewtopic.php?id=70812
    Should be fixed in gnome-power-manager-2.26.1-2 (only built for x86_64 at the moment).

  • Gnome-Power-Manager don't save history and statistics

    I notice that g-p-m doesn't save history and statistics during a session:
    when I reboot the pc I loose every information and the graphs start by 0.
    I checked every configuration on gconf-editor, but nothing helped me.
    There is the section /apps/gnome-power-manager/info/ but there isn't a schema for any configuration, I don't know what test I could make.
    And I don't find the folder ~/.gnome2/gnome-power-manager on my Arch installations.
    I found this bug with Ubuntu:
    https://bugs.launchpad.net/ubuntu/+sour … bug/302570
    So I run lshal | grep battery to have information about my asus eeepc battery.
    This is the result:
    [root@e3pc luca]# lshal | grep battery
    udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0'
      battery.charge_level.current = 20871  (0x5187)  (int)
      battery.charge_level.design = 51034  (0xc75a)  (int)
      battery.charge_level.last_full = 50638  (0xc5ce)  (int)
      battery.charge_level.percentage = 41  (0x29)  (int)
      battery.charge_level.rate = 16993  (0x4261)  (int)
      battery.is_rechargeable = true  (bool)
      battery.model = '901'  (string)
      battery.present = true  (bool)
      battery.rechargeable.is_charging = true  (bool)
      battery.rechargeable.is_discharging = false  (bool)
      battery.remaining_time = 6306  (0x18a2)  (int)
      battery.reporting.current = 2691  (0xa83)  (int)
      battery.reporting.design = 6580  (0x19b4)  (int)
      battery.reporting.last_full = 6529  (0x1981)  (int)
      battery.reporting.rate = 2191  (0x88f)  (int)
      battery.reporting.technology = 'Li-ion'  (string)
      battery.reporting.unit = 'mAh'  (string)
      battery.serial = ''  (string)
      battery.technology = 'lithium-ion'  (string)
      battery.type = 'primary'  (string)
      battery.vendor = 'ASUS'  (string)
      battery.voltage.current = 7756  (0x1e4c)  (int)
      battery.voltage.design = 8400  (0x20d0)  (int)
      battery.voltage.unit = 'mV'  (string)
      info.capabilities = {'battery'} (string list)
      info.category = 'battery'  (string)
      info.udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0'  (string)
    Eeepc hasn't the serial. Ok...
    But on my hp 6735s there is the serial of the battery while I run "lshal | grep battery".
    And it has the same problem.
    The version of g-p-m is 2.26.2-1 on both of them.
    I had many difficulties to find documentation about this gnome daemon!!
    Somebody found a solution?
    Thank you all!

    up

  • How to make a mac managed in wgm

    Could anyone point me in the direction of a how to make a mac managed in workgroup manager, ive done it before, but i cant remember how to do it, all i can remember was that once the mac was managed it had a $ after it, then WGM can manage that macs preferences.
    Thanks
    Rob

    Hi John
    I think im trying to do something different, to enable WGM to control clients macs preferences, i had to add a computer to workgroup manager in accounts/computer tab, when the computer was correctly bound (or binded) it looks like my picture, with a $ at the end of it, im trying to add new computers to this list, i just cant remember how to do it, like i say i could have done it through open directory utility.

Maybe you are looking for

  • Can not access to OCA User Pages

    Hello, I am following the OBE for External Authentication Pluggin Configuration, and The guide said i should go url: https://host.domain:4400/oca/user I changed according the host and domain for the infrastructure server, but when I try the resul is

  • Photo uploading from ipad2.

    Can you upload photos from the ipad2 to say, Facebook or other websites? I have a MacBook but can't get it online, the airport isn't working. I have transferred pics to the iPad for uploading. Any help would be greatly appreciated.

  • Flashplugin trouble on Intel GMA 3150

    Hi everyone. I have a trouble in playing video at full screen size. Screenshot: http://twitpic.com/4qmwkj/full How I can fix this trouble??? Thx.

  • Firewire copy from PC to MacBookPro

    I need to copy the files from my PC to the MacBookPro, without having to take the extra time to copy and paste from an external drive. I have found instructions on some forums, but I must not be doing all the proper settings. The seller's tech people

  • Oracle 11gR2 certification for Oracle Linux 6

    Hello, According to Oracle documentation, database certification and support for Oracle 11gR2 under Oracle Linux starts with 11.2.0.3. I was wondering if this might have anything to do with the i386 software prerequisites. Speaking of Oracle 11gR2 x8