Diego Amor | 13 Sep 2010 17:38
Picon

[gpm] Inhibit questions...

Hi, i tried to do a script in python emulating inhibit procces like applet...
I tried to connect:
DBUS_SERVICE: 'org.freedesktop.PowerManager'
DBUS_PATH : '/org/freedesktop/PowerManager/Inhibit
But give me an error... :(

I tried to search with D-Bus explorer on org.gnome.PowerManager but i
not find Inhibit ... :(

I download the code and i found a call that i believe set the inhibit...

        ret = dbus_g_proxy_call (applet->proxy, "Inhibit", &error,
                                 G_TYPE_STRING, appname,
                                 G_TYPE_UINT, 0, /* xid */
                                 G_TYPE_STRING, reason,
                                 G_TYPE_UINT, 1+2+4+8, /* logoff,
switch, suspend, and idle */
                                 G_TYPE_INVALID,
                                 G_TYPE_UINT, cookie,
                                 G_TYPE_INVALID);

but i not understand how i need to set inhibit to powersaving...

JAaaaaaaaa someone help me?

Thank... SORRY MY HORRIBLE ENGLISH!

--

-- 
--------------------------------
Diego Amor
(Continue reading)

Richard Hughes | 16 Sep 2010 18:24
Picon

[gpm] GNOME Power Manager 2.31.92

GNOME Power Manager is a session daemon that makes it easy to manage the
power on your laptop or desktop system.

Version 2.31.92
~~~~~~~~~~~~~~~
Released: 2010-09-16

* Translations
 - Update Czech translation (Marek Cernocky)
 - Updated Brazilian Portuguese translation (Antonio Fernandes C. Neto)
 - Updated British English translation (Bruce Cowan)
 - Updated Finnish translation (Timo Jyrinki)
 - Updated French translation (Bruno Brouard)
 - Updated Greek translation for gnome-power-manager (Michael Kotsarinis)
 - Updated Italian translation (Milo Casagrande)
 - Updated Norwegian bokmål translation (Kjartan Maraas)
 - Updated Polish translation (Piotr Drąg)
 - Updated Portuguese translation (Duarte Loreto)
 - Updated Swedish translation (Daniel Nylander)
 - Update Simplified Chinese help translation (Aron Xu)

* Bugfix:
 - Only disable deprecated code for --enable-strict builds (Richard Hughes)
 - Remove last traces of DeviceKit-power (Michael Biebl)

Richard
_______________________________________________
gnome-power-manager-list mailing list
gnome-power-manager-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list
(Continue reading)

Don Cohen | 16 Sep 2010 18:49
Favicon

[gpm] screen brightness on plug/unplug


I've noticed that when I reconnect power to my laptop I often have
a dim screen.  If I click on the battery icon and select preferences
I see a "Power Management Preferences" window with a "set display
brightness" slider in the "On AC Power" tab.
This is (correctly) set to 80%.  If I then move it, say, to 79% the
screen gets brighter (I suppose to 79%).  I've been doing this and 
then moving it back to 80% and closing the window whenever I notice
the problem, which is most of the time when I reconnect power.
I assume I should not have to do this.  I'd appreciate advice on how
to make that manual step unnecessary.
I run Fedora 12, btw.
I'm not even sure which packages are relevant here.
Perhaps these?
 DeviceKit-power-014-2.fc12.x86_64
 gnome-settings-daemon-2.28.2-2.fc12.x86_64
Richard Hughes | 17 Sep 2010 14:04
Picon

Re: [gpm] screen brightness on plug/unplug

On 16 September 2010 17:49, Don Cohen <don-gpm@...> wrote:
> I run Fedora 12, btw.

IIRC, the brightness logic was improved in F13. It might be worth
trying a F14beta/F13 livecd to see if the bug has been fixed.

Richard.
Richard Hughes | 20 Sep 2010 13:45
Picon

Re: [gpm] [FIX] gnome screensaver blanks even when user is not idle

On 16 March 2010 22:35, David James <davidjames@...> wrote:
> To fix this, I suggest we subtract one from the wait value we use for
> negative transitions. This ensures that wait_value < old_value. This
> fix is already implemented in the KDE code base and will soon be
> implemented in Chromium OS code base as well. I'm sending this email
> to you so that we can make sure gnome-screensaver is fixed too.

Could you please point to the KDE or Chromium commits and I'll
reference them in the git commit log. Thanks.

Richard.
Richard Hughes | 20 Sep 2010 16:36
Picon

Re: [gpm] Inhibit questions...

On 13 September 2010 16:38, Diego Amor <diego.amor@...> wrote:
> Hi, i tried to do a script in python emulating inhibit procces like applet...
> I tried to connect:
> DBUS_SERVICE: 'org.freedesktop.PowerManager'
> DBUS_PATH : '/org/freedesktop/PowerManager/Inhibit
> But give me an error... :(
>
> I tried to search with D-Bus explorer on org.gnome.PowerManager but i
> not find Inhibit ... :(

Correct, since gnome 2.30.0 it's moved to org.gnome.SessionManager.

Richard.
David James | 20 Sep 2010 18:07
Picon
Favicon

Re: [gpm] [FIX] gnome screensaver blanks even when user is not idle

On Mon, Sep 20, 2010 at 4:45 AM, Richard Hughes <hughsient@...> wrote:
> On 16 March 2010 22:35, David James <davidjames@...> wrote:
>> To fix this, I suggest we subtract one from the wait value we use for
>> negative transitions. This ensures that wait_value < old_value. This
>> fix is already implemented in the KDE code base and will soon be
>> implemented in Chromium OS code base as well. I'm sending this email
>> to you so that we can make sure gnome-screensaver is fixed too.
>
> Could you please point to the KDE or Chromium commits and I'll
> reference them in the git commit log. Thanks.

Hi Richard,

Here's the info on my fix to Chromium OS:
 - Commit Log: http://src.chromium.org/cgi-bin/gitweb.cgi?p=power_manager.git;a=commitdiff;h=ba7eef43bd772f0ec55661e0dc23e92d873a4844
 - Commit SHA1: ba7eef43bd772f0ec55661e0dc23e92d873a4844
 - Code Review: http://codereview.chromium.org/1035001

For XSyncBasedPoller, developed by KDE, it looks like they fixed this
before the initial commit so there is no specific log of their change.
But they included the following comment in the initial commit:

/* Set the reset alarm to fire the next time idleCounter < the
 * current counter value. XSyncNegativeComparison means <= so
 * we have to subtract 1 from the counter value
 */

Hope this helps.

Cheers,
(Continue reading)

kamakshaiah m | 21 Sep 2010 18:55
Picon

[gpm] power-charger-applet not visible

I've installed Ubuntu 10.04 in my newly purchased Acer Aspire 4745, right from the beginning power applet is not visible in notification area, resulting I am knowing when the power is exhausting and filling. Please give me some solution how to get it at notification area.

Thanking you, 

--

Kamakshaiah Musunuru
+251-914238020 (Ethiopia)
+91-9177573730 (India)

_______________________________________________
gnome-power-manager-list mailing list
gnome-power-manager-list@...
http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list
Richard Hughes | 22 Sep 2010 10:44
Picon

Re: [gpm] power-charger-applet not visible

On 21 September 2010 17:55, kamakshaiah m <kamakshaiah.m@...> wrote:
> I've installed Ubuntu 10.04 in my newly purchased Acer Aspire 4745, right
> from the beginning power applet is not visible in notification area,
> resulting I am knowing when the power is exhausting and filling. Please give
> me some solution how to get it at notification area.

You need to file a bug with Ubuntu in Launchpad. Ubuntu replaced all
the system status code in gnome-power-manager.

Richard.
Richard Hughes | 27 Sep 2010 16:38
Picon

[gpm] GNOME Power Manager 2.32.0

GNOME Power Manager is a session daemon that makes it easy to manage the
power on your laptop or desktop system.

Version 2.32.0
~~~~~~~~~~~~~~
Released: 2010-09-27

* Translations
 - Updated Arabic translation (Khaled Hosny)
 - Updated Bulgarian translation (Damyan Ivanov)
 - Updated Dutch translation (Wouter Bolsterlee)
 - Updated Italian translation (Milo Casagrande)
 - Updated Japanese translation (Takayuki KUSANO)
 - Updated Lithuanian translation (Žygimantas Beručka)
 - Updated Russian translation (Yuri Myasoedov)
 - Updated Swedish translation (Daniel Nylander)

Richard.
_______________________________________________
gnome-power-manager-list mailing list
gnome-power-manager-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-power-manager-list

Gmane