[gnomeweb-wml] [gnome-power-manager] Update the project page to something that vaguely resembles reality



commit a2f41802d1c32d94dcf95aeec5845af23656854b
Author: Richard Hughes <richard hughsie com>
Date:   Tue May 11 15:55:32 2010 +0100

    [gnome-power-manager] Update the project page to something that vaguely resembles reality

 projects.gnome.org/gnome-power-manager/Makefile.am |    1 -
 projects.gnome.org/gnome-power-manager/bugs.html   |   47 ++------
 projects.gnome.org/gnome-power-manager/gpm.html    |    6 +-
 projects.gnome.org/gnome-power-manager/gpp.html    |    8 +-
 projects.gnome.org/gnome-power-manager/hal.html    |  125 --------------------
 .../gnome-power-manager/images/Makefile.am         |   12 --
 .../gnome-power-manager/images/gnome-session.png   |  Bin 24205 -> 44714 bytes
 .../gnome-power-manager/images/gpm-about.png       |  Bin 24912 -> 0 bytes
 .../gnome-power-manager/images/gpm-prefs-ac.png    |  Bin 30966 -> 32706 bytes
 .../images/gpm-prefs-battery.png                   |  Bin 35208 -> 36791 bytes
 .../images/gpm-prefs-options.png                   |  Bin 32780 -> 35055 bytes
 .../gnome-power-manager/images/gpm-taskbar.png     |  Bin 11909 -> 16938 bytes
 .../gnome-power-manager/images/gpm-tooltip.png     |  Bin 7798 -> 11800 bytes
 .../gnome-power-manager/images/hal-addbatt.png     |  Bin 75012 -> 0 bytes
 .../gnome-power-manager/images/hal-button.png      |  Bin 46862 -> 0 bytes
 .../gnome-power-manager/images/hal-suspend.png     |  Bin 63592 -> 0 bytes
 .../gnome-power-manager/images/icon-arch.png       |  Bin 2851 -> 0 bytes
 .../gnome-power-manager/images/icon-debian.png     |  Bin 507 -> 0 bytes
 .../gnome-power-manager/images/icon-forsight.png   |  Bin 2098 -> 0 bytes
 .../gnome-power-manager/images/icon-gentoo.png     |  Bin 4457 -> 0 bytes
 .../gnome-power-manager/images/icon-redhat.png     |  Bin 2634 -> 0 bytes
 .../gnome-power-manager/images/icon-suse.png       |  Bin 2712 -> 0 bytes
 .../gnome-power-manager/images/icon-ubuntu.png     |  Bin 2037 -> 0 bytes
 .../gnome-power-manager/images/plan.png            |  Bin 16108 -> 0 bytes
 projects.gnome.org/gnome-power-manager/index.html  |   39 ++-----
 .../gnome-power-manager/packages.html              |   18 ++--
 26 files changed, 33 insertions(+), 223 deletions(-)
---
diff --git a/projects.gnome.org/gnome-power-manager/Makefile.am b/projects.gnome.org/gnome-power-manager/Makefile.am
index 9f9e7e8..ad4853d 100644
--- a/projects.gnome.org/gnome-power-manager/Makefile.am
+++ b/projects.gnome.org/gnome-power-manager/Makefile.am
@@ -6,7 +6,6 @@ page_SCRIPTS=		\
 	bugs.html	\
 	gpm.html	\
 	gpp.html	\
-	hal.html	\
 	index.html	\
 	packages.html	\
 	default.css
diff --git a/projects.gnome.org/gnome-power-manager/bugs.html b/projects.gnome.org/gnome-power-manager/bugs.html
index 11e49ec..4b66096 100644
--- a/projects.gnome.org/gnome-power-manager/bugs.html
+++ b/projects.gnome.org/gnome-power-manager/bugs.html
@@ -19,13 +19,11 @@
  </a>
  <div id="hdrNav">
  <a href="index.html">Home</a> &middot;
