[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-04-08 Thread Mike Rooney
Hi Ted. The latest patch works like a charm! Turns of the screen when it
should, and doesn't display any g-p-m notices either way.

I think, as far as the other part of this bug is concerned (in regards
to shutdown/suspect/etc), I will spin it off into a new bug, and this
one can be fixed. They seem separate enough, as this one will fix the
screen blanking for all apps, not just Rhythmbox, but my bug is more
specific to Rhythmbox. Thanks!

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-04-08 Thread Cory Dodt
Mike, please post the new bug here when it's open, as that's the one I'm
more interested in following! :-)

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-04-08 Thread Launchpad Bug Tracker
This bug was fixed in the package gnome-power-manager - 2.22.1-1ubuntu3

---
gnome-power-manager (2.22.1-1ubuntu3) hardy; urgency=low

  * Adding patch 09_lid_always_blanks.patch to make it so that a lid
button will at least blank even when inhibitted.  It also makes it so
that inhibit can't block critical battery actions. LP: #193617

 -- Ted Gould [EMAIL PROTECTED]   Tue, 08 Apr 2008 08:42:22 -0700

** Changed in: gnome-power-manager (Ubuntu)
   Status: Confirmed = Fix Released

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-04-08 Thread Mike Rooney
Cory, if I were to file a new bug I think it would be a duplicate of bug
#78038, so I would recommend subscribing to that and adding some input
there, and moving our discussion there. The importance should be Medium
at least so lets do our parts in that bug.

And Ted, thanks for the great work here in this bug. I would like to
think we saved some power and screen life with this one, which is great
for an LTS.

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


Re: [Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-04-07 Thread Ted Gould
On Sun, 2008-04-06 at 14:41 +, Mike Rooney wrote:
 The patched g-p-m seems to fix the issue of the screen not blanking and
 no policy action dialog appears! The strange thing is that if I set the
 laptop to do nothing on closing the lid, it correctly does nothing, but
 the policy action prevented dialog still appears. I wonder what it
 thinks it is preventing!

Mike, please try 2.22.1-1ubuntu3~ppa3 and see if this if fixed.

Thanks.  Ted.

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-04-06 Thread Mike Rooney
Hi Ted,

The patched g-p-m seems to fix the issue of the screen not blanking and
no policy action dialog appears! The strange thing is that if I set the
laptop to do nothing on closing the lid, it correctly does nothing, but
the policy action prevented dialog still appears. I wonder what it
thinks it is preventing!

However, the user is still unable to shutdown/restart/etc with the
Rhythmbox power plugin enabled. Should that be opened as a separate bug
and perhaps this patch released to fix this issue?

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


Re: [Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-04-06 Thread Ted Gould
On Sun, 2008-04-06 at 14:41 +, Mike Rooney wrote:
 The patched g-p-m seems to fix the issue of the screen not blanking and
 no policy action dialog appears! The strange thing is that if I set the
 laptop to do nothing on closing the lid, it correctly does nothing, but
 the policy action prevented dialog still appears. I wonder what it
 thinks it is preventing!

Ah, oops.  I'll fix that tomorrow, I don't have time today.  Thank you
for catching that and I'm glad the majority works.

 However, the user is still unable to shutdown/restart/etc with the
 Rhythmbox power plugin enabled. Should that be opened as a separate bug
 and perhaps this patch released to fix this issue?

No, that's actually intended as part of the design.  We don't block
users from shooting themselves in the foot, otherwise we'd have to
delete all Windows partitions on install! ;)

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-04-06 Thread Cory Dodt
Will this patch to g-p-m also fix Banshee?

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-04-06 Thread Cory Dodt
Actually here's a better question: will this patch allow *suspend* (not
just screen blanking) when the laptop lid closes?  I saw in another bug
that several apps are getting dbus calls added for various reasons to
prevent suspend.

This is a *really* bad idea.. it damages laptops!  If the user has left
headphones plugged in or muted the sound, it will prevent the laptop
from suspending when the lid closes, which means overheating in the
laptop and damaged components and shorter hardware lifespan.

Laptop lid close should trump all, for hardware safety if for no other
reason.

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-04-06 Thread Mike Rooney
You know Cory, if you are curious you could (and to improve the testing
of this patch, should) just try it ;]

I want to add in here that I REALLY agree that whatever I select in my
power settings should be what happens! I am really not liking this
emerging trend of applications saying well I know you have set your
power settings to do A on lid close/power button press/timeout/etc, but
actually I know better than you and instead am going to do B! ha ha ha!

If I push the power button, I want the computer to do whatever I have it
set to do. Not tell me it won't because music is playing.

However, I like the idea of a plugin to deny this, and I think it makes
sense here, but not as default behavior. For users who set their laptop
to suspend on close, I can see where they might want it to not suspend
if music is playing, and a plugin for the music player seems like a good
way to accomplish this. Because of that this sort of thing shouldn't be
disallowed entirely as Cory suggested, just non-default. If a user wants
it to not suspend, they should be able to enable the plugin and not have
that be ignored.

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-04-06 Thread Cory Dodt
I agree with you in principal actually, but I think the problem has been
poorly-defined.  We need a separate definition: call it active power
management and passive power management.

In active PM, the user has taken an action to cause it to happen, i.e.
press the power button, pick the shutdown menu item, or closed the lid.

In passive PM, the system is doing something power management related
because a timeout has expired.

In my opinion apps should never be able to prevent the first kind
without some kind of system-level setting changed.  Perhaps label it
allow applications to override lid closing/power button.  Default to
no.  Then your plugins can work.

The second, passive kind is the kind I think these features are
*intended* to block, and maybe they ought to be able to.  As long as
we're adding settings, make this one a setting too, but default to
yes.

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-04-06 Thread Mike Rooney
Yes Cory, I think we agree. To summarize my points, the user's
preference (in g-p-m) should correspond with what actually happens by
default. Second, things should be able to override g-p-m (such as the
rhythmbox plugin) but these behaviors should be non-default.

I think it is much better for users who want something to have to find
out how to enable it, than to put the burden on people who do not want
it, to have to research how to disable it.

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-04-04 Thread Ted Gould
I believe that I have a patch for this.  Could you guys please try the
patch that is included in gnome-power-manager_2.22.1-0ubuntu3~ppa2 in my
PPA:

http://launchpad.net/~ted-gould/+archive

It should make it so that the screen always turns of when the lid is
shut whether or not another app inhibits GPM.

Thanks.  Ted.

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-04-04 Thread Mike Rooney
Thanks for providing a PPA, Ted. Would you mind providing a few
instructions on how to have that version replace my g-p-m without having
the other packages in there replace anything else? What do I need to do
past putting those two lines in my /etc/apt/sources.list?

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


Re: [Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-04-04 Thread Ted Gould
On Sat, 2008-04-05 at 00:14 +, Mike Rooney wrote:
 Thanks for providing a PPA, Ted. Would you mind providing a few
 instructions on how to have that version replace my g-p-m without having
 the other packages in there replace anything else? What do I need to do
 past putting those two lines in my /etc/apt/sources.list?

Yes.  If you put those two lines in your PPA you can then upgrade the
packages.  You can do that using Synaptic which is in
System-Administration-Synaptic Package Manager which will show all the
packages in the system.  You can then select gnome-power-manager, right
click on it to mark it for upgrade.  Then you can click the check mark
in the toolbar to apply the changes.

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-04-02 Thread Cory Dodt
This affects Banshee, too.  Is there a similar workaround for banshee?
I didn't see any power-related plugins or settings.

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-03-24 Thread Pedro Villavicencio
** Changed in: gnome-power-manager (Ubuntu)
 Assignee: (unassigned) = Ted Gould (ted-gould)

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-03-23 Thread Greg Grossmeier
Setting importance to High since it has a moderate impact on a large
portion of Ubuntu users (estimated)

** Changed in: gnome-power-manager (Ubuntu)
   Importance: Undecided = High

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-03-23 Thread Charles
In related (if not duplicate) bug #78038, Sebastian offers the solution:
That is a new plugin, it should probably be listed by the interface
though, you can stop it by changing the /apps/rhythmbox/plugins/power-
manager/active gconf key to false.

This solution fixes the issue for me.

I found other mentions here (http://lists.alioth.debian.org/pipermail
/pkg-gnome-maintainers/2007-April/033797.html) with the suggestion by
Julien I guess the correct behaviour of this plugin is to prevent the
screensaver from starting (though I don't understand why this would be
necessary with an audio player). I would thus recommand this plugin to
be disabled by default, or at least not hidden.

Unless this plugin serves some useful purpose I am not aware of, I would
agree strongly with the recommendation to disable it by default, and
certainly at least not hide it! (/apps/rhythmbox/plugins/power-
manager/hidden)

Can confirmers of the non-blanking screen issue change the key as per
Sebastians solution and see if this fixes the issue? If someone could do
it I would greatly appreciate it; then I can mark this as a duplicate of
the other bug and merge the progress. Thanks!

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-03-22 Thread Charles
This same issue prevents shutting down the computer when Rhythmbox is
playing in an up-to-date Hardy Beta install. Is this actually gnome-
power-manager or rhythmbox? Either way, pretty serious. This seems like
a showstopper bug to me. People are going to want to shut
down/restart/suspect/etc their computers without manually stopping their
music.

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-03-02 Thread jfestrada
Hi, I think that these issue is due to version of Rhythmbox, because I
have the same problem with Gutsy and Rhythmbox 0.11.4 which is the
version of Rhythmbox on Hardy.

Oh sorry I forgot to say that my laptop is a apple MacBook C2D.

Best reegards.

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-02-27 Thread Miguel Ruiz
I confirm this issue with Hardy Heron up to date.

Cheers!

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 193617] Re: Hardy rhythmbox stops screen from blanking on laptop lid close

2008-02-26 Thread muszek
I can confirm that.  Running Dell Inspiron 1720.

** Changed in: gnome-power-manager (Ubuntu)
   Status: New = Confirmed

-- 
Hardy rhythmbox stops screen from blanking on laptop lid close
https://bugs.launchpad.net/bugs/193617
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs