Re: Hildon-Desktop: added Widget not shown

2010-03-04 Thread Anderson Lizardo
2010/1/13 Kimmo Hämäläinen kimmo.hamalai...@nokia.com:
 Notice that hildon-desktop does not have any plugins, all plugins are in
 hildon-home. What you need is killall hildon-home -- it will restart
 automatically and no reboot is needed.

Yesterday I uploaded an updated version of the Python loader that uses
this workaround, thus closing
https://bugs.maemo.org/show_bug.cgi?id=8586

See also the broader bug report :
https://bugs.maemo.org/show_bug.cgi?id=9370 (not fixed yet, that's why
we added the workaround)

Regards,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-03-04 Thread Thomas Waelti
Thank you Anderson, much appreciated!
-Tom


 2010/1/13 Kimmo Hämäläinen kimmo.hamalai...@nokia.com:
 Notice that hildon-desktop does not have any plugins, all plugins are in
 hildon-home. What you need is killall hildon-home -- it will restart
 automatically and no reboot is needed.

 Yesterday I uploaded an updated version of the Python loader that uses
 this workaround, thus closing
 https://bugs.maemo.org/show_bug.cgi?id=8586

 See also the broader bug report :
 https://bugs.maemo.org/show_bug.cgi?id=9370 (not fixed yet, that's why
 we added the workaround)

 Regards,
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-27 Thread Anderson Lizardo
On Mon, Jan 11, 2010 at 4:18 PM, Thomas Waelti twae...@gmail.com wrote:
 (Resent with correct time/date)

 Hello all

 I've uploaded an alpha version of my shutter home widget (IR shutter for 
 Nikon DSLR) to extras-devel.
 Functionaly, it works. But now I have a small problem in my installer that 
 I'm unable to resolve:
 After running the deb, the widget gets installed. It can then be added to the 
 desktop by the user through the normal Desktop Config  Add Widget process. 
 It shows up in the list and is selectable. But then it does not show up on 
 the desktop!

 However, once the device is rebooted, the added widget is cleary visible and 
 works well.

Heads up:

I have created a PyMaemo specific bug to summarize and track the issue:

https://bugs.maemo.org/show_bug.cgi?id=8586

Please add any further information/solutions to the problem there.

Regards,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-14 Thread Thomas Wälti
Not sure about that - I just tested it on my 44-1 and all previously
placed custom widgets came up again.
I also was able add other previously installed widgets.

What was your test case so that I can better try and verify on my device?

Thanks to all!
-Tom


On Thu, Jan 14, 2010 at 03:35, Mikko Vartiainen mvartiai...@gmail.com wrote:

 Not very good method since it disables all non-nokia widgets.

 --
 Mikko Vartiainen
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-14 Thread Mikko Vartiainen
 Not sure about that - I just tested it on my 44-1 and all previously
 placed custom widgets came up again.
 I also was able add other previously installed widgets.

 What was your test case so that I can better try and verify on my device?

Hmm, it seems that sometimes widgets disappear, not always.___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-14 Thread Faheem Pervez
This is what I've noticed:

killall hildon-home shouldn't cause the widgets to disappear.

If hildon-home is kill -9'ed, the widgets will almost certainly
disappear as part of a safe mode designed to ensure hildon-home
doesn't go into a crash loop due to a misbehaving widget.

But, if you then killall hildon-home (send it SIGTERM) while it is in
this safe mode state, it then proceeds to update its config (which
has all non-Nokia applets).

Best Regards,
Faheem

On Thu, Jan 14, 2010 at 10:32 AM, Mikko Vartiainen
mvartiai...@gmail.com wrote:
 Not sure about that - I just tested it on my 44-1 and all previously
 placed custom widgets came up again.
 I also was able add other previously installed widgets.

 What was your test case so that I can better try and verify on my
 device?

 Hmm, it seems that sometimes widgets disappear, not always.

 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-14 Thread Thomas Waelti
So would it make sense to add a killall hildon-home to the postinstall of the 
hildon-desktop-python-loader as an interim fix?
Who could do that? (I refrain from adding that to my app, as I think this would 
be the wrong place :-)