- <a href="hal.html">HAL</a> &middot;
  <a href="gpm.html">Notification Icon</a> &middot;
  <a href="gpp.html">Preferences</a> &middot;
  <a href="packages.html">Download</a> &middot;
  <a href="http://live.gnome.org/GnomePowerManager/FAQ";>FAQ</a> &middot;
  <a href="bugs.html"><b>Reporting Bugs</b></a> &middot;
- <a href="http://live.gnome.org/GnomePowerManager";>Wiki</a>
  </div>
 </div>
 <!---->
@@ -58,27 +56,26 @@
 <ul>
 <li>The version of GNOME Power Manager installed.</li>
 <li>The version of DBUS installed.</li>
-<li>The version of HAL installed.</li>
+<li>The version of UPower installed.</li>
 <li>The kernel version installed.</li>
 <li>The raw ACPI data supplied by ACPI (if applicable).</li>
-<li>The installation method you used (i.e. FC4 RPM, tarball).</li>
+<li>The installation method you used (i.e. RPM, tarball).</li>
 <li>Your distribution and version.</li>
 <li>The verbose trace from gnome-power-manager</li>
 <li>The verbose trace from hald</li>
 <li>Any other information that may be relevant.</li>
 </ul>
 
-<h3>Raw ACPI Information</h3>
-<p>Do this as the root user.</p>
+<h3>Raw Kernel Information</h3>
 <pre>
-for i in /proc/acpi/battery/*/*; do echo $i; cat $i; done
+for i in /sys/class/power_supply/*/*; do echo $i; cat $i; done
 </pre>
 
 <h3>GNOME Power Manager Verbose Trace</h3>
 <p>This will turn on verbose debugging for GNOME Power Manager.</p>
 <pre>
 killall gnome-power-manager
-gnome-power-manager --no-daemon --verbose
+gnome-power-manager --verbose
 </pre>
 
 <h3>GConf custom settings</h3>
@@ -87,15 +84,6 @@ gnome-power-manager --no-daemon --verbose
 gconftool-2 -R /apps/gnome-power-manager
 </pre>
 
-<h3>Reason (/var/log/messages) information</h3>
-<p>This will return the reason GNOME Power Manager did a specific action.</p>
-<pre>
-cat /var/log/message | grep gnome-power-manager
-</pre>
-
-<h3>HAL Verbose Trace</h3>
-<pre>/usr/sbin/hald --daemon=no --verbose=yes --retain-privileges</pre>
-
 <h2>Segfaults or random crashes</h2>
 
 <p>
@@ -104,8 +92,8 @@ cat /var/log/message | grep gnome-power-manager
 </p>
 
 <p>
- You have to compile GNOME Power Manager from SVN to do this.
- Grab the latest from SVN, and open configure.in, and uncomment the line below "Debugging switches"
+ You have to compile GNOME Power Manager from GIT to do this.
+ Grab the latest from GIT, and open configure.ac, and uncomment the line below "Debugging switches"
  Run ./autogen.sh --prefix=/tmp as normal in the source directory.
  Compile it with "make", and then use "make install".
  After that in the same directory where you typed "make" run:
@@ -123,7 +111,7 @@ gdb ./gnome-power-manager
  Then type the following and crash the program / let it crash on it's own.
 </p>
 <pre>
-(gdb) run --no-daemon --verbose
+(gdb) run --verbose
 </pre>
 <p>
  You will be back in the gdb shell.
@@ -134,19 +122,6 @@ gdb ./gnome-power-manager
  <a href="http://www.cs.usfca.edu/benson/cs326/gdb/gdb.pdf";>This link</a>
  will give you more information.
 </p>
-<p>
- You can also try calling the HAL methods from the command line:
-</p>
-<pre>
-dbus-send --system --print-reply --dest=org.freedesktop.Hal \
-/org/freedesktop/Hal/devices/acpi_lcd \
-org.freedesktop.Hal.Device.LaptopPanel.SetBrightness \
-int32:2
-dbus-send --system --print-reply --dest=org.freedesktop.Hal \
-/org/freedesktop/Hal/devices/computer \
-org.freedesktop.Hal.Device.SystemPowerManagement.Suspend \
-int32:0
-</pre>
 
 </div>
 
@@ -160,8 +135,8 @@ int32:0
   GNOME ftp site</a>.
  </p>
  <p>
-  Make sure to get <a href="http://www.freedesktop.org/Software/hal";>
-  latest release of HAL</a>, the service that GNOME Power Manager depends on.
+  Make sure to get <a href="UPower">
+  latest release of UPower</a>, the service that GNOME Power Manager depends on.
  </p>
  <br />
  <p class="section">Feedback</p>
@@ -186,7 +161,7 @@ int32:0
 
 <!-- copyright -->
 <div id="copyright">
- Copyright &copy; 2005-2007, Richard Hughes.
+ Copyright &copy; 2005-2010, Richard Hughes.
  <br />
  <a href="http://validator.w3.org/check/referer";>Optimized</a>
  for <a href="http://www.w3.org/";>standards</a>.
diff --git a/projects.gnome.org/gnome-power-manager/gpm.html b/projects.gnome.org/gnome-power-manager/gpm.html
index d86ab6d..c66142a 100644
--- a/projects.gnome.org/gnome-power-manager/gpm.html
+++ b/projects.gnome.org/gnome-power-manager/gpm.html
@@ -19,13 +19,11 @@
  </a>
  <div id="hdrNav">
  <a href="index.html">Home</a> &middot;
- <a href="hal.html">HAL</a> &middot;
  <a href="gpm.html"><b>Notification Icon</b></a> &middot;
  <a href="gpp.html">Preferences</a> &middot;
  <a href="packages.html">Download</a> &middot;
  <a href="http://live.gnome.org/GnomePowerManager/FAQ";>FAQ</a> &middot;
  <a href="bugs.html">Reporting Bugs</a> &middot;
- <a href="http://live.gnome.org/GnomePowerManager";>Wiki</a>
  </div>
 </div>
 <!---->
@@ -70,8 +68,8 @@ The libnotify message that reminds the user that the battery is low.
   GNOME ftp site</a>.
  </p>
  <p>
-  Make sure to get <a href="http://www.freedesktop.org/Software/hal";>
-  latest release of HAL</a>, the service that GNOME Power Manager depends on.
+  Make sure to get <a href="UPower">
+  latest release of UPower</a>, the service that GNOME Power Manager depends on.
  </p>
  <br />
  <p class="section">Feedback</p>
diff --git a/projects.gnome.org/gnome-power-manager/gpp.html b/projects.gnome.org/gnome-power-manager/gpp.html
index 429a605..2912c34 100644
--- a/projects.gnome.org/gnome-power-manager/gpp.html
+++ b/projects.gnome.org/gnome-power-manager/gpp.html
@@ -19,13 +19,11 @@
  </a>
  <div id="hdrNav">
  <a href="index.html">Home</a> &middot;
- <a href="hal.html">HAL</a> &middot;
  <a href="gpm.html">Notification Icon</a> &middot;
  <a href="gpp.html"><b>Preferences</b></a> &middot;
  <a href="packages.html">Download</a> &middot;
  <a href="http://live.gnome.org/GnomePowerManager/FAQ";>FAQ</a> &middot;
  <a href="bugs.html">Reporting Bugs</a> &middot;
- <a href="http://live.gnome.org/GnomePowerManager";>Wiki</a>
  </div>
 </div>
 <!---->
@@ -70,8 +68,8 @@ Global options
   GNOME ftp site</a>.
  </p>
  <p>
-  Make sure to get <a href="http://www.freedesktop.org/Software/hal";>
-  latest release of HAL</a>, the service that GNOME Power Manager depends on.
+  Make sure to get <a href="UPower">
+  latest release of UPower</a>, the service that GNOME Power Manager depends on.
  </p>
  <br />
  <p class="section">Feedback</p>
@@ -96,7 +94,7 @@ Global options
 
 <!-- copyright -->
 <div id="copyright">
- Copyright &copy; 2005-2007, Richard Hughes.
+ Copyright &copy; 2005-2010, Richard Hughes.
  <br />
  <a href="http://validator.w3.org/check/referer";>Optimized</a>
  for <a href="http://www.w3.org/";>standards</a>.
diff --git a/projects.gnome.org/gnome-power-manager/images/Makefile.am b/projects.gnome.org/gnome-power-manager/images/Makefile.am
index 676590f..7c81344 100644
--- a/projects.gnome.org/gnome-power-manager/images/Makefile.am
+++ b/projects.gnome.org/gnome-power-manager/images/Makefile.am
@@ -9,24 +9,12 @@ include $(top_srcdir)/rules.common
 misc_images=\
 	favicon.ico		\
 	gnome-session.png	\
-	gpm-about.png		\
 	logo32x32.png		\
 	gpm-low-batt.png	\
 	gpm-taskbar.png		\
 	gpm-tooltip.png		\
-	hal-addbatt.png		\
-	hal-button.png		\
-	hal-suspend.png		\
-	icon-arch.png		\
-	icon-forsight.png	\
-	icon-gentoo.png		\
-	icon-redhat.png		\
-	icon-suse.png		\
-	icon-debian.png		\
-	icon-ubuntu.png		\
 	logo.png		\
 	nothing-libnotify.png	\
-	plan.png		\
 	gpm-prefs-ac.png	\
 	gpm-prefs-battery.png	\
 	gpm-prefs-options.png	\
diff --git a/projects.gnome.org/gnome-power-manager/images/gnome-session.png b/projects.gnome.org/gnome-power-manager/images/gnome-session.png
index d389d74..b98e203 100644
Binary files a/projects.gnome.org/gnome-power-manager/images/gnome-session.png and b/projects.gnome.org/gnome-power-manager/images/gnome-session.png differ
diff --git a/projects.gnome.org/gnome-power-manager/images/gpm-prefs-ac.png b/projects.gnome.org/gnome-power-manager/images/gpm-prefs-ac.png
index 0c1cfa7..4fe3f22 100644
Binary files a/projects.gnome.org/gnome-power-manager/images/gpm-prefs-ac.png and b/projects.gnome.org/gnome-power-manager/images/gpm-prefs-ac.png differ
diff --git a/projects.gnome.org/gnome-power-manager/images/gpm-prefs-battery.png b/projects.gnome.org/gnome-power-manager/images/gpm-prefs-battery.png
index 7234597..c90a931 100644
Binary files a/projects.gnome.org/gnome-power-manager/images/gpm-prefs-battery.png and b/projects.gnome.org/gnome-power-manager/images/gpm-prefs-battery.png differ
diff --git a/projects.gnome.org/gnome-power-manager/images/gpm-prefs-options.png b/projects.gnome.org/gnome-power-manager/images/gpm-prefs-options.png
index 6a6a7e4..5fca966 100644
Binary files a/projects.gnome.org/gnome-power-manager/images/gpm-prefs-options.png and b/projects.gnome.org/gnome-power-manager/images/gpm-prefs-options.png differ
diff --git a/projects.gnome.org/gnome-power-manager/images/gpm-taskbar.png b/projects.gnome.org/gnome-power-manager/images/gpm-taskbar.png
index 3bd374d..61d99c0 100644
Binary files a/projects.gnome.org/gnome-power-manager/images/gpm-taskbar.png and b/projects.gnome.org/gnome-power-manager/images/gpm-taskbar.png differ
diff --git a/projects.gnome.org/gnome-power-manager/images/gpm-tooltip.png b/projects.gnome.org/gnome-power-manager/images/gpm-tooltip.png
index b36980f..2a15291 100644
Binary files a/projects.gnome.org/gnome-power-manager/images/gpm-tooltip.png and b/projects.gnome.org/gnome-power-manager/images/gpm-tooltip.png differ
diff --git a/projects.gnome.org/gnome-power-manager/index.html b/projects.gnome.org/gnome-power-manager/index.html
index c5b7d85..c6478fd 100644
--- a/projects.gnome.org/gnome-power-manager/index.html
+++ b/projects.gnome.org/gnome-power-manager/index.html
@@ -19,13 +19,11 @@
  </a>
  <div id="hdrNav">
  <a href="index.html"><b>Home</b></a> &middot;
