<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-3297</id>
	<title>Nabble - Gnome - Power Manager</title>
	<updated>2009-11-17T05:44:22Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Gnome---Power-Manager-f3297.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gnome---Power-Manager-f3297.html" />
	<subtitle type="html">Discussion for power management on the GNOME desktop, as well as discussing the design and interface for the desktop neutral project.
&lt;br&gt;
&lt;b&gt;GNOME Power Manager&lt;/b&gt; is a session daemon written in C that controls high level policy for laptop and PC machines. &lt;br&gt;
It uses the power management objects from HAL and so is architecture neutral. &lt;br&gt;
The project home is &lt;a href=&quot;http://sourceforge.net/projects/gnome-power/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26390158</id>
	<title>Re: How discharging time is evaluated</title>
	<published>2009-11-17T05:44:22Z</published>
	<updated>2009-11-17T05:44:22Z</updated>
	<author>
		<name>Richard Hughes-6</name>
	</author>
	<content type="html">2009/9/13 Patrice Vetsel &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26390158&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ubuntu@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; How the discharging time is evaluate for a netbook ? Here I always start
&lt;br&gt;&amp;gt; with a 4H of time under battery but in fact it's near 7H.
&lt;br&gt;&lt;br&gt;From acpi (the hardware). You probably want to look at
&lt;br&gt;gnome-power-statistics and see if any of the values the hardware is
&lt;br&gt;giving us look wrong.
&lt;br&gt;&lt;br&gt;Richard.
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26390158&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-discharging-time-is-evaluated-tp25426576p26390158.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26065367</id>
	<title>how to leave screen brightness handling to the BIOS</title>
	<published>2009-10-26T11:53:20Z</published>
	<updated>2009-10-26T11:53:20Z</updated>
	<author>
		<name>Guido Berhoerster</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;how can g-p-m be told to leave screen brightness to the BIOS when xrandr 