Thanks
-Tom



 This is what I've noticed:

 killall hildon-home shouldn't cause the widgets to disappear.

 If hildon-home is kill -9'ed, the widgets will almost certainly
 disappear as part of a safe mode designed to ensure hildon-home
 doesn't go into a crash loop due to a misbehaving widget.

 But, if you then killall hildon-home (send it SIGTERM) while it is in
 this safe mode state, it then proceeds to update its config (which
 has all non-Nokia applets).

 Best Regards,
 Faheem

 On Thu, Jan 14, 2010 at 10:32 AM, Mikko Vartiainen
 mvartiai...@gmail.com wrote:
 Not sure about that - I just tested it on my 44-1 and all previously
 placed custom widgets came up again.
 I also was able add other previously installed widgets.

 What was your test case so that I can better try and verify on my
 device?

 Hmm, it seems that sometimes widgets disappear, not always.

 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-14 Thread Anderson Lizardo
On Thu, Jan 14, 2010 at 3:47 PM, Thomas Waelti twae...@gmail.com wrote:
 So would it make sense to add a killall hildon-home to the postinstall of 
 the hildon-desktop-python-loader as an interim fix?
 Who could do that? (I refrain from adding that to my app, as I think this 
 would be the wrong place :-)

The PyMaemo team (which includes myself) can, but what we didn't hear
from the Hildon desktop developers whether this is a reliable
workaround or not :/. The only thing we know is that it should work,
but may affect some widgets.

What I'm most afraid is if watchdog may reboot the device. It seems it
does not happen, but it would be nice to know (from Hildon developers)
if it is indeed safe to kill hildon-home with SIGTERM during a package
installation or not.

Regards,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-13 Thread Kimmo Hämäläinen
On Wed, 2010-01-13 at 01:09 +0100, ext Anderson Lizardo wrote:
 On Tue, Jan 12, 2010 at 6:06 PM, Brent Chiodo bchi...@gmail.com wrote:
  I have had this issue reported for TouchSearch in both forums and formally
  as bug #6264: https://bugs.maemo.org/show_bug.cgi?id=6264
 
 Thanks, it is now easier to try to reproduce it (I have a spare N900
 that can be reflashed).
 
  It was also my thought that the Python - HildonDesktop interface is
  responsible for this.
 
 A possibility is that the the just installed Python loader
 (/usr/lib/hildon-desktop/loaders/libpythonpluginloader.so) only
 becomes active when hildon-desktop is restarted (which I suppose only
 occurs when the device is rebooted).

Notice that hildon-desktop does not have any plugins, all plugins are in
hildon-home. What you need is killall hildon-home -- it will restart
automatically and no reboot is needed.

-Kimmo


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-13 Thread Anderson Lizardo
2010/1/13 Kimmo Hämäläinen kimmo.hamalai...@nokia.com:
 Notice that hildon-desktop does not have any plugins, all plugins are in
 hildon-home. What you need is killall hildon-home -- it will restart
 automatically and no reboot is needed.

That's good to know. So does that mean we can put this on a postinst
script and it will not affect running applications and other C
applets?

Thanks,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-13 Thread Kimmo Hämäläinen
On Wed, 2010-01-13 at 12:03 +0100, ext Anderson Lizardo wrote:
 2010/1/13 Kimmo Hämäläinen kimmo.hamalai...@nokia.com:
  Notice that hildon-desktop does not have any plugins, all plugins are in
  hildon-home. What you need is killall hildon-home -- it will restart
  automatically and no reboot is needed.
 
 That's good to know. So does that mean we can put this on a postinst
 script and it will not affect running applications and other C
 applets?

It's better to fix hildon-home so that it does not require a restart.
Report a bug and attach your patch there :)

 
 Thanks,

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-13 Thread Anderson Lizardo
2010/1/13 Kimmo Hämäläinen kimmo.hamalai...@nokia.com:
 On Wed, 2010-01-13 at 12:03 +0100, ext Anderson Lizardo wrote:
 It's better to fix hildon-home so that it does not require a restart.
 Report a bug and attach your patch there :)

Well, hildon-home already uses a notification (inotify?) mechanism for
the applets, I just don't know why the same code was not used for the
loaders :/

I'll open a bug report in any case and, if time and PyMaemo planning
permits, prepare a patch, but do you think it is feasible to use
killall hildon-home on the Python loader postinst script as a
workaround?

Regards,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-13 Thread Mikko Vartiainen
  Notice that hildon-desktop does not have any plugins, all plugins are in
  hildon-home. What you need is killall hildon-home -- it will restart
  automatically and no reboot is needed.
 
 That's good to know. So does that mean we can put this on a postinst
 script and it will not affect running applications and other C
 applets?
 

Not very good method since it disables all non-nokia widgets.

-- 
Mikko Vartiainen
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-12 Thread Mikko Vartiainen
 
 (Resent with correct time/date)
 
 Hello all
 
 I've uploaded an alpha version of my shutter home widget (IR shutter for 
 Nikon DSLR) to extras-devel.
 Functionaly, it works. But now I have a small problem in my installer that 
 I'm unable to resolve:
 After running the deb, the widget gets installed. It can then be added to the 
 desktop by the user through the normal Desktop Config  Add Widget process. 
 It shows up in the list and is selectable. But then it does not show up on 
 the desktop!
 
 However, once the device is rebooted, the added widget is cleary visible and 
 works well.
 
 Now I really don't want to forece my users to reboot just because of a widget.
 Therefore my question: what am I missing? Any special postinstall script to 
 run?


I think it's still possible that hildon-desktop
python-loader doesn't work after it's insalled
until device (or hildon-desktop) is restarted.
I've seen similar reports related to other python
based widgets.

Since it happens only once it's hard to really
notice. Does any python developer know anything
about this?

-- 
Mikko Vartiainen
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-12 Thread Anderson Lizardo
On Tue, Jan 12, 2010 at 4:47 PM, Mikko Vartiainen mvartiai...@gmail.com wrote:
 I think it's still possible that hildon-desktop
 python-loader doesn't work after it's insalled
 until device (or hildon-desktop) is restarted.
 I've seen similar reports related to other python
 based widgets.

 Since it happens only once it's hard to really
 notice. Does any python developer know anything
 about this?

Well, we have never got reports on this (it's the first report I see
about this). If you could point to the other reports of python widgets
not working without a reboot that would be nice.

Regards,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-12 Thread Thomas Wälti
It could indeed be that python-loader does not startup correctly after
its installation. I get the following errors, once right at the end of
the installation, a second time when trying to add the widget to the
desktop:

hildon-home[14183]: GLIB WARNING ** default - Unknown Plugin Loader type: python
hildon-home[14183]: GLIB WARNING ** default - Error loading plugin:
/usr/share/applications/hildon-home/shutter.desktop

On both the test device and the scratchbox it failed, and on both I
didn't have any python widgets installed before.

My widget has the following dependencies: lirc (=
0.8.4b-1fremantle30), python2.5, python-hildondesktop (=
0.1.0-1maemo2), hildon-desktop-python-loader (= 0.1.0-1maemo2),
python-gtk2, python-hildon

Thanks and best regards
-Tom


On Tue, Jan 12, 2010 at 21:51, Anderson Lizardo
anderson.liza...@openbossa.org wrote:
 On Tue, Jan 12, 2010 at 4:47 PM, Mikko Vartiainen mvartiai...@gmail.com 
 wrote:
 I think it's still possible that hildon-desktop
 python-loader doesn't work after it's insalled
 until device (or hildon-desktop) is restarted.
 I've seen similar reports related to other python
 based widgets.

 Since it happens only once it's hard to really
 notice. Does any python developer know anything
 about this?

 Well, we have never got reports on this (it's the first report I see
 about this). If you could point to the other reports of python widgets
 not working without a reboot that would be nice.

 Regards,
 --
 Anderson Lizardo
 OpenBossa Labs - INdT
 Manaus - Brazil
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-12 Thread Mikko Vartiainen
On Tue, Jan 12, 2010 at 10:51 PM, Anderson Lizardo
anderson.liza...@openbossa.org wrote:

 Well, we have never got reports on this (it's the first report I see
 about this). If you could point to the other reports of python widgets
 not working without a reboot that would be nice.


Problem is that there isn't reliable bug reports (about openvpn-applet
and touchsearch for example), just random forum messages. But I've
experienced it myself, but I thought that it was fixed with the latest
versions. To make a reliable test I would need to reflash whole device
(rootfs+emmc) and I'm not very keen to do that.

-- 
Mikko Vartiainen
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-12 Thread Anderson Lizardo
On Tue, Jan 12, 2010 at 6:06 PM, Brent Chiodo bchi...@gmail.com wrote:
 I have had this issue reported for TouchSearch in both forums and formally
 as bug #6264: https://bugs.maemo.org/show_bug.cgi?id=6264