- <a href="hal.html">HAL</a> &middot;
  <a href="gpm.html">Notification Icon</a> &middot;
  <a href="gpp.html">Preferences</a> &middot;
  <a href="packages.html">Download</a> &middot;
  <a href="http://live.gnome.org/GnomePowerManager/FAQ";>FAQ</a> &middot;
  <a href="bugs.html">Reporting Bugs</a> &middot;
- <a href="http://live.gnome.org/GnomePowerManager";>Wiki</a>
  </div>
 </div>
 <!---->
@@ -50,40 +48,22 @@
 </p>
 <ul>
  <li>
-   <a href="http://www.freedesktop.org/Software/hal";>hal</a>
-   0.5.7
+   <a href="http://upower.freedesktop.org/";>UPower</a> 0.9.1
  </li>
  <li>
-   <a href="http://www.freedesktop.org/Software/dbus";>dbus</a>
-   0.61
+   <a href="http://www.freedesktop.org/Software/dbus";>DBus</a> 0.61
  </li>
  <li>
-   <a href="http://cia.navi.cx/stats/project/galago/libnotify";>libnotify</a>
-   0.4.2 [optional]
+   <a href="http://cia.navi.cx/stats/project/galago/libnotify";>libnotify</a> 0.4.2
  </li>
 </ul>
 
-<h2>Why is this important</h2>
-<p>
- Depending if you are running a PPC or i386 PC the different power management
- facilities are vastly different.
- To get your machine to suspend on lid press is already possible, but is 
- difficult to know what config files to modify.
- To get your LCD screen brightness set to 50% when you remove the AC Adapter
- of your laptop is probably possible with a clever little Perl script,
- but is not something that comes ready configured on a standard Linux distro.
- Any of these things need the user to become the super-user to do the action.
-</p>
-<p>
-This needs to change before Linux is accepted as a contender for the desktop.
-</p>
-
 <h2>Power Management Introduction</h2>
 <p>
  Power management is an essential job on portable computers, and becoming more
  important on todays high-powered desktops.
  It uses many complex (and sometimes experimental) parts of the system - each 
- of which are slightly different, and may contain errata to work around.
+ of which are slightly different, and may contain quirks to work around.
  The power management policy could be influenced and tweaked by an huge number
  of options, and each new laptop model brings more possibilities and options.
  This should all work in the background <b>without even being noticed</b> by 
@@ -97,14 +77,13 @@ This needs to change before Linux is accepted as a contender for the desktop.
 <li>Reduce CPU frequency</li>
 <li>Switch off the harddrive if not needed</li>
 <li>Dim the display when the machine is idle</li>
-<li>Tweak the memory management to allow longer cache-intervals for the hard drive</li>
 </ul>
 <p>
 And they support various actions to match users needs:
 </p>
 <ul>
-<li>Suspend to RAM</li>
-<li>Suspend to Disk (Hibernate)</li>
+<li>Sleep to RAM (Suspend)</li>
+<li>Sleep to Disk (Hibernate)</li>
 <li>Shutdown</li>
 <li>Blank screen</li>
 </ul>