&lt;br&gt;is used instead of HAL, i.e. what is the equivalent of setting 
&lt;br&gt;laptop_panel.brightness_in_hardware to true with HAL?
&lt;br&gt;There seems to be a problem with Ubuntu 9.10 on MSI Wind Netbooks which 
&lt;br&gt;appear to handle the brightness-related keyboard events in BIOS but 
&lt;br&gt;still emit keypresses 
&lt;br&gt;(&lt;a href=&quot;https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/415023/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/415023/&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Guido Berhoerster
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26065367&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-leave-screen-brightness-handling-to-the-BIOS-tp26065367p26065367.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25955976</id>
	<title>GNOME Power Manager 2.28.1 released</title>
	<published>2009-10-19T03:19:32Z</published>
	<updated>2009-10-19T03:19:32Z</updated>
	<author>
		<name>Richard Hughes-6</name>
	</author>
	<content type="html">Version 2.28.1
&lt;br&gt;~~~~~~~~~~~~~~
&lt;br&gt;Released: 2009-10-19
&lt;br&gt;&lt;br&gt;* Translations
&lt;br&gt;&amp;nbsp;- Updated Catalan translation (David Planella)
&lt;br&gt;&amp;nbsp;- Updated Greek translation (Kostas Papadimas)
&lt;br&gt;&amp;nbsp;- Updated Russian translation (Dmitriy Kodanev)
&lt;br&gt;&amp;nbsp;- Updated Romanian translation (Lucian Adrian Grijincu)
&lt;br&gt;&amp;nbsp;- Updated Danish translation (Mads Lundby)
&lt;br&gt;&amp;nbsp;- Upadated Oriya translation (Manoj Kumar Giri)
&lt;br&gt;&amp;nbsp;- Update Czech translation (Marek Černocký)
&lt;br&gt;&amp;nbsp;- Updated Slovenian translation (Matej Urbančič)
&lt;br&gt;&lt;br&gt;* Bugfix:
&lt;br&gt;&amp;nbsp;- Add missing indirection to return value of
&lt;br&gt;DriveSetAllSpindownTimeouts call (Chris Coulson)
&lt;br&gt;&amp;nbsp;- Fix failure error messages and comments (Martin Pitt)
&lt;br&gt;&amp;nbsp;- Help the kernel through its sleep key confusion (Matthias Clasen)
&lt;br&gt;&amp;nbsp;- Improve configure summary wrt HAL (Michael Biebl)
&lt;br&gt;&amp;nbsp;- Use separate variables for dbus and dbus-glib (Michael Biebl)
&lt;br&gt;&amp;nbsp;- Remove devkit-power tool configure check (Michael Biebl)
&lt;br&gt;&amp;nbsp;- Correctly set the focus on the last used device in
&lt;br&gt;gnome-power-statistics (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Do not hide some radio buttons depending on the current machine
&lt;br&gt;state (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Fix up all the issues reported by clang (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Don't try to match and refresh some devices, to stop g-p-s crashing
&lt;br&gt;on virual devices (Richard Hughes)
&lt;br&gt;&amp;nbsp;- DeviceKit-disks is expecting an int as a value, not a uint (Scott Howard)
&lt;br&gt;&amp;nbsp;- Throttle screensaver before suspend/hibernate (Tormod Volden)
&lt;br&gt;&lt;br&gt;Richard.
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25955976&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GNOME-Power-Manager-2.28.1-released-tp25955976p25955976.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25954959</id>
	<title>Re: Internetdefensegroup.com, Gnome Power Management</title>
	<published>2009-10-19T01:40:02Z</published>
	<updated>2009-10-19T01:40:02Z</updated>
	<author>
		<name>Richard Hughes-6</name>
	</author>
	<content type="html">2009/10/19 &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25954959&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rob@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; Binary for X86 (v2.24.4) – Gnome Power Manager for Solaris Nevada X86
&lt;br&gt;&amp;gt; platform
&lt;br&gt;&amp;gt; Binary for SPARC (v2.24.2) – Gnome Power Manager for Solaris Nevada SPARC
&lt;br&gt;&amp;gt; platform
&lt;br&gt;&lt;br&gt;Do you have a link to patches of the modifications you made please?
&lt;br&gt;&lt;br&gt;Richard.
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25954959&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Internetdefensegroup.com%2C-Gnome-Power-Management-tp25951945p25954959.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25951945</id>
	<title>Internetdefensegroup.com, Gnome Power Management</title>
	<published>2009-10-18T17:45:09Z</published>
	<updated>2009-10-18T17:45:09Z</updated>
	<author>
		<name>rob-233</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;DIV class=Format&gt;
&lt;H2&gt;Internetdefensegroup.com uses &lt;A id=Gnome_Power_Management_Utilities_gpm_ name=Gnome_Power_Management_Utilities_gpm_ target=&quot;_top&quot;&gt;Gnome Power Management Utilities(gpm)&lt;/A&gt;&lt;/H2&gt;
&lt;P&gt;This is GNOME power manager utilities that work with the enhanced acpi (battery, lid, brightness, power button) and CPUfreq scaling.&lt;/P&gt;
&lt;P&gt;The GPM GUI was integrated in nevada build 92.&lt;/P&gt;
&lt;P&gt;GNOME Power Manager (GPM) is a set of utilities for the desktop user to manage everything about power in his laptop or desktop system. GPM stems from &lt;A href=&quot;http://www.gnome.org/projects/gnome-power-manager/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;GNOME community&lt;/A&gt;. Now we port it to Solaris.&lt;/P&gt;
&lt;P&gt;It supports following features:&lt;/P&gt;
&lt;P&gt;o Monitor battery status, which shows whether battery is present or not and alerts when battery power is critically low.&lt;/P&gt;
&lt;P&gt;o Trigger an action when lid is closed.&lt;/P&gt;
&lt;P&gt;o Set CPU frequency policy.&lt;/P&gt;
&lt;P&gt;o Set power button response action&lt;/P&gt;
&lt;P&gt;o Adjust laptop screen brightness.&lt;/P&gt;
&lt;P&gt;o suspend/hibernate system.&lt;/P&gt;
&lt;P&gt;o Visualize power consumption statistics.&lt;/P&gt;
&lt;H3&gt;&lt;A id=Downloads name=Downloads target=&quot;_top&quot;&gt;Downloads&lt;/A&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href=&quot;http://opensolaris.org/os/community/laptop/gpm/SUNWgnome-power-manager-2.24.4-x86.tar.bz2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Binary for X86&lt;/A&gt; (v2.24.4)  Gnome Power Manager for Solaris Nevada X86 platform&lt;/LI&gt;&lt;/UL&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href=&quot;http://opensolaris.org/os/community/laptop/gpm/SUNWgnome-power-manager-2.24.4-sparc.tar.bz2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Binary for SPARC&lt;/A&gt; (v2.24.2)  Gnome Power Manager for Solaris Nevada SPARC platform&lt;/LI&gt;&lt;/UL&gt;
&lt;H3&gt;&lt;A id=Demostration name=Demostration target=&quot;_top&quot;&gt;Demostration&lt;/A&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href=&quot;http://opensolaris.org/os/community/laptop/gpm/GPM_demo.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Flash Demo&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;NOTE: Suspend on laptop is an experimental feature so far.&lt;/P&gt;
&lt;H3&gt;&lt;A id=Others name=Others target=&quot;_top&quot;&gt;Others&lt;/A&gt;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 130%&quot;&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;&lt;FONT size=5&gt;Features&lt;br&gt;
&lt;br&gt;
&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;In summary, &lt;SPAN id=SPELLING_ERROR_4 class=blsp-spelling-error&gt;GPM&lt;/SPAN&gt; provides features as follows:&lt;/P&gt;
&lt;DIV style=&quot;TEXT-ALIGN: left&quot;&gt;&lt;PRE&gt;1 Battery Monitor&lt;br&gt;
- power status (AC, battery charging, battery discharging and&lt;br&gt;
battery power volume)&lt;br&gt;
- Emit notification message and beep when battery power is&lt;br&gt;
critically low&lt;br&gt;
- perform the specified action when battery is below the critical&lt;br&gt;
level&lt;br&gt;
&lt;br&gt;
2 Suspend&amp;amp;Hibernate&lt;br&gt;
- suspend manually&lt;br&gt;
- hibernate manually (only on sparc for now)&lt;br&gt;
&lt;br&gt;
3 Brightness support&lt;br&gt;
- brightness hot-key&lt;br&gt;
- brightness applet, show and adjust brightness level by mouse&lt;br&gt;
- Set the specified brightness level in different power modes.&lt;br&gt;
&lt;br&gt;
4 CPU scaling policy&lt;br&gt;
- ondemand&lt;br&gt;
- performance&lt;br&gt;
&lt;br&gt;
5 Hot-key support&lt;br&gt;
- power button&lt;br&gt;
- brightness hot-key&lt;br&gt;
&lt;br&gt;
6 Lid support&lt;br&gt;
- perform the specified action including blank, suspend and hibernate when lid is closed.&lt;br&gt;
- beep when lid is closed/opened.&lt;br&gt;
&lt;br&gt;
7 Configuration switching between AC power and Battery Power&lt;br&gt;
- change the action configuration when lid is closed (the action is&lt;br&gt;
one of nothing, blank screen, suspend and hibernate)&lt;br&gt;
- change the action configuration when battery is below the critical&lt;br&gt;
level. (Only in battery mode)&lt;br&gt;
- change the CPU scaling policy&lt;br&gt;
- change the brightness level&lt;br&gt;
&lt;br&gt;
8 Preferences&lt;br&gt;
- action when lid is closed (in ac and battery power mode)&lt;br&gt;
- action when battery is critically low (only in battery power mode)&lt;br&gt;
- brightness level (in ac and battery power mode)&lt;br&gt;
- cpu scaling policy (in ac and battery power mode)&lt;br&gt;
- action when power button is pressed (general)&lt;br&gt;
- action when suspend button is pressed (general)&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25951945&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Internetdefensegroup.com%2C-Gnome-Power-Management-tp25951945p25951945.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26022450</id>
	<title>Re: The suspend and hibernate menu items Click to flag this post</title>
	<published>2009-10-10T15:09:34Z</published>
	<updated>2009-10-10T15:09:34Z</updated>
	<author>
		<name>Patrick Pfeifer</name>
	</author>
	<content type="html">on 2009/9/14 Richard Hughes wrote:
&lt;br&gt;&amp;nbsp; &amp;nbsp; [...] The user can still
&lt;br&gt;&amp;nbsp; &amp;nbsp; click system -&amp;gt; shutdown -&amp;gt; suspend, or setup a icon on the panel to
&lt;br&gt;&amp;nbsp; &amp;nbsp; do this, or if a laptop just shut the lid. What do you think?
&lt;br&gt;&lt;br&gt;I think those menu entries didn't do any harm at all and I was really missing them. At least now i know there's supposed to be some g-conf key somewhere, which I'll be looking for now.
&lt;br&gt;&lt;br&gt;Anyway - thanks for writing gnome-power-manager in the first place, Richard. I think it's a nice application all in all.
&lt;br&gt;&lt;br&gt;Would be glad if i could get those menu entries back though. I know there are other ways to hibernate, but it happend to be my method of choice to click on these entries as it's only 2 clicks - compared to three through the system menu. ... :-)
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;&lt;br&gt;patrick
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26022450&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-The-suspend-and-hibernate-menu-items-Click-to-flag-this-post-tp26022450p26022450.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25671550</id>
	<title>Re: Problem forcing monitor to standby</title>
	<published>2009-09-29T14:48:39Z</published>
	<updated>2009-09-29T14:48:39Z</updated>
	<author>
		<name>Allen Weiner</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;head&gt;

&lt;/head&gt;
&lt;body class='hmmessage'&gt;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Date: Mon, 28 Sep 2009 09:54:24 +0100&lt;br&gt;&amp;gt; Subject: Re: [gpm] Problem forcing monitor to standby&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25671550&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hughsient@...&lt;/a&gt;&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25671550&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alweiner7@...&lt;/a&gt;&lt;br&gt;&amp;gt; CC: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25671550&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; On 30/07/2009, Allen Weiner &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25671550&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alweiner7@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt; &amp;gt; My multiboot desktop PC runs Fedora 11 and Ubuntu 9.04. The PC has an LCD&lt;br&gt;&amp;gt; &amp;gt; monitor and a GeForce 6200 graphics card. On both Fedora and Ubuntu I use&lt;br&gt;&amp;gt; &amp;gt; the proprietary nvidia driver provided by the distro.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; The proprietary drivers are not provided by Fedora, and really, they&lt;br&gt;&amp;gt; are unsupported.&lt;/div&gt;&lt;br&gt;What I meant by this is I use the nvidia driver from the rpmfusion repository, the standard (unofficial) Fedora repo for proprietary items, as opposed to obtaining the nvidia driver from the nvidia web site.&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &amp;gt; I just started using Fedora-Gnome. When I run this script under&lt;br&gt;&amp;gt; &amp;gt; Fedora-Gnome, the monitor goes into standby for about two minutes and then&lt;br&gt;&amp;gt; &amp;gt; turns back on. Why is the monitor coming back on under Fedora-Gnome?  The&lt;br&gt;&amp;gt; &amp;gt; monitor does the same thing if I issue the xset dpms force standby from a&lt;br&gt;&amp;gt; &amp;gt; terminal.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; I'm not sure. You could try running:&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; killall gnome-power-manager&lt;br&gt;&amp;gt; gnome-power-manager --verbose&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; and see if gnome-power-manager causes events when the monitor wakes&lt;br&gt;&amp;gt; up. It could also be an X bug, or even a nvidia bug.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &amp;gt; Also, if I use the menu option to exit Fedora-Gnome, and I select &quot;suspend&quot;,&lt;br&gt;&amp;gt; &amp;gt; the system ignores my request.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; Sounds like your system doesn't support suspend. Arguably, it's also a&lt;br&gt;&amp;gt; bug where the suspend menu item is displayed in this case.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &amp;gt; [aweiner@localhost Documents]$ lshal | grep can_suspend&lt;br&gt;&amp;gt; &amp;gt;   power_management.can_suspend = false  (bool)&lt;br&gt;&amp;gt; &amp;gt;   power_management.can_suspend_hybrid = false  (bool)&lt;br&gt;&amp;gt; &amp;gt;   power_management.can_suspend_to_disk = true  (bool)&lt;br&gt;&amp;gt; &amp;gt;   power_management.can_suspend_to_ram = false  (bool)&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; According to HAL your system doesn't support suspending. What's the&lt;br&gt;&amp;gt; output of &quot;cat /sys/power/state&quot; ?&lt;/div&gt;&lt;br&gt;[aweiner@localhost Documents]$ cat /sys/power/state&lt;br&gt;standby disk&lt;br&gt;&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; Richard.&lt;br&gt; 		 	   		  &lt;br /&gt;&lt;hr /&gt;Microsoft brings you a new way to search the web. &lt;a href='http://www.bing.com?form=MFEHPG&amp;publ=WLHMTAG&amp;crea=TEXT_MFEHPG_Core_tagline_try bing_1x1' target='_new' rel=&quot;nofollow&quot;&gt;Try  Bing™ now&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25671550&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-forcing-monitor-to-standby-tp25642435p25671550.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25659115</id>
	<title>dpms problems</title>
	<published>2009-09-28T03:13:17Z</published>
	<updated>2009-09-28T03:13:17Z</updated>
	<author>
		<name>Shai Ayal-3</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;I have some DPMS problems. I am not running a full gnome desktop, just
&lt;br&gt;gnome-settings-daemon and gnome-power-manager with fluxbox
&lt;br&gt;&lt;br&gt;I can set the dpms parameters using xset:
&lt;br&gt;xset dpms 300 600 1200
&lt;br&gt;&lt;br&gt;and the screen blanks after 5 minutes. However, after resuming from
&lt;br&gt;suspend they are reset as shown by xset q:
&lt;br&gt;DPMS (Energy Star):
&lt;br&gt;&amp;nbsp; Standby: 0 &amp;nbsp; &amp;nbsp;Suspend: 0 &amp;nbsp; &amp;nbsp;Off: 0
&lt;br&gt;&amp;nbsp; DPMS is Enabled
&lt;br&gt;&amp;nbsp; Monitor is On
&lt;br&gt;and the screen never blanks
&lt;br&gt;&lt;br&gt;I must say that apart from this glitch I everything worked out of the
&lt;br&gt;box - thanks for this great piece of software.
&lt;br&gt;Shai
&lt;br&gt;&lt;br&gt;My system:
&lt;br&gt;debian sid on a dell d630 with a nvidia quadro graphics card. all
&lt;br&gt;software installed by apt. debian package versions:
&lt;br&gt;gnome-power-manager &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2.24.4-3
&lt;br&gt;dbus &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1.2.16-2
&lt;br&gt;hal &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.5.13-3
&lt;br&gt;linux-image-2.6.30-1-686 &amp;nbsp; 2.6.30-6
&lt;br&gt;&lt;br&gt;output of gconftool-2 -R /apps/gnome-power-manager:
&lt;br&gt;&amp;nbsp;/apps/gnome-power-manager/buttons:
&lt;br&gt;&amp;nbsp; lid_battery = suspend
&lt;br&gt;&amp;nbsp; hibernate = hibernate
&lt;br&gt;&amp;nbsp; suspend = suspend
&lt;br&gt;&amp;nbsp; lid_ac = suspend
&lt;br&gt;&amp;nbsp; power = interactive
&lt;br&gt;&amp;nbsp;/apps/gnome-power-manager/keyboard:
&lt;br&gt;&amp;nbsp; brightness_battery = 50
&lt;br&gt;&amp;nbsp; brightness_ac = 100
&lt;br&gt;&amp;nbsp;/apps/gnome-power-manager/actions:
&lt;br&gt;&amp;nbsp; low_ups = nothing
&lt;br&gt;&amp;nbsp; sleep_type_ac = suspend
&lt;br&gt;&amp;nbsp; event_when_closed_battery = true
&lt;br&gt;&amp;nbsp; critical_ups = shutdown
&lt;br&gt;&amp;nbsp; critical_battery = shutdown
&lt;br&gt;&amp;nbsp; sleep_type_battery = hibernate
&lt;br&gt;&amp;nbsp;/apps/gnome-power-manager/ambient:
&lt;br&gt;&amp;nbsp; dim_policy = none
&lt;br&gt;&amp;nbsp; correction_factor = 50
&lt;br&gt;&amp;nbsp; correction_scale = 200
&lt;br&gt;&amp;nbsp; poll_timeout = 60
&lt;br&gt;&amp;nbsp; enable = true
&lt;br&gt;&amp;nbsp;/apps/gnome-power-manager/thresholds:
&lt;br&gt;&amp;nbsp; time_low = 1200
&lt;br&gt;&amp;nbsp; time_critical = 300
&lt;br&gt;&amp;nbsp; percentage_low = 10
&lt;br&gt;&amp;nbsp; time_action = 120
&lt;br&gt;&amp;nbsp; percentage_critical = 3
&lt;br&gt;&amp;nbsp; percentage_action = 2
&lt;br&gt;&amp;nbsp;/apps/gnome-power-manager/ui:
&lt;br&gt;&amp;nbsp; show_context_menu = true
&lt;br&gt;&amp;nbsp; show_actions_in_menu = true
&lt;br&gt;&amp;nbsp; icon_policy = always
&lt;br&gt;&amp;nbsp; enable_sound = true
&lt;br&gt;&amp;nbsp;/apps/gnome-power-manager/lowpower:
&lt;br&gt;&amp;nbsp; on_battery = true
&lt;br&gt;&amp;nbsp; on_ups = true
&lt;br&gt;&amp;nbsp; on_ac = false
&lt;br&gt;&amp;nbsp;/apps/gnome-power-manager/lock:
&lt;br&gt;&amp;nbsp; hibernate = true
&lt;br&gt;&amp;nbsp; suspend = true
&lt;br&gt;&amp;nbsp; gnome_keyring_hibernate = true
&lt;br&gt;&amp;nbsp; blank_screen = true
&lt;br&gt;&amp;nbsp; use_screensaver_settings = true
&lt;br&gt;&amp;nbsp; gnome_keyring_suspend = false
&lt;br&gt;&amp;nbsp;/apps/gnome-power-manager/timeout:
&lt;br&gt;&amp;nbsp; sleep_display_ac = 60
&lt;br&gt;&amp;nbsp; sleep_computer_battery = 0
&lt;br&gt;&amp;nbsp; sleep_computer_ac = 0
&lt;br&gt;&amp;nbsp; sleep_display_battery = 300
&lt;br&gt;&amp;nbsp;/apps/gnome-power-manager/general:
&lt;br&gt;&amp;nbsp; invalid_timeout = 500
&lt;br&gt;&amp;nbsp; use_profile_time = true
&lt;br&gt;&amp;nbsp; ignore_inhibit_requests = false
&lt;br&gt;&amp;nbsp; check_type_cpu = false
&lt;br&gt;&amp;nbsp; debug = false
&lt;br&gt;&amp;nbsp; can_suspend = true
&lt;br&gt;&amp;nbsp; can_hibernate = true
&lt;br&gt;&amp;nbsp; use_time_for_policy = true
&lt;br&gt;&amp;nbsp; network_sleep = false
&lt;br&gt;&amp;nbsp; installed_schema = 3
&lt;br&gt;&amp;nbsp; policy_suppression_timeout = 5
&lt;br&gt;&amp;nbsp;/apps/gnome-power-manager/backlight:
&lt;br&gt;&amp;nbsp; dpms_method_battery = default
&lt;br&gt;&amp;nbsp; idle_dim_time = 30
&lt;br&gt;&amp;nbsp; battery_reduce = true
&lt;br&gt;&amp;nbsp; brightness_ac = 88
&lt;br&gt;&amp;nbsp; idle_brightness = 30
&lt;br&gt;&amp;nbsp; enable = true
&lt;br&gt;&amp;nbsp; idle_dim_ac = true
&lt;br&gt;&amp;nbsp; dpms_method_ac = default
&lt;br&gt;&amp;nbsp; idle_dim_battery = true
&lt;br&gt;&amp;nbsp; brightness_dim_battery = 50
&lt;br&gt;&amp;nbsp;/apps/gnome-power-manager/statistics:
&lt;br&gt;&amp;nbsp; graph_type = profile-charge-accuracy
&lt;br&gt;&amp;nbsp; show_events = true
&lt;br&gt;&amp;nbsp; show_axis_labels = true
&lt;br&gt;&amp;nbsp; smooth_data = true
&lt;br&gt;&amp;nbsp; data_max_time = 21600
&lt;br&gt;&amp;nbsp;/apps/gnome-power-manager/notify:
&lt;br&gt;&amp;nbsp; discharging = true
&lt;br&gt;&amp;nbsp; inhibit_lid = false
&lt;br&gt;&amp;nbsp; sleep_failed = true
&lt;br&gt;&amp;nbsp; low_power = true
&lt;br&gt;&amp;nbsp; perhaps_recall = true
&lt;br&gt;&amp;nbsp; low_capacity = true
&lt;br&gt;&amp;nbsp; estimated_data = true
&lt;br&gt;&amp;nbsp; fully_charged = true
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25659115&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/dpms-problems-tp25659115p25659115.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25642553</id>
	<title>Re: ACPI -correct without AC- measures a power of ~720 Watts when AC is plugged in</title>
	<published>2009-09-28T01:58:56Z</published>
	<updated>2009-09-28T01:58:56Z</updated>
	<author>
		<name>Richard Hughes-6</name>
	</author>
	<content type="html">On 26/09/2009, Peter Waller &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642553&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;peter.waller@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; This is making gnome-power-manager incorrectly report time-to-empty and
&lt;br&gt;&amp;gt; time-to-full by a significant margin, enough to make the estimates useless
&lt;br&gt;&amp;gt; (2 minutes to completely fill an empty battery?).
&lt;br&gt;&lt;br&gt;Smeels like a kernel bug...
&lt;br&gt;&lt;br&gt;&amp;gt; I guess I need to talk to the kernel ACPI guys to get it fixed there, but I
&lt;br&gt;&amp;gt; was wondering if it would be possible to have an option in GPM to ignore
&lt;br&gt;&amp;gt; these obviously ridiculous values.
&lt;br&gt;&lt;br&gt;Well, it would be a DeviceKit-power feature request. Arguably, we
&lt;br&gt;should just finish the time estimation work in DeviceKit-power and
&lt;br&gt;turn it on by default. Then this sort of bug wouldn't happen.
&lt;br&gt;&lt;br&gt;Richard.
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642553&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ACPI--correct-without-AC--measures-a-power-of-%7E720-Watts-when-AC-is-plugged-in-tp25642437p25642553.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25642503</id>
	<title>Re: Problem forcing monitor to standby</title>
	<published>2009-09-28T01:54:24Z</published>
	<updated>2009-09-28T01:54:24Z</updated>
	<author>
		<name>Richard Hughes-6</name>
	</author>
	<content type="html">On 30/07/2009, Allen Weiner &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642503&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alweiner7@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; My multiboot desktop PC runs Fedora 11 and Ubuntu 9.04. The PC has an LCD
&lt;br&gt;&amp;gt; monitor and a GeForce 6200 graphics card. On both Fedora and Ubuntu I use
&lt;br&gt;&amp;gt; the proprietary nvidia driver provided by the distro.
&lt;br&gt;&lt;br&gt;The proprietary drivers are not provided by Fedora, and really, they
&lt;br&gt;are unsupported.
&lt;br&gt;&lt;br&gt;&amp;gt; I just started using Fedora-Gnome. When I run this script under
&lt;br&gt;&amp;gt; Fedora-Gnome, the monitor goes into standby for about two minutes and then
&lt;br&gt;&amp;gt; turns back on. Why is the monitor coming back on under Fedora-Gnome? &amp;nbsp;The
&lt;br&gt;&amp;gt; monitor does the same thing if I issue the xset dpms force standby from a
&lt;br&gt;&amp;gt; terminal.
&lt;br&gt;&lt;br&gt;I'm not sure. You could try running:
&lt;br&gt;&lt;br&gt;killall gnome-power-manager
&lt;br&gt;gnome-power-manager --verbose
&lt;br&gt;&lt;br&gt;and see if gnome-power-manager causes events when the monitor wakes
&lt;br&gt;up. It could also be an X bug, or even a nvidia bug.
&lt;br&gt;&lt;br&gt;&amp;gt; Also, if I use the menu option to exit Fedora-Gnome, and I select &amp;quot;suspend&amp;quot;,
&lt;br&gt;&amp;gt; the system ignores my request.
&lt;br&gt;&lt;br&gt;Sounds like your system doesn't support suspend. Arguably, it's also a
&lt;br&gt;bug where the suspend menu item is displayed in this case.
&lt;br&gt;&lt;br&gt;&amp;gt; [aweiner@localhost Documents]$ lshal | grep can_suspend
&lt;br&gt;&amp;gt; &amp;nbsp; power_management.can_suspend = false &amp;nbsp;(bool)
&lt;br&gt;&amp;gt; &amp;nbsp; power_management.can_suspend_hybrid = false &amp;nbsp;(bool)
&lt;br&gt;&amp;gt; &amp;nbsp; power_management.can_suspend_to_disk = true &amp;nbsp;(bool)
&lt;br&gt;&amp;gt; &amp;nbsp; power_management.can_suspend_to_ram = false &amp;nbsp;(bool)
&lt;br&gt;&lt;br&gt;According to HAL your system doesn't support suspending. What's the
&lt;br&gt;output of &amp;quot;cat /sys/power/state&amp;quot; ?
&lt;br&gt;&lt;br&gt;Richard.
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642503&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-forcing-monitor-to-standby-tp25642435p25642503.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25642458</id>
	<title>Re: odd behaviour</title>
	<published>2009-09-28T01:50:43Z</published>
	<updated>2009-09-28T01:50:43Z</updated>
	<author>
		<name>Richard Hughes-6</name>
	</author>
	<content type="html">On 31/08/2009, Brian Russ &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642458&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bjrus@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I noticed a few days ago that my desktop machine (which I use most days)
&lt;br&gt;&amp;gt; had switched itself on in the middle of the night. This was mystifying
&lt;br&gt;&amp;gt; because the only change I had made recently was to accept some security
&lt;br&gt;&amp;gt; updates in the usual way. Now I notice the new Notification icon in the
&lt;br&gt;&amp;gt; top panel and the power &amp;nbsp;management facility includes the battery stuff
&lt;br&gt;&amp;gt; that is irrelevant. The worst thing is that Shutdown no longer means
&lt;br&gt;&amp;gt; that - the machine switches itself on again immediately. This is bad
&lt;br&gt;&amp;gt; because my Dell Vostro has a power button that only ever switches ON. I
&lt;br&gt;&amp;gt; shouldn't have to pull the plug ! &amp;nbsp;can I get back to the previous, easy
&lt;br&gt;&amp;gt; set-up ?
&lt;/div&gt;&lt;br&gt;Sorry for the delay, your mail got stuck in the moderation queue.
&lt;br&gt;Could you please explain exactly what the problem is? It would also be
&lt;br&gt;helpful to know the output from gnome-power-bugreport.sh
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Richard.
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642458&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/odd-behaviour-tp25642436p25642458.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25642437</id>
	<title>ACPI -correct without AC- measures a power of ~720 Watts when AC is plugged in</title>
	<published>2009-09-26T06:22:30Z</published>
	<updated>2009-09-26T06:22:30Z</updated>
	<author>
		<name>Peter Waller</name>
	</author>
	<content type="html">I&amp;#39;m on gentoo, and I&amp;#39;m using gnome-extra/gnome-power-manager-2.27.92.&lt;br&gt;&lt;br&gt;When plugged in, /proc/acpi/battery/BAT0/state reports:&lt;br&gt;  charging state:          charging&lt;br&gt;  present rate:            64645 mA&lt;br&gt;

&lt;br&gt;After unplugging AC:&lt;br&gt;  charging state:          discharging&lt;br&gt;  present rate:            4168 mA&lt;br&gt;&lt;br&gt;And for a good minute after unplugging, the rate is still ridiculously high. This is making gnome-power-manager incorrectly report time-to-empty and time-to-full by a significant margin, enough to make the estimates useless (2 minutes to completely fill an empty battery?).&lt;br&gt;

&lt;br&gt;I guess I need to talk to the kernel ACPI guys to get it fixed there, but I was wondering if it would be possible to have an option in GPM to ignore these obviously ridiculous values.&lt;br&gt;&lt;br&gt;Thoughts?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;

&lt;br&gt;- Peter&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642437&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ACPI--correct-without-AC--measures-a-power-of-%7E720-Watts-when-AC-is-plugged-in-tp25642437p25642437.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25442399</id>
	<title>Re: The suspend and hibernate menu items</title>
	<published>2009-09-14T12:54:10Z</published>
	<updated>2009-09-14T12:54:10Z</updated>
	<author>
		<name>Arnaud Quette</name>
	</author>
	<content type="html">Hey Richard and the list,&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/9/14 Richard Hughes&lt;span dir=&quot;ltr&quot;&gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
I&amp;#39;m thinking the suspend and hibernate menu items (when you left click&lt;br&gt;
the battery icon) don&amp;#39;t really work. The icon isn&amp;#39;t shown if there are&lt;br&gt;
no battery devices, and in some cases it&amp;#39;s only shown when the&lt;br&gt;
batteries are discharging or critical, so it&amp;#39;s not always there. I&amp;#39;m&lt;br&gt;
thinking of setting the GConf keys to default false for 2.27.x and&lt;br&gt;
removing the functionality completely for 2.29. The user can still&lt;br&gt;
click system -&amp;gt; shutdown -&amp;gt; suspend, or setup a icon on the panel to&lt;br&gt;
do this, or if a laptop just shut the lid. What do you think?&lt;br&gt;
&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;I, as most it seems, have never used these.&lt;br&gt;whenever I do call shutdown / hibernate (...) from the menu (ie not from hw keys), I use the Gnome menu.&lt;br&gt;&lt;br&gt;moreover, I also found these inapropriate and redundant with the system menu.&lt;br&gt;
so, removing these is very welcome.&lt;br&gt;&lt;br&gt;cheers,&lt;br&gt;&lt;/div&gt;&lt;/div&gt;Arnaud&lt;br&gt;-- &lt;br&gt;Linux / Unix Expert R&amp;amp;D - Eaton - &lt;a href=&quot;http://www.eaton.com/mgeops&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.eaton.com/mgeops&lt;/a&gt;&lt;br&gt;Network UPS Tools (NUT) Project Leader - &lt;a href=&quot;http://www.networkupstools.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.networkupstools.org/&lt;/a&gt;&lt;br&gt;
Debian Developer - &lt;a href=&quot;http://www.debian.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.debian.org&lt;/a&gt;&lt;br&gt;Free Software Developer - &lt;a href=&quot;http://arnaud.quette.free.fr/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://arnaud.quette.free.fr/&lt;/a&gt;&lt;br&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25442399&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/The-suspend-and-hibernate-menu-items-tp25434208p25442399.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25436392</id>
	<title>Re: The suspend and hibernate menu items</title>
	<published>2009-09-14T07:03:57Z</published>
	<updated>2009-09-14T07:03:57Z</updated>
	<author>
		<name>Odysseus Flappington</name>
	</author>
	<content type="html">I&amp;#39;ve never used the battery icon menu for those actions, I don&amp;#39;t see why others would, since it is in the system shutdown menu.&lt;br&gt;&lt;br&gt;Odysseus&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/9/14 Richard Hughes &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25436392&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hughsient@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;I&amp;#39;m thinking the suspend and hibernate menu items (when you left click&lt;br&gt;
the battery icon) don&amp;#39;t really work. The icon isn&amp;#39;t shown if there are&lt;br&gt;
no battery devices, and in some cases it&amp;#39;s only shown when the&lt;br&gt;
batteries are discharging or critical, so it&amp;#39;s not always there. I&amp;#39;m&lt;br&gt;
thinking of setting the GConf keys to default false for 2.27.x and&lt;br&gt;
removing the functionality completely for 2.29. The user can still&lt;br&gt;
click system -&amp;gt; shutdown -&amp;gt; suspend, or setup a icon on the panel to&lt;br&gt;
do this, or if a laptop just shut the lid. What do you think?&lt;br&gt;
&lt;br&gt;
Thanks.&lt;br&gt;
&lt;br&gt;
Richard.&lt;br&gt;
_______________________________________________&lt;br&gt;
gnome-power-manager-list mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25436392&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25436392&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/The-suspend-and-hibernate-menu-items-tp25434208p25436392.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25436187</id>
	<title>Re: The suspend and hibernate menu items</title>
	<published>2009-09-14T06:52:44Z</published>
	<updated>2009-09-14T06:52:44Z</updated>
	<author>
		<name>Matthias Clasen</name>
	</author>
	<content type="html">On Mon, 2009-09-14 at 12:30 +0100, Richard Hughes wrote:
&lt;br&gt;&amp;gt; I'm thinking the suspend and hibernate menu items (when you left click
&lt;br&gt;&amp;gt; the battery icon) don't really work. The icon isn't shown if there are
&lt;br&gt;&amp;gt; no battery devices, and in some cases it's only shown when the
&lt;br&gt;&amp;gt; batteries are discharging or critical, so it's not always there. I'm
&lt;br&gt;&amp;gt; thinking of setting the GConf keys to default false for 2.27.x and
&lt;br&gt;&amp;gt; removing the functionality completely for 2.29. The user can still
&lt;br&gt;&amp;gt; click system -&amp;gt; shutdown -&amp;gt; suspend, or setup a icon on the panel to
&lt;br&gt;&amp;gt; do this, or if a laptop just shut the lid. What do you think?
&lt;br&gt;&lt;br&gt;That sounds good to me.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25436187&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/The-suspend-and-hibernate-menu-items-tp25434208p25436187.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25434208</id>
	<title>The suspend and hibernate menu items</title>
	<published>2009-09-14T04:30:26Z</published>
	<updated>2009-09-14T04:30:26Z</updated>
	<author>
		<name>Richard Hughes-6</name>
	</author>
	<content type="html">I'm thinking the suspend and hibernate menu items (when you left click
&lt;br&gt;the battery icon) don't really work. The icon isn't shown if there are
&lt;br&gt;no battery devices, and in some cases it's only shown when the
&lt;br&gt;batteries are discharging or critical, so it's not always there. I'm
&lt;br&gt;thinking of setting the GConf keys to default false for 2.27.x and
&lt;br&gt;removing the functionality completely for 2.29. The user can still
&lt;br&gt;click system -&amp;gt; shutdown -&amp;gt; suspend, or setup a icon on the panel to
&lt;br&gt;do this, or if a laptop just shut the lid. What do you think?
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;Richard.
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25434208&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/The-suspend-and-hibernate-menu-items-tp25434208p25434208.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25426576</id>
	<title>How discharging time is evaluated</title>
	<published>2009-09-13T12:56:53Z</published>
	<updated>2009-09-13T12:56:53Z</updated>
	<author>
		<name>Patrice Vetsel</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;How the discharging time is evaluate for a netbook ? Here I always start 
&lt;br&gt;with a 4H of time under battery but in fact it's near 7H.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25426576&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-discharging-time-is-evaluated-tp25426576p25426576.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25422089</id>
	<title>Re: Storing energy data in a database for future polling , to 	find cumulative energy cost of a computing session</title>
	<published>2009-09-13T03:24:37Z</published>
	<updated>2009-09-13T03:24:37Z</updated>
	<author>
		<name>Richard Hughes-6</name>
	</author>
	<content type="html">2009/9/13 Chris Adams &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25422089&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chris@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; I'm trying to work out if there's a way to easily store energy consumption
&lt;br&gt;&amp;gt; data of a computer, so I can add these readings up over a set period to work
&lt;br&gt;&amp;gt; out how much energy in watts has been used for a particular computing
&lt;br&gt;&amp;gt; session.
&lt;br&gt;&amp;gt; However Gnome power manager already offers some graphing of power usage when
&lt;br&gt;&amp;gt; turned on - so before reinventing the wheel, and creating an sqllite
&lt;br&gt;&amp;gt; database to store data that's already being stored, I wanted to check - is
&lt;br&gt;&amp;gt; this already being done internally somewhere?
&lt;br&gt;&lt;br&gt;Checkout the statistics interface on DeviceKit-power -- but you'll
&lt;br&gt;need a proper power meter plugged in like a a Watts Up Pro if you want
&lt;br&gt;to get accurate data, or data when you're not discharging or charging.
&lt;br&gt;&lt;br&gt;&amp;gt; If so, how can I poll it?
&lt;br&gt;&lt;br&gt;You don't want to poll, polling is bad for battery life.
&lt;br&gt;&lt;br&gt;&amp;gt; My current approach was going to be as follows:
&lt;br&gt;&amp;gt; 1) setting up a daemon to grep the output of  the
&lt;br&gt;&amp;gt; `/usr/share/gnome-power-manager/gnome-power-bugreport` command, every n
&lt;br&gt;&amp;gt; seconds.
&lt;br&gt;&lt;br&gt;No, just use DeviceKit-power.
&lt;br&gt;&lt;br&gt;&amp;gt; 2) store current charge in a database
&lt;br&gt;&lt;br&gt;DeviceKit-power already stores this.
&lt;br&gt;&lt;br&gt;&amp;gt; To give some context, I'm hoping to do this so I can eventually take this
&lt;br&gt;&amp;gt; figure and pipe it through the AMEE carbon calculator, to work out the
&lt;br&gt;&amp;gt; carbon footprint of using a machine for a set period. I then want to pipe
&lt;br&gt;&amp;gt; THAT through &lt;a href=&quot;http://carbon.to&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://carbon.to&lt;/a&gt;, to see what else could have been done with
&lt;br&gt;&amp;gt; the energy I just spent using my computer...
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&lt;br&gt;You'll need to use a watts up pro device then, using a laptop battery
&lt;br&gt;only works when you're discharging or charging, and at the limits of
&lt;br&gt;the range it's not accurate at all.
&lt;br&gt;&lt;br&gt;Richard.
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25422089&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Storing-energy-data-in-a-database-for-future-polling-%2C-to-find-%09cumulative-energy-cost-of-a-computing-session-tp25422050p25422089.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25422050</id>
	<title>Storing energy data in a database for future polling , to find 	cumulative energy cost of a computing session</title>
	<published>2009-09-13T03:15:35Z</published>
	<updated>2009-09-13T03:15:35Z</updated>
	<author>
		<name>Chris Adams-5</name>
	</author>
	<content type="html">Hi there,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;First post to the list, and if this qn has been asked already,and I missed when I first skimmed the docs please forgive me. &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I&amp;#39;m trying to work out if there&amp;#39;s a way to easily store energy consumption data of a computer, so I can add these readings up over a set period to work out how much energy in watts has been used for a particular computing session.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;However Gnome power manager already offers some graphing of power usage when turned on - so before reinventing the wheel, and creating an sqllite database to store data that&amp;#39;s already being stored, I wanted to check - is this already being done internally somewhere?&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;If so, how can I poll it?&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;My current approach was going to be as follows: &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;1) setting up a daemon to grep the output of  the `/usr/share/gnome-power-manager/gnome-power-bugreport` command, every n seconds.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;2) store current charge in a database&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;3) at the end of a computing session (say, on sleep, or log off, or shutdown) measure the difference in charge inside the battery (taking into account whether it&amp;#39;s plugged in or not to external power etc).&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;To give some context, I&amp;#39;m hoping to do this so I can eventually take this figure and pipe it through the AMEE carbon calculator, to work out the carbon footprint of using a machine for a set period. I then want to pipe THAT through &lt;a href=&quot;http://carbon.to&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://carbon.to&lt;/a&gt;, to see what else could have been done with the energy I just spent using my computer...&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks,&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br clear=&quot;all&quot;&gt;---&lt;br&gt;I&amp;#39;m currently only checking my email at 9am, midday and at 4pm. &lt;br&gt;If you need a response from me urgently, please call or text my mobile, or contact me via Skype (chris.d.adams).&lt;br&gt;
---&lt;br&gt;Chris Adams&lt;br&gt;Stemcel Studios&lt;br&gt;The Hub&lt;br&gt;5 Torrens Street&lt;br&gt;London&lt;br&gt;EC1V 1NQ&lt;br&gt;&lt;br&gt;email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25422050&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chris@...&lt;/a&gt;&lt;br&gt;web:  &lt;a href=&quot;http://www.stemcel.co.uk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.stemcel.co.uk&lt;/a&gt;&lt;br&gt;
twitter:chris_d_adams&lt;br&gt;skype: chris.d.adams&lt;br&gt;mob: 07974 368 229&lt;br&gt;tel: 0207 558 8971&lt;br&gt;&lt;br&gt;
&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25422050&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Storing-energy-data-in-a-database-for-future-polling-%2C-to-find-%09cumulative-energy-cost-of-a-computing-session-tp25422050p25422050.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25404392</id>
	<title>Re: Disabling backlight control entirely</title>
	<published>2009-09-11T09:33:55Z</published>
	<updated>2009-09-11T09:33:55Z</updated>
	<author>
		<name>Richard Hughes-6</name>
	</author>
	<content type="html">2009/9/11 Jacob Rau &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25404392&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jacob.rau@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; Richard Hughes wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Set /apps/gnome-power-manager/backlight/enable to false in gconf-editor.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hmm...not to come across as a twat, but that seems to have had no effect.
&lt;br&gt;&lt;br&gt;Did you try restarting gnome-power-manager? Does the brightness still
&lt;br&gt;do funny things when you've killed g-p-m (i.e. is the event in
&lt;br&gt;hardware or the BIOS?)
&lt;br&gt;&lt;br&gt;Richard.
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25404392&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Disabling-backlight-control-entirely-tp25369513p25404392.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25398814</id>
	<title>Re: Disabling backlight control entirely</title>
	<published>2009-09-11T03:45:55Z</published>
	<updated>2009-09-11T03:45:55Z</updated>
	<author>
		<name>Jacob Rau</name>
	</author>
	<content type="html">Forgot to send this to the list.
&lt;br&gt;&lt;br&gt;-------- Original Message --------
&lt;br&gt;Subject: Re: [gpm] Disabling backlight control entirely
&lt;br&gt;Date: Fri, 11 Sep 2009 06:43:54 -0400
&lt;br&gt;From: Jacob Rau &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25398814&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jacob.rau@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: Richard Hughes &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25398814&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hughsient@...&lt;/a&gt;&amp;gt;
&lt;br&gt;References: 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25398814&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;86010bc80909091017k68340f3dpfc61b8172350a129@...&lt;/a&gt;&amp;gt; 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25398814&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;15e53e180909110035h6ae5b132vda75fb23038aafb9@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Richard Hughes wrote:
&lt;br&gt;&amp;gt; Set /apps/gnome-power-manager/backlight/enable to false in gconf-editor.
&lt;br&gt;&lt;br&gt;Hmm...not to come across as a twat, but that seems to have had no effect.
&lt;br&gt;&lt;br&gt;Since I'm running 2.24.2, which as I understand is very old, I figure
&lt;br&gt;this probably won't be useful, but here it is anyway. I'm actually
&lt;br&gt;trying to quantify it a bit better than &amp;quot;it's broken&amp;quot;; from what I can
&lt;br&gt;tell there's two problems: at boot time, regardless of prior backlight
&lt;br&gt;levels, the brightness is forced to 100%; I can turn it down, but then
&lt;br&gt;after a few seconds, it is forced to 100% again. This has happened
&lt;br&gt;intermittently, but in one session it was repeatedly doing this.
&lt;br&gt;Sometimes it seems related to me pressing keys on the keyboard, but not
&lt;br&gt;all the time.
&lt;br&gt;&lt;br&gt;Is there a .deb package available for Ubuntu Jaunty with 2.26? That
&lt;br&gt;would require replacing HAL as well, right? It might start making sense
&lt;br&gt;for me to get my feet wet here, at least.
&lt;br&gt;&lt;br&gt;Jacob
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25398814&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Disabling-backlight-control-entirely-tp25369513p25398814.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25396401</id>
	<title>Re: Disabling backlight control entirely</title>
	<published>2009-09-11T00:35:35Z</published>
	<updated>2009-09-11T00:35:35Z</updated>
	<author>
		<name>Richard Hughes-6</name>
	</author>
	<content type="html">2009/9/9 Jacob Rau &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25396401&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jacob.rau@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; However, I really would like to know how to forbid gpm from making any
&lt;br&gt;&amp;gt; changes to my backlight level. The hardware is completely competent at
&lt;br&gt;&amp;gt; remembering and handling this setting, whereas gpm is setting the
&lt;br&gt;&amp;gt; brightness to arbitrary levels every minute or so. I can file a more
&lt;br&gt;&amp;gt; thorough bug report in the proper channel at a later date.
&lt;br&gt;&lt;br&gt;Set /apps/gnome-power-manager/backlight/enable to false in gconf-editor.
&lt;br&gt;&lt;br&gt;Richard.
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25396401&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Disabling-backlight-control-entirely-tp25369513p25396401.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25369513</id>
	<title>Disabling backlight control entirely</title>
	<published>2009-09-09T10:17:57Z</published>
	<updated>2009-09-09T10:17:57Z</updated>
	<author>
		<name>Jacob Rau</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;Gnome-power-manager's method of controlling backlight settings, as of
&lt;br&gt;Ubuntu 9.04, is completely broken. I don't have time to mess with this
&lt;br&gt;right now, so I am not going to test the current development version,
&lt;br&gt;toy with alpha versions of Ubuntu, patch things...etc. Next summer I
&lt;br&gt;will put in the time and effort to fix it for real.
&lt;br&gt;&lt;br&gt;However, I really would like to know how to forbid gpm from making any
&lt;br&gt;changes to my backlight level. The hardware is completely competent at
&lt;br&gt;remembering and handling this setting, whereas gpm is setting the
&lt;br&gt;brightness to arbitrary levels every minute or so. I can file a more
&lt;br&gt;thorough bug report in the proper channel at a later date.
&lt;br&gt;&lt;br&gt;I just want to turn it off right now, and my bit of searching didn't
&lt;br&gt;turn anything up.
&lt;br&gt;&lt;br&gt;Please help.
&lt;br&gt;Jacob
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25369513&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Disabling-backlight-control-entirely-tp25369513p25369513.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25343487</id>
	<title>Re: Merge inhibit applet with GPM?</title>
	<published>2009-09-08T03:30:04Z</published>
	<updated>2009-09-08T03:30:04Z</updated>
	<author>
		<name>Bugzilla from pmd.lotr.gandalf@gmail.com</name>
	</author>
	<content type="html">Hello Richard,
&lt;br&gt;&lt;br&gt;Since you were taking the time to reply, I decided to try and implement
&lt;br&gt;my idea myself, and I have completed it. I have attached the patches for
&lt;br&gt;your review. :)
&lt;br&gt;&lt;br&gt;Cheers, 
&lt;br&gt;Pramod
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25343487&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;user-inhibit-patches.tar.bz2&lt;/strong&gt; (7K) &lt;a href=&quot;http://old.nabble.com/attachment/25343487/0/user-inhibit-patches.tar.bz2&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Merge-inhibit-applet-with-GPM--tp25316235p25343487.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25316235</id>
	<title>Re: Merge inhibit applet with GPM?</title>
	<published>2009-09-06T03:06:39Z</published>
	<updated>2009-09-06T03:06:39Z</updated>
	<author>
		<name>Bugzilla from pmd.lotr.gandalf@gmail.com</name>
	</author>
	<content type="html">Hello Richard,
&lt;br&gt;&lt;br&gt;I still haven't received your thoughts on this idea, apart from a
&lt;br&gt;question about what it's logic would be, which I tried answering in my
&lt;br&gt;previous email. :)
&lt;br&gt;&lt;br&gt;Also I can try and implement this myself, I already have done a part of
&lt;br&gt;this by:-
&lt;br&gt;&lt;br&gt;1) Implementing two new signals emitted by the GpmTrayIcon object when
&lt;br&gt;the user presses the entry in the popup menu.
&lt;br&gt;&lt;br&gt;2) Having callbacks that successfully manage to give some output once
&lt;br&gt;they receive the signals, albeit I still need to send the method call to
&lt;br&gt;gnome-session to tell it that I want to inhibit the session, but I have
&lt;br&gt;an idea as to how I can achieve this.
&lt;br&gt;&lt;br&gt;So, what do you think?
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Pramod
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25316235&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Merge-inhibit-applet-with-GPM--tp25316235p25316235.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25316046</id>
	<title>Re: [Patch] Make notifications more reliable at session startup</title>
	<published>2009-09-06T02:39:23Z</published>
	<updated>2009-09-06T02:39:23Z</updated>
	<author>
		<name>Richard Hughes-6</name>
	</author>
	<content type="html">2009/9/6 Pramod Dematagoda &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25316046&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pmd.lotr.gandalf@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; This is a patch that addresses an earlier problem that seems to have
&lt;br&gt;&amp;gt; cropped up again, it does not do much except for replacing
&lt;br&gt;&amp;gt; gtk_status_icon_get_visible with gtk_status_icon_is_embedded as a way of
&lt;br&gt;&amp;gt; finding out if the status icon is visible to the user during session
&lt;br&gt;&amp;gt; startup. Also I removed the timeout relating to the old fix since it's
&lt;br&gt;&amp;gt; no longer necessary. :)
&lt;br&gt;&lt;br&gt;Applied, thanks.
&lt;br&gt;&lt;br&gt;Richard.
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25316046&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Patch--Make-notifications-more-reliable-at-session-startup-tp25315956p25316046.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25315956</id>
	<title>[Patch] Make notifications more reliable at session startup</title>
	<published>2009-09-06T02:25:42Z</published>
	<updated>2009-09-06T02:25:42Z</updated>
	<author>
		<name>Bugzilla from pmd.lotr.gandalf@gmail.com</name>
	</author>
	<content type="html">Hello Richard,
&lt;br&gt;&lt;br&gt;This is a patch that addresses an earlier problem that seems to have
&lt;br&gt;cropped up again, it does not do much except for replacing
&lt;br&gt;gtk_status_icon_get_visible with gtk_status_icon_is_embedded as a way of
&lt;br&gt;finding out if the status icon is visible to the user during session
&lt;br&gt;startup. Also I removed the timeout relating to the old fix since it's
&lt;br&gt;no longer necessary. :)
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Pramod
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[0001-Make-notifications-more-reliable-at-session-startup.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;From a0168c74ce9c0ad65311fa592be13fec4fd3bef6 Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Pramod Dematagoda &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25315956&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pramod@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Sun, 6 Sep 2009 14:41:52 +0530
&lt;br&gt;Subject: [PATCH] Make notifications more reliable at session startup
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;src/gpm-manager.c &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;src/gpm-tray-icon.c | &amp;nbsp; &amp;nbsp;1 -
&lt;br&gt;&amp;nbsp;2 files changed, 1 insertions(+), 2 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/src/gpm-manager.c b/src/gpm-manager.c
&lt;br&gt;index 69bc713..27fc98e 100644
&lt;br&gt;--- a/src/gpm-manager.c
&lt;br&gt;+++ b/src/gpm-manager.c
&lt;br&gt;@@ -379,7 +379,7 @@ gpm_manager_notify (GpmManager *manager, NotifyNotification **notification_class
&lt;br&gt;&amp;nbsp;	gpm_manager_notify_close (manager, *notification_class);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	/* if the status icon is hidden, don't point at it */
&lt;br&gt;-	if (gtk_status_icon_get_visible (manager-&amp;gt;priv-&amp;gt;status_icon))
&lt;br&gt;+	if (gtk_status_icon_is_embedded (manager-&amp;gt;priv-&amp;gt;status_icon))
&lt;br&gt;&amp;nbsp;		notification = notify_notification_new_with_status_icon (title, message, icon, manager-&amp;gt;priv-&amp;gt;status_icon);
&lt;br&gt;&amp;nbsp;	else
&lt;br&gt;&amp;nbsp;		notification = notify_notification_new (title, message, icon, NULL);
&lt;br&gt;diff --git a/src/gpm-tray-icon.c b/src/gpm-tray-icon.c
&lt;br&gt;index 11e5981..cf272b0 100644
&lt;br&gt;--- a/src/gpm-tray-icon.c
&lt;br&gt;+++ b/src/gpm-tray-icon.c
&lt;br&gt;@@ -53,7 +53,6 @@
&lt;br&gt;&amp;nbsp;static void &amp;nbsp; &amp;nbsp; gpm_tray_icon_finalize &amp;nbsp; (GObject	 &amp;nbsp; *object);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#define GPM_TRAY_ICON_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GPM_TYPE_TRAY_ICON, GpmTrayIconPrivate))
&lt;br&gt;-#define GPM_TRAY_ICON_CONNECT_TIMEOUT		10 /* s */
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;struct GpmTrayIconPrivate
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;-- 
&lt;br&gt;1.6.4.2
&lt;br&gt;&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25315956&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Patch--Make-notifications-more-reliable-at-session-startup-tp25315956p25315956.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25642436</id>
	<title>odd behaviour</title>
	<published>2009-08-31T10:34:14Z</published>
	<updated>2009-08-31T10:34:14Z</updated>
	<author>
		<name>Brian Russ</name>
	</author>
	<content type="html">I noticed a few days ago that my desktop machine (which I use most days)
&lt;br&gt;had switched itself on in the middle of the night. This was mystifying
&lt;br&gt;because the only change I had made recently was to accept some security
&lt;br&gt;updates in the usual way. Now I notice the new Notification icon in the
&lt;br&gt;top panel and the power &amp;nbsp;management facility includes the battery stuff
&lt;br&gt;that is irrelevant. The worst thing is that Shutdown no longer means
&lt;br&gt;that - the machine switches itself on again immediately. This is bad
&lt;br&gt;because my Dell Vostro has a power button that only ever switches ON. I
&lt;br&gt;shouldn't have to pull the plug ! &amp;nbsp;can I get back to the previous, easy
&lt;br&gt;set-up ?
&lt;br&gt;thanks in anticipation, &amp;nbsp;B J Russ
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642436&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/odd-behaviour-tp25642436p25642436.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25092675</id>
	<title>Re: Merge inhibit applet with GPM?</title>
	<published>2009-08-22T03:49:09Z</published>
	<updated>2009-08-22T03:49:09Z</updated>
	<author>
		<name>Bugzilla from pmd.lotr.gandalf@gmail.com</name>
	</author>
	<content type="html">My apologies, I forgot to send a CC of my reply to the mailing list.
&lt;br&gt;&lt;br&gt;Pramod
&lt;br&gt;&lt;br /&gt;On Fri, 2009-08-21 at 13:40 +0100, Richard Hughes wrote:
&lt;br&gt;&amp;gt; 2009/8/21 Pramod Dematagoda &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25092675&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pmd.lotr.gandalf@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;gt; I am thinking of trying to integrate the inhibit applet with GPM, the
&lt;br&gt;&amp;gt; &amp;gt; reason being is for simplicity.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What's the logic with integrating it? I would say not many users use
&lt;br&gt;&amp;gt; the inhibit functionality, as it's designed to be value-add, not core
&lt;br&gt;&amp;gt; functionality.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Richard.
&lt;br&gt;&lt;br&gt;Well, first of all, it would not be on the menu at all times since the
&lt;br&gt;user would have the option of having it or not, so those users who do
&lt;br&gt;not need it do not have to be bothered with it at all. For users who do
&lt;br&gt;need this, they can quickly enable inhibition when they need to without
&lt;br&gt;having to have the inhibition applet sitting in the panel all the time.
&lt;br&gt;&lt;br&gt;The users who would benefit from something like this, would be users
&lt;br&gt;watching videos from websites like You Tube, etc. where inhibition is
&lt;br&gt;not automatically enabled, also it would be useful for users of
&lt;br&gt;applications via WINE where some power saving modes like suspending
&lt;br&gt;would probably cause problems.
&lt;br&gt;&lt;br&gt;&amp;gt;From personal experience, I always hated having the inhibition applet
&lt;br&gt;just sitting in the panel because it was not useful(until I actually
&lt;br&gt;needed it) and it took space on a panel that was already crammed with
&lt;br&gt;other applets, but when I did need it, I had to go through the whole
&lt;br&gt;task of adding it to the panel and then activating the inhibition. By
&lt;br&gt;integrating the applet with GPM, the applet does not get in the user's
&lt;br&gt;way until he/she actually needs it and then it is just a simple matter
&lt;br&gt;of clicking on the tray icon and pressing the inhibition entry.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Pramod
&lt;br&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25092675&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Merge-inhibit-applet-with-GPM--tp25074700p25092675.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25079055</id>
	<title>Re: Merge inhibit applet with GPM?</title>
	<published>2009-08-21T05:40:34Z</published>
	<updated>2009-08-21T05:40:34Z</updated>
	<author>
		<name>Richard Hughes-6</name>
	</author>
	<content type="html">2009/8/21 Pramod Dematagoda &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25079055&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pmd.lotr.gandalf@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; I am thinking of trying to integrate the inhibit applet with GPM, the
&lt;br&gt;&amp;gt; reason being is for simplicity.
&lt;br&gt;&lt;br&gt;What's the logic with integrating it? I would say not many users use
&lt;br&gt;the inhibit functionality, as it's designed to be value-add, not core
&lt;br&gt;functionality.
&lt;br&gt;&lt;br&gt;Richard.
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25079055&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Merge-inhibit-applet-with-GPM--tp25074700p25079055.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25074700</id>
	<title>Merge inhibit applet with GPM?</title>
	<published>2009-08-20T23:19:23Z</published>
	<updated>2009-08-20T23:19:23Z</updated>
	<author>
		<name>Bugzilla from pmd.lotr.gandalf@gmail.com</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I am thinking of trying to integrate the inhibit applet with GPM, the
&lt;br&gt;reason being is for simplicity. For example, me as a laptop user needs
&lt;br&gt;that feature at times, however, I also only have a limited amount of
&lt;br&gt;space on the panel, and I also only require that feature occasionally
&lt;br&gt;where at other times I am more than happy to let the power management go
&lt;br&gt;on as it's supposed to. So basically what I would like to know is, would
&lt;br&gt;my patch be accepted if I was to make it?
&lt;br&gt;&lt;br&gt;About how it would look like, it would be on the main drop down menu of
&lt;br&gt;the GPM tray icon below the Hibernate and Suspend options and separated
&lt;br&gt;by a separator, the icon would change appearance in the way that the
&lt;br&gt;inhibit applet does. I am also thinking of having an option in the GPM
&lt;br&gt;preferences that allows the user to specify if he wants to control the
&lt;br&gt;inhibition of power savings or not, so depending on that option, the
&lt;br&gt;inhibition menu item would or would not be shown.
&lt;br&gt;&lt;br&gt;I already have the GUI part working(except for the option to show the
&lt;br&gt;menu item or not), however I am still trying to figure out how to do it
&lt;br&gt;for real, now dependencies would be the proxy in the GpmSession object
&lt;br&gt;and the inhibited_old boolean variable.
&lt;br&gt;&lt;br&gt;So, what do you think? :)
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Pramod
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25074700&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Merge-inhibit-applet-with-GPM--tp25074700p25074700.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24793691</id>
	<title>GNOME Power Manager 2.26.4 released</title>
	<published>2009-08-03T09:20:20Z</published>
	<updated>2009-08-03T09:20:20Z</updated>
	<author>
		<name>Richard Hughes-6</name>
	</author>
	<content type="html">GNOME Power Manager is a session daemon that makes it easy to manage the
&lt;br&gt;power on your laptop or desktop system.
&lt;br&gt;&lt;br&gt;This stable release contains important fixes since 2.26.3 was
&lt;br&gt;released. Distributions should consider upgrading gnome-power-manager
&lt;br&gt;via errata packages if possible.
&lt;br&gt;&lt;br&gt;==============
&lt;br&gt;Version 2.26.4
&lt;br&gt;==============
&lt;br&gt;&lt;br&gt;Fixed:
&lt;br&gt;&amp;nbsp;- Make hotkeys work with modifiers (Martin Pitt)
&lt;br&gt;&amp;nbsp;- gnome-power-bugreport.sh: add missing hasbang (Martin Pitt)
&lt;br&gt;&amp;nbsp;- Fix pointer alignment, to build on sparc (Martin Pitt)
&lt;br&gt;&amp;nbsp;- Only use libpanel-applet flags to build applets (Vincent Untz)
&lt;br&gt;&amp;nbsp;- Remove the depricated Encoding= lines from the desktop files. Fixes
&lt;br&gt;#590612 (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Make the orange icons yellower. Fixes rh#512962 (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Add a bodge to reset the idletime XAlarm when we are no longer
&lt;br&gt;inhibited. (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Only show gnome-power-statistics in the context menu if it is
&lt;br&gt;installed. Fixes rh#514249 (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Save the caches value before we emit the inhibit and idle signals
&lt;br&gt;(Richard Hughes)
&lt;br&gt;&amp;nbsp;- Use the correct DBus signal types when watching gnome-session
&lt;br&gt;(Richard Hughes)
&lt;br&gt;&amp;nbsp;- Inhibit gnome-session in the applet, not gnome-power-manager (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Add DeviceKit data to the bugreport script (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Backport a fix from master to fix notification on AC power (Richard Hughes)
&lt;br&gt;&lt;br&gt;Richard.
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24793691&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GNOME-Power-Manager-2.26.4-released-tp24793691p24793691.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24789774</id>
	<title>GNOME Power Manager 2.27.5</title>
	<published>2009-08-03T05:17:30Z</published>
	<updated>2009-08-03T05:17:30Z</updated>
	<author>
		<name>Richard Hughes-6</name>
	</author>
	<content type="html">GNOME Power Manager is a session daemon that makes it easy to manage the
&lt;br&gt;power on your laptop or desktop system.
&lt;br&gt;&lt;br&gt;Version 2.27.5
&lt;br&gt;~~~~~~~~~~~~~~
&lt;br&gt;Released: 2009-08-03
&lt;br&gt;&lt;br&gt;* Translations
&lt;br&gt;&amp;nbsp;- Updated Traditional Chinese translation (Chao-Hsiung Liao)
&lt;br&gt;&amp;nbsp;- Updated Swedish translation (Daniel Nylander)
&lt;br&gt;&amp;nbsp;- Updated Finnish translation (Ilkka Tuohela)
&lt;br&gt;&amp;nbsp;- Updated Estonian translation (Ivar Smolin)
&lt;br&gt;&amp;nbsp;- Updated Spanish translation (Jorge González)
&lt;br&gt;&amp;nbsp;- Updated Ukrainian translation (Maxim V. Dziumanenko)
&lt;br&gt;&amp;nbsp;- Updated Irish translation (Seán de Búrca)
&lt;br&gt;&amp;nbsp;- Updated Dutch translation (Tino Meinen)
&lt;br&gt;&amp;nbsp;- Updated Tamil translation (drtvasudevan)
&lt;br&gt;&lt;br&gt;* New Features:
&lt;br&gt;&amp;nbsp;- Claim org.freedesktop.Policy.Power on D-BUS (Martin Pitt)
&lt;br&gt;&amp;nbsp;- Remove PolkitGnome code completely as PolicyKit 1.0 doesn't need
&lt;br&gt;this (Matthias Clasen)
&lt;br&gt;&amp;nbsp;- Add a bodge to reset the idletime XAlarm when we are no longer
&lt;br&gt;inhibited (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Add functionality to debug the idle code by setting GPMIDLEDEBUG on
&lt;br&gt;the command line (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Use the same composited OSD for brightness notification. Fixes
&lt;br&gt;rh#512968 (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Add DeviceKit data to the bugreport script (Richard Hughes)
&lt;br&gt;&lt;br&gt;* Bugfix:
&lt;br&gt;&amp;nbsp;- Fix pointer alignment to build on sparc (Martin Pitt)
&lt;br&gt;&amp;nbsp;- gnome-power-bugreport.sh: add missing hasbang (Martin Pitt)
&lt;br&gt;&amp;nbsp;- Show .desktop files in XFCE (Martin Pitt)
&lt;br&gt;&amp;nbsp;- Make hotkeys work with modifiers (Martin Pitt)
&lt;br&gt;&amp;nbsp;- Remove an unused include to fix compile (Matthias Clasen)
&lt;br&gt;&amp;nbsp;- Be more paranoid about setting idle in a race (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Remove some UI elements after UI review (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Correct the type of the fully-charged signal. Fixes #588259 (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Don't ever fallback to the warning icon in the tray when batteries
&lt;br&gt;are invalid (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Don't show a discharging battery notification on each battery, just
&lt;br&gt;the global battery (Richard Hughes)
&lt;br&gt;&amp;nbsp;- The composite battery is only fully charged if all batteries are
&lt;br&gt;fully charged (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Remove GpmNotify, and do the notifications in a more sane way.
&lt;br&gt;Fixes #423186 (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Constrain the user to a dropdown selection of times, as freeform
&lt;br&gt;sliders are bad UI (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Add policy to show icon when low, rather than critically low. Fixes
&lt;br&gt;#589125 (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Inhibit gnome-session in the applet, not gnome-power-manager (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Change the default to hibernate when critically low on battery
&lt;br&gt;power (Richard Hughes)
&lt;br&gt;&amp;nbsp;- When libnotify fails, fall back to modal dialogs (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Use enumerated values for the policy actions, and hide 'Do nothing'
&lt;br&gt;unless specified in GConf (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Finally remove the CanSuspend and CanHibernate options, now that
&lt;br&gt;gnome-session is ported (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Switch back to org.gnome.PowerManager as we don't adhere to the
&lt;br&gt;shared spec anymore (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Compile common code with a noinst library to make compile quicker,
&lt;br&gt;and reduce the compressed package size by 100kB (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Add a GConf key to show or hide the sleep quirk site (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Make the orange icons yellower. Fixes rh#512962 (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Use the correct DBus signal types when watching gnome-session
&lt;br&gt;(Richard Hughes)
&lt;br&gt;&amp;nbsp;- Save the caches value before we emit the inhibit and idle signals
&lt;br&gt;(Richard Hughes)
&lt;br&gt;&amp;nbsp;- Only show gnome-power-statistics in the context menu if it is
&lt;br&gt;installed. Fixes rh#514249 (Richard Hughes)
&lt;br&gt;&amp;nbsp;- Only use libpanel-applet flags to build applets (Vincent Untz)
&lt;br&gt;&lt;br&gt;Richard
&lt;br&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24789774&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GNOME-Power-Manager-2.27.5-tp24789774p24789774.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25642435</id>
	<title>Problem forcing monitor to standby</title>
	<published>2009-07-30T12:48:07Z</published>
	<updated>2009-07-30T12:48:07Z</updated>
	<author>
		<name>Allen Weiner</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;head&gt;

&lt;/head&gt;
&lt;body class='hmmessage'&gt;
My multiboot desktop PC runs Fedora 11 and Ubuntu 9.04. The PC has an LCD monitor and a GeForce 6200 graphics card. On both Fedora and Ubuntu I use the proprietary nvidia driver provided by the distro.&lt;br&gt;&lt;br&gt;On my desktop (both Fedora &amp;amp; Ubuntu) I have a script I use to force my monitor into standby. I run this when I'm going to be away from the PC for an extended time such as for a meal. The script is:&lt;br&gt;&lt;br&gt;sleep 5&lt;br&gt;xset dpms force standby&lt;br&gt;&lt;br&gt;This script works fine with Fedora-KDE and Ubuntu-Gnome.&lt;br&gt;&lt;br&gt;I just started using Fedora-Gnome. When I run this script under Fedora-Gnome, the monitor goes into standby for about two minutes and then turns back on. Why is the monitor coming back on under Fedora-Gnome?&amp;nbsp; The monitor does the same thing if I issue the xset dpms force standby from a terminal.&lt;br&gt;&lt;br&gt;Also, if I use the menu option to exit Fedora-Gnome, and I select &quot;suspend&quot;, the system ignores my request.&lt;br&gt;&lt;br&gt;My Fedora-Gnome AC power management display preference is set for suspend after 20 minutes. The screensaver preference is set for 20 minutes.&lt;br&gt;&lt;br&gt;Following is some info about my Fedora install:&lt;br&gt;&lt;br&gt;[aweiner@localhost Documents]$ lshal | grep can_suspend&lt;br&gt;&amp;nbsp; power_management.can_suspend = false&amp;nbsp; (bool)&lt;br&gt;&amp;nbsp; power_management.can_suspend_hybrid = false&amp;nbsp; (bool)&lt;br&gt;&amp;nbsp; power_management.can_suspend_to_disk = true&amp;nbsp; (bool)&lt;br&gt;&amp;nbsp; power_management.can_suspend_to_ram = false&amp;nbsp; (bool)&lt;br&gt;&lt;br&gt;Kernel: 2.6.29.6-213.fc11.i686.PAE&lt;br&gt;&lt;br&gt;gnome-power-manager-2.26.3-1.fc11.i586&lt;br&gt;&lt;br&gt;hal-0.5.12-26.20090226git.fc11.i586&lt;br&gt;&lt;br&gt;dbus-1.2.12-2.fc11.i586&lt;br&gt;&lt;br&gt;My PC is a Dell Dimension 4100 (nine years old).&lt;br&gt;&lt;br&gt;&lt;br /&gt;&lt;hr /&gt;Windows Live™ Hotmail®: Search, add, and share the web’s latest sports videos. &lt;a href='http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009&amp;cat=sports' target='_new' rel=&quot;nofollow&quot;&gt;Check it out.&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642435&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-forcing-monitor-to-standby-tp25642435p25642435.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24724565</id>
	<title>Re: gnome-session blinken IDLETIME problem</title>
	<published>2009-07-29T11:06:06Z</published>
	<updated>2009-07-29T11:06:06Z</updated>
	<author>
		<name>Richard Hughes-6</name>
	</author>
	<content type="html">2009/7/29 Richard Hughes &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24724565&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hughsient@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; Okay, after having F11 g-p-m blank the screen on me (not using
&lt;br&gt;&amp;gt; nouveau, that's a separate issue) whilst watching some short videos in
&lt;br&gt;&amp;gt; totem yesterday, I got really angry.
&lt;br&gt;&lt;br&gt;Attached is 130 line demo code illustrating the problem. Notice the
&lt;br&gt;lack of &amp;quot;DEBUG: Reset&amp;quot; lines when there is a session inhibit. Do it
&lt;br&gt;without gnome-power-manager running and observe the brokenness.
&lt;br&gt;&lt;br&gt;Richard.
&lt;br&gt;&lt;br /&gt;//gcc -o idlecounter-demo idlecounter-demo.c `pkg-config --cflags --libs gtk+-2.0` -Wall
&lt;br&gt;&lt;br&gt;#include &amp;lt;gdk/gdkx.h&amp;gt;
&lt;br&gt;#include &amp;lt;gdk/gdk.h&amp;gt;
&lt;br&gt;#include &amp;lt;gtk/gtk.h&amp;gt;
&lt;br&gt;&lt;br&gt;#include &amp;lt;stdio.h&amp;gt;
&lt;br&gt;#include &amp;lt;string.h&amp;gt;
&lt;br&gt;&lt;br&gt;#include &amp;lt;X11/Xlib.h&amp;gt;
&lt;br&gt;#include &amp;lt;X11/extensions/sync.h&amp;gt;
&lt;br&gt;&lt;br&gt;#include &amp;lt;stdio.h&amp;gt;
&lt;br&gt;#include &amp;lt;string.h&amp;gt;
&lt;br&gt;&lt;br&gt;static XSyncCounter idle_counter = None;
&lt;br&gt;static XSyncAlarm timeout_alarm = None;
&lt;br&gt;static XSyncAlarm reset_alarm = None;
&lt;br&gt;static Display *dpy;
&lt;br&gt;static int sync_event;
&lt;br&gt;&lt;br&gt;#define TIMEOUT		2000 /* ms */
&lt;br&gt;&lt;br&gt;static void
&lt;br&gt;test_set_alarm (Display *dpy, XSyncAlarm *alarm, XSyncCounter counter, XSyncTestType test, XSyncValue value)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XSyncAlarmAttributes attr;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XSyncValue delta;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unsigned int flags;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XSyncIntToValue (&amp;delta, 0);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; attr.trigger.counter = counter;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; attr.trigger.value_type = XSyncAbsolute;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; attr.trigger.test_type = test;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; attr.trigger.wait_value = value;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; attr.delta = delta;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; flags = XSyncCACounter | XSyncCAValueType | XSyncCATestType | XSyncCAValue | XSyncCADelta;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (*alarm)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XSyncChangeAlarm (dpy, *alarm, flags, &amp;attr);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *alarm = XSyncCreateAlarm (dpy, flags, &amp;attr);
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;&amp;nbsp;* test_filter_cb:
&lt;br&gt;&amp;nbsp;*/
&lt;br&gt;static GdkFilterReturn
&lt;br&gt;test_filter_cb (GdkXEvent *gdkxevent, GdkEvent *gdkevent, gpointer data)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; static gint count = 0;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XEvent *xevent = (XEvent *) gdkxevent;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XSyncAlarmNotifyEvent *alarm_event;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XSyncValue timeout;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* no point continuing */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (xevent-&amp;gt;type != sync_event + XSyncAlarmNotify)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return GDK_FILTER_CONTINUE;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alarm_event = (XSyncAlarmNotifyEvent *) xevent;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (alarm_event-&amp;gt;alarm == timeout_alarm) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; g_debug (&amp;quot;Timeout %i&amp;quot;, count++);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* Don't match on the current value because
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* XSyncNegativeComparison means less or equal. */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int overflow;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XSyncValue add;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XSyncValue plusone;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XSyncIntToValue (&amp;add, -1);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XSyncValueAdd (&amp;plusone, alarm_event-&amp;gt;counter_value, add, &amp;overflow);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* Set the reset alarm to fire the next time
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* idle_counter &amp;lt; the current counter value */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; test_set_alarm (dpy, &amp;reset_alarm, idle_counter, XSyncNegativeTransition, plusone);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if (alarm_event-&amp;gt;alarm == reset_alarm) {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; g_debug (&amp;quot;Reset&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XSyncIntToValue (&amp;timeout, TIMEOUT);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; test_set_alarm (dpy, &amp;timeout_alarm, idle_counter, XSyncPositiveTransition, timeout);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return GDK_FILTER_CONTINUE;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;int
&lt;br&gt;main (int argc, char **argv)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int sync_error;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int sync_major, sync_minor;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int ncounters;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XSyncSystemCounter *counters;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XSyncValue timeout;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gint i;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gtk_init (&amp;argc, &amp;argv);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dpy = GDK_DISPLAY ();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!XSyncQueryExtension (dpy, &amp;sync_event, &amp;sync_error)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; g_debug (&amp;quot;No Sync extension&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XSyncInitialize (dpy, &amp;sync_major, &amp;sync_minor);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; counters = XSyncListSystemCounters (dpy, &amp;ncounters);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (i = 0; i &amp;lt; ncounters &amp;&amp; !idle_counter; i++) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!strcmp(counters[i].name, &amp;quot;IDLETIME&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; idle_counter = counters[i].counter;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!idle_counter) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; g_debug (&amp;quot;No idle counter&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* setup timeout */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XSyncIntToValue (&amp;timeout, TIMEOUT);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; test_set_alarm (dpy, &amp;timeout_alarm, idle_counter, XSyncPositiveTransition, timeout);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* catch the timer alarm */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; g_debug (&amp;quot;Adding filter&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gdk_window_add_filter (NULL, test_filter_cb, NULL);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; g_debug (&amp;quot;Waiting for timeout&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gtk_main ();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return 0;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;gnome-power-manager-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24724565&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gnome-power-manager-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gnome-session-blinken-IDLETIME-problem-tp24718354p24724565.html" />
</entry>

</feed>