Thanks, it is now easier to try to reproduce it (I have a spare N900
that can be reflashed).

 It was also my thought that the Python - HildonDesktop interface is
 responsible for this.

A possibility is that the the just installed Python loader
(/usr/lib/hildon-desktop/loaders/libpythonpluginloader.so) only
becomes active when hildon-desktop is restarted (which I suppose only
occurs when the device is rebooted).

If that's the case, I don't know a way to force hildon-desktop to
detect the new loader. Also it will probably happen only when
hildon-desktop-python-loader is first installed, other applets
installed after (or the same applet being reinstalled) will not show
the problem.

Can some Hildon Desktop developer confirm this is the case? And if so,
is there any way of avoiding a reboot (e.g. by sending some signal to
the hildon-desktop process maybe?)

Regards,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-12 Thread Anderson Lizardo
On Tue, Jan 12, 2010 at 5:00 PM, Thomas Wälti twae...@gmail.com wrote:
 It could indeed be that python-loader does not startup correctly after
 its installation. I get the following errors, once right at the end of
 the installation, a second time when trying to add the widget to the
 desktop:

 hildon-home[14183]: GLIB WARNING ** default - Unknown Plugin Loader type: 
 python
 hildon-home[14183]: GLIB WARNING ** default - Error loading plugin:
 /usr/share/applications/hildon-home/shutter.desktop

 On both the test device and the scratchbox it failed, and on both I
 didn't have any python widgets installed before.

This is the expected behavior. You need the Python loader (provided by
the hildon-desktop-python-loader) installed *and* loaded in order to
have Python applets recognized. The problem (as I mentioned on the
other message) is probably that the hildon-desktop process is not
being aware of the new loader until it is restarted.

A possible test case (which I cannot test ATM) is:

1) apt-get remove hildon-desktop-python-loader
2) Restart N900
3) apt-get install hildon-desktop-python-loader
4) Install some Python applet

The let us know if the applet is shown or not.

Regards,
--
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-12 Thread Anderson Lizardo
On Tue, Jan 12, 2010 at 5:08 PM, Mikko Vartiainen mvartiai...@gmail.com wrote:
 On Tue, Jan 12, 2010 at 10:51 PM, Anderson Lizardo
 anderson.liza...@openbossa.org wrote:
 Problem is that there isn't reliable bug reports (about openvpn-applet
 and touchsearch for example), just random forum messages.

I've been following talk.maemo.org, but it is hard to notice if some
application is written in Python or not (just by looking at the thread
subject). It would be nice if the people following the threads
properly tag then with the python tag so it can be easily found in
searches.

 But I've
 experienced it myself, but I thought that it was fixed with the latest
 versions. To make a reliable test I would need to reflash whole device
 (rootfs+emmc) and I'm not very keen to do that.

I posted on another message a possible test case which does not
require a reboot. Could you try that?

Thanks,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-12 Thread Anderson Lizardo
On Tue, Jan 12, 2010 at 8:22 PM, Anderson Lizardo
anderson.liza...@openbossa.org wrote:
 On Tue, Jan 12, 2010 at 5:08 PM, Mikko Vartiainen mvartiai...@gmail.com 
 wrote:
 On Tue, Jan 12, 2010 at 10:51 PM, Anderson Lizardo
 anderson.liza...@openbossa.org wrote:
 Problem is that there isn't reliable bug reports (about openvpn-applet
 and touchsearch for example), just random forum messages.

 I've been following talk.maemo.org, but it is hard to notice if some
 application is written in Python or not (just by looking at the thread
 subject). It would be nice if the people following the threads
 properly tag then with the python tag so it can be easily found in
 searches.

BTW, It is very simple to see any Python related threads, if properly tagged:

http://talk.maemo.org/tags.php?tag=python

Unfortunately, only a few people use this feature.

Regards,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-12 Thread Mikko Vartiainen
On Wed, Jan 13, 2010 at 2:18 AM, Anderson Lizardo
anderson.liza...@openbossa.org wrote:
 This is the expected behavior. You need the Python loader (provided by
 the hildon-desktop-python-loader) installed *and* loaded in order to
 have Python applets recognized. The problem (as I mentioned on the
 other message) is probably that the hildon-desktop process is not
 being aware of the new loader until it is restarted.

 A possible test case (which I cannot test ATM) is:

 1) apt-get remove hildon-desktop-python-loader
 2) Restart N900
 3) apt-get install hildon-desktop-python-loader
 4) Install some Python applet

 The let us know if the applet is shown or not.