@@ -129,8 +108,8 @@ And they support various actions to match users needs:
   GNOME ftp site</a>.
  </p>
  <p>
-  Make sure to get <a href="http://www.freedesktop.org/Software/hal";>
-  latest release of HAL</a>, the service that GNOME Power Manager depends on.
+  Make sure to get <a href="http://upower.freedesktop.org/";>
+  latest release of UPower</a>, the service that GNOME Power Manager depends on.
  </p>
  <br />
  <p class="section">Feedback</p>
@@ -155,7 +134,7 @@ And they support various actions to match users needs:
 
 <!-- copyright -->
 <div id="copyright">
- Copyright &copy; 2005-2007, Richard Hughes.
+ Copyright &copy; 2005-2010, Richard Hughes.
  <br />
  <a href="http://validator.w3.org/check/referer";>Optimized</a>
  for <a href="http://www.w3.org/";>standards</a>.
diff --git a/projects.gnome.org/gnome-power-manager/packages.html b/projects.gnome.org/gnome-power-manager/packages.html
index 268e51a..a735386 100644
--- a/projects.gnome.org/gnome-power-manager/packages.html
+++ b/projects.gnome.org/gnome-power-manager/packages.html
@@ -19,13 +19,11 @@
  </a>
  <div id="hdrNav">
  <a href="index.html">Home</a> &middot;
- <a href="hal.html">HAL</a> &middot;
  <a href="gpm.html">Notification Icon</a> &middot;
  <a href="gpp.html">Preferences</a> &middot;
  <a href="packages.html"><b>Download</b></a> &middot;
  <a href="http://live.gnome.org/GnomePowerManager/FAQ";>FAQ</a> &middot;
  <a href="bugs.html">Reporting Bugs</a> &middot;
- <a href="http://live.gnome.org/GnomePowerManager";>Wiki</a>
  </div>
 </div>
 <!---->
@@ -38,13 +36,13 @@
 </p>
 <hr/>
 
-<h2>SVN</h2>
+<h2>GIT</h2>
 <p>
- You can check out the latest GNOME Power Manager code using SVN. You can use the
- <a href="http://svn.gnome.org/viewcvs/gnome-power-manager/trunk/";>viewcvs</a> interface too.
+ You can check out the latest GNOME Power Manager code using GIT. You can use the
+ <a href="http://git.gnome.org/browse/gnome-power-manager/";>gitweb</a> interface too.
 </p>
 <pre>
-svn checkout http://svn.gnome.org/svn/gnome-power-manager/trunk/ gnome-power-manager-trunk
+git clone git://git.gnome.org/gnome-power-manager
 </pre>
 
 <h2>Compiling The Code</h2>
@@ -62,15 +60,15 @@ make install
 <!-- sidebar -->
 <div id="sidebar">
  <p class="section">Downloads</p>
- <p>GNOME Power Manager should come bundled with most modern distributions.</p>
+ <p>GNOME Power Manager should come bundled with your distribution.</p>
  <p>
   The latest source releases can always be found at the
   <a href="http://ftp.gnome.org/pub/GNOME/sources/gnome-power-manager/";>
   GNOME ftp site</a>.
  </p>
  <p>
-  Make sure to get <a href="http://www.freedesktop.org/Software/hal";>
-  latest release of HAL</a>, the service that GNOME Power Manager depends on.
+  Make sure to get <a href="http://upower.freedesktop.org/";>
+  latest release of UPower</a>, the service that GNOME Power Manager depends on.
  </p>
  <br />
  <p class="section">Feedback</p>
@@ -95,7 +93,7 @@ make install
 
 <!-- copyright -->
 <div id="copyright">
- Copyright &copy; 2005-2007, Richard Hughes.
+ Copyright &copy; 2005-2010, Richard Hughes.
  <br />
  <a href="http://validator.w3.org/check/referer";>Optimized</a>
  for <a href="http://www.w3.org/";>standards</a>.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]