Thanks! I will disable the gnome power manager for now, I don't need it after all...
Regards, Maarten On 07/31/2010 07:35 PM, Ulrich von Zadow wrote: > Hi, > > seems to be a bug in the Gnome Power Manager in 10.04. Disabling it fixes the > problem: > > https://www.libavg.de/mantis/view.php?id=141 > > Cheers, > > Uli > > On Jul 28, 2010, at 10:53 PM, Maarten Burie wrote: > > >> Very strange indeed. >> >> I've filed a bug. (I couldn't select the product version I'm using >> because the highest selectable was 0.9. I've version 1.0.1) >> >> I hope you're able to reproduce and solve this problem! >> >> Thanks for the support so far. >> >> Cheers, Maarten >> >> >> >> On 07/28/2010 10:21 PM, Ulrich von Zadow wrote: >> >>> Wow - strange. I'll see if I can reproduce& fix it in the next few days. >>> Can you file a bug? >>> >>> Cheers, >>> >>> Uli >>> >>> On Jul 28, 2010, at 10:14 PM, Maarten Burie wrote: >>> >>> >>> >>>> Hi Alex, >>>> >>>> Thanks again for the fast reply! >>>> >>>> I've tested your script and the power button doesn't work when running it. >>>> So it has something to do with the libavg running fullscreen on ubuntu >>>> 10.04, but why? >>>> >>>> Maarten >>>> >>>> >>>> On 07/28/2010 09:58 PM, Alex Harrington wrote: >>>> >>>> >>>>>> If you are sure libavg isn't the problem, I will contact the Xibo >>>>>> developers again, maybe there is another cause. >>>>>> >>>>>> >>>>>> >>>>>> >>>>> Hi Maarten >>>>> >>>>> Alex from Xibo project here. >>>>> >>>>> The simplest way we can decide is to put together a minimal test case >>>>> file with just libavg player and get you to try that. As I said before we >>>>> don't have any code to block a shutdown. All we do is run the player >>>>> fullscreen (or not). The only thing that springs to mind is if the >>>>> keyhandler is somehow swallowing the call? I'm not sure that's even >>>>> possible though. The only code change between running fullscreen and not >>>>> is a boolean that we pass straight to libavg to tell the player to run >>>>> fullscreen or not (see below example). It's odd then that the same code >>>>> running prevents shutdown when running fullscreen but not when running >>>>> windowed! >>>>> >>>>> If you make up a files as follows: >>>>> ------------------------------------------------ >>>>> #!/usr/bin/python >>>>> # -*- coding: utf-8 -*- >>>>> >>>>> # Define the width and height of the display >>>>> width = 1024 >>>>> height = 768 >>>>> >>>>> # Run fullscreen? >>>>> fullscreen = True >>>>> >>>>> from libavg import avg >>>>> >>>>> player = avg.Player.get() >>>>> player.setResolution(fullscreen,width,height,24) >>>>> >>>>> avgContent = '<avg id="main" width="' >>>>> avgContent += str(width) >>>>> avgContent += '" height="' >>>>> avgContent += str(height) >>>>> avgContent += '"><div id="screen"/>' >>>>> avgContent += '</avg>' >>>>> >>>>> player.loadString(avgContent) >>>>> >>>>> player.play() >>>>> --------------------------------------- >>>>> >>>>> If you make that executable and run it, can you power down then? >>>>> >>>>> Alex >>>>> >>>>> This email carries a disclaimer, a copy of which may be read at >>>>> http://learning.longhill.org.uk/disclaimer >>>>> >>>>> _______________________________________________ >>>>> libavg-users mailing list >>>>> >>>>> [email protected] >>>>> https://mail.datenhain.de/mailman/listinfo/libavg-users >>>>> >>>>> >>>> _______________________________________________ >>>> libavg-users mailing list >>>> [email protected] >>>> https://mail.datenhain.de/mailman/listinfo/libavg-users >>>> >>>> >>> -- >>> Any technology distinguishable from magic is insufficiently advanced. >>> >>> Ulrich von Zadow | +49-172-7872715 >>> Jabber: [email protected] >>> Skype: uzadow >>> >>> >>> >>> >>> _______________________________________________ >>> libavg-users mailing list >>> [email protected] >>> https://mail.datenhain.de/mailman/listinfo/libavg-users >>> >>> >> >> -- >> Maarten Burie >> >> IDD Electronics Dep. Development >> Jacob Catsplein 1a >> 8913 CS Leeuwarden >> The Netherlands >> T: +31-58-2137028 >> F: +31-58-2135149 >> Email subject to disclaimer: http://www.idd-electronics.com/disclaimer >> >> >> _______________________________________________ >> libavg-users mailing list >> [email protected] >> https://mail.datenhain.de/mailman/listinfo/libavg-users >> >> > -- > Any technology distinguishable from magic is insufficiently advanced. > > Ulrich von Zadow | +49-172-7872715 > Jabber: [email protected] > Skype: uzadow > > > > > _______________________________________________ > libavg-users mailing list > [email protected] > https://mail.datenhain.de/mailman/listinfo/libavg-users > -- Maarten Burie IDD Electronics Dep. Development Jacob Catsplein 1a 8913 CS Leeuwarden The Netherlands T: +31-58-2137028 F: +31-58-2135149 Email subject to disclaimer: http://www.idd-electronics.com/disclaimer _______________________________________________ libavg-users mailing list [email protected] https://mail.datenhain.de/mailman/listinfo/libavg-users