I used TouchSearch and OpenVPN Applet as testcase. TouchSearch is
desktop widget and OpenVPN Applet is status menu widget.

1. apt-get remove python2.5
2. killall hildon-desktop hildon-home hildon-status-menu
3. HAM install TouchSearch
4. TouchSearch didn't appear in desktop or in widget list
5. HAM install openvpn-applet
6. openvpn-applet appeared in status-menu (with broken icon)
7. HAM uninstall touchsearch, HAM install touchsearch
8. TouchSearch didn't appear anywhere
9. killall hildon-desktop hildon-home hildon-status-menu
10. TouchSearch appeared in desktop. openvpn-applet had it's icon
shown properly (just another side effect of removing icon cache :( )

Status menu widget worked and desktop widget didn't work. I thoght I
had tested this earlier and that desktop widget were working too,
apparently that was not the case.

-- 
Mikko Vartiainen
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Hildon-Desktop: added Widget not shown

2010-01-11 Thread Thomas Waelti
Hello all

I've uploaded an alpha version of my shutter home widget (IR shutter for 
Nikon DSLR) to extras-devel.
Functionaly, it works. But now I have a small problem in my installer that I'm 
unable to resolve:
After running the deb, the widget gets installed. It can then be added to the 
desktop by the user through the normal Desktop Config  Add Widget process. It 
shows up in the list and is selectable. But then it does not show up on the 
desktop!

However, once the device is rebooted, the added widget is cleary visible and 
works well.

Now I really don't want to forece my users to reboot just because of a widget.
Therefore my question: what am I missing? Any special postinstall script to run?

Or is it a problem of my .desktop file?

[Desktop Entry]
Name=shutter
Comment=Issues a single IR command using LIRC
Type=python
X-Path=shutter.py
X-Multiple=true


Thanks for any help
-Tom






___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Hildon-Desktop: added Widget not shown

2010-01-11 Thread Thomas Waelti
(Resent with correct time/date)

Hello all

I've uploaded an alpha version of my shutter home widget (IR shutter for 
Nikon DSLR) to extras-devel.
Functionaly, it works. But now I have a small problem in my installer that I'm 
unable to resolve:
After running the deb, the widget gets installed. It can then be added to the 
desktop by the user through the normal Desktop Config  Add Widget process. It 
shows up in the list and is selectable. But then it does not show up on the 
desktop!

However, once the device is rebooted, the added widget is cleary visible and 
works well.

Now I really don't want to forece my users to reboot just because of a widget.
Therefore my question: what am I missing? Any special postinstall script to run?

Or is it a problem of my .desktop file?

[Desktop Entry]
Name=shutter
Comment=Issues a single IR command using LIRC
Type=python
X-Path=shutter.py
X-Multiple=true


Thanks for any help
-Tom






___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Hildon-Desktop: added Widget not shown

2010-01-11 Thread Anderson Lizardo
On Mon, Jan 14, 2008 at 7:13 PM, Thomas Waelti twae...@gmail.com wrote:
 Hello all

 I've uploaded an alpha version of my shutter home widget (IR shutter for 
 Nikon DSLR) to extras-devel.
 Functionaly, it works. But now I have a small problem in my installer that 
 I'm unable to resolve:
 After running the deb, the widget gets installed. It can then be added to the 
 desktop by the user through the normal Desktop Config  Add Widget process. 
 It shows up in the list and is selectable. But then it does not show up on 
 the desktop!

 However, once the device is rebooted, the added widget is cleary visible and 
 works well.

 Now I really don't want to forece my users to reboot just because of a widget.
 Therefore my question: what am I missing? Any special postinstall script to 
 run?

Your applet might be crashing for some reason on first load. Can you
test it on Scratchbox/X86 (using Xephyr) and tell us if you are able
to reproduce the problem there?  If yes, you might try to debug the
crash by looking at the messages printed by hildon-desktop.

 Or is it a problem of my .desktop file?

 [Desktop Entry]
 Name=shutter
 Comment=Issues a single IR command using LIRC
 Type=python
 X-Path=shutter.py
 X-Multiple=true

Except for this X-Multiple entry (which I don't know what is) I
don't see a problem with it.

Regards,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers