Re: [debian] openmoko-panel-plugin v0.6

2008-11-25 Thread Christopher J. White
Hi Sebastian,

Thanks for you work on this.  I just finally got Debian running on my FR
with xfce and I'm trying to get openmoko-panel-plugin to work properly.

I'm running into two problems:

1) Startup

Launching from .xsession doesn't work.  I am running as a non-root user
using the following .xsession:

[EMAIL PROTECTED]:~$ cat .xsession
#!/bin/sh
openmoko-panel-plugin 
zhone 
xfce4-session

I get the following in .xsession-errors:

Traceback (most recent call last):
  File /usr/bin/openmoko-panel-plugin, line 1679, in module
icon = PanelPlugin(dbus_object)
  File /usr/bin/openmoko-panel-plugin, line 78, in __init__
self.configReader()
  File /usr/bin/openmoko-panel-plugin, line 101, in configReader
self.appendIcon(plugin)
  File /usr/bin/openmoko-panel-plugin, line 105, in appendIcon
self.icons.append(GSMIcon(self.dbus, self))
  File /usr/bin/openmoko-panel-plugin, line 668, in __init__
UsageIcon.__init__( self, dbus, Turn on GSM, Turn off GSM,
GSM, parentObject, gsm )
  File /usr/bin/openmoko-panel-plugin, line 524, in __init__
self.resourcestate =
self.dbus.usage_iface.GetResourceState(self.resourcename)
  File /var/lib/python-support/python2.5/dbus/proxies.py, line 68, in
__call__
return self._proxy_method(*args, **keywords)
  File /var/lib/python-support/python2.5/dbus/proxies.py, line 140, in
__call__
**keywords)
  File /var/lib/python-support/python2.5/dbus/connection.py, line 622,
in call_blocking
message, timeout)

After the system is up, I can successfully start openmoko-panel-plugin
manually.

2) Scrolled of the right edge

Once started manually, I can only see the leftmost 1 or two icons.  The
others are off the right side of the screen.  I notice if I change the
panel size to the smallest (16) I see almost all of them, but still
seems to clip off the right, but at this size, its too small to be
useful.  Perhaps the width is not being calculated correctly?

I also notice that when I added wicd for wireless, which adds another
icon, it pushed openmoko-panel-plugin icons further to the right.

Here's the package I'm working with:

[EMAIL PROTECTED]:~$ apt-cache showpkg openmoko-panel-plugin
Package: openmoko-panel-plugin
Versions: 
0.6-2
(/var/lib/apt/lists/pkg-fso.alioth.debian.org_debian_dists_unstable_main_binary-armel_Packages)
 (/var/lib/dpkg/status)
 Description Language: 

File: 
/var/lib/apt/lists/pkg-fso.alioth.debian.org_debian_dists_unstable_main_binary-armel_Packages
  MD5: 91e0d1a51beeb04950500e2d038586f4


Reverse Depends: 
  fso-frameworkd,openmoko-panel-plugin 0.5-1.3
Dependencies: 
0.6-2 - fso-frameworkd (0 (null)) python (0 (null)) python-gtk2 (0
(null)) matchbox-keyboard (0 (null)) python-notify (0 (null))
python-dbus (0 (null)) python-cairo (0 (null)) notification-daemon (0
(null)) 
Provides: 
0.6-2 - 
Reverse Provides: 


Thanks
...cj


On Thu, 2008-11-20 at 09:39 +0100, Sebastian Ohl wrote:
 Hi everyone,
 
 after some work we are happy to release a new version of the
 openmoko-panel-plugin (0.6). the openmoko-panel-plugin is a gtk based
 plugin for the nice bars in common windowmanagers like xfce or gnome. it
 shows you status' of i.e. your battery or your gps and i.e. handles
 keyboard applications. 
 
 Changelog:
  porting the software to fso framework milestone 4
 
 this is just a porting release. new features will arrive as soon as
 chris merged his new module structure with the new release.
 
 it can be downloaded from our project page:
 https://projects.openmoko.org/projects/panel-plugin/
 or via the pkg-fso debian repository (apt-get install
 openmoko-panel-plugin)
 
 i hope that all your problems with the old version and the new milestone
 now vanished.
 
 regards
  sebastian
 
 
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian] openmoko-panel-plugin v0.6

2008-11-25 Thread Joachim Breitner
Hi,

Am Dienstag, den 25.11.2008, 16:13 + schrieb Christopher J. White:
 1) Startup
 
 Launching from .xsession doesn't work.  I am running as a non-root user
 using the following .xsession:
 
 [EMAIL PROTECTED]:~$ cat .xsession
 #!/bin/sh
 openmoko-panel-plugin 
 zhone 
 xfce4-session
 
 I get the following in .xsession-errors:
 
 Traceback (most recent call last):
   File /usr/bin/openmoko-panel-plugin, line 1679, in module
 icon = PanelPlugin(dbus_object)
   File /usr/bin/openmoko-panel-plugin, line 78, in __init__
 self.configReader()
   File /usr/bin/openmoko-panel-plugin, line 101, in configReader
 self.appendIcon(plugin)
   File /usr/bin/openmoko-panel-plugin, line 105, in appendIcon
 self.icons.append(GSMIcon(self.dbus, self))
   File /usr/bin/openmoko-panel-plugin, line 668, in __init__
 UsageIcon.__init__( self, dbus, Turn on GSM, Turn off GSM,
 GSM, parentObject, gsm )
   File /usr/bin/openmoko-panel-plugin, line 524, in __init__
 self.resourcestate =
 self.dbus.usage_iface.GetResourceState(self.resourcename)
   File /var/lib/python-support/python2.5/dbus/proxies.py, line 68, in
 __call__
 return self._proxy_method(*args, **keywords)
   File /var/lib/python-support/python2.5/dbus/proxies.py, line 140, in
 __call__
 **keywords)
   File /var/lib/python-support/python2.5/dbus/connection.py, line 622,
 in call_blocking
 message, timeout)

this is not a full backtrace, the important bit is missing at the end
(the exception).

 After the system is up, I can successfully start openmoko-panel-plugin
 manually.

Yesterday I uploaded a version (0.6-2.1) with a crude hack to hopefully
avoid this – please try again with that.

 2) Scrolled of the right edge
 
 Once started manually, I can only see the leftmost 1 or two icons.  The
 others are off the right side of the screen.  I notice if I change the
 panel size to the smallest (16) I see almost all of them, but still
 seems to clip off the right, but at this size, its too small to be
 useful.  Perhaps the width is not being calculated correctly?
 
 I also notice that when I added wicd for wireless, which adds another
 icon, it pushed openmoko-panel-plugin icons further to the right.
 
 Here's the package I'm working with:
 
 [EMAIL PROTECTED]:~$ apt-cache showpkg openmoko-panel-plugin
 Package: openmoko-panel-plugin
 Versions: 
 0.6-2
 (/var/lib/apt/lists/pkg-fso.alioth.debian.org_debian_dists_unstable_main_binary-armel_Packages)
  (/var/lib/dpkg/status)
  Description Language: 
 
 File: 
 /var/lib/apt/lists/pkg-fso.alioth.debian.org_debian_dists_unstable_main_binary-armel_Packages
   MD5: 91e0d1a51beeb04950500e2d038586f4


Maybe the notification area applet in your xfce-panel is just too far to
the right?

Greetings,
Joachi

-- 
Joachim nomeata Breitner
Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian] openmoko-panel-plugin v0.6

2008-11-25 Thread arne anka
 2) Scrolled of the right edge

you need to fiddle with the settings of your panel, i remember having the  
issue a long while ago and that to fix i needed to change a value for size  
or so.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian] openmoko-panel-plugin v0.6

2008-11-25 Thread arne anka
 Yesterday I uploaded a version (0.6-2.1) with a crude hack to hopefully
 avoid this – please try again with that.

what did you do? i had no spare time last weekend to look further in this,  
but intended to do the upcoming one.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian] openmoko-panel-plugin v0.6

2008-11-25 Thread Christopher J. White
Answers inline below, thanks...

On Tue, 2008-11-25 at 17:38 +0100, Joachim Breitner wrote:
 Hi,
 
  Traceback (most recent call last):
File /usr/bin/openmoko-panel-plugin, line 1679, in module
  icon = PanelPlugin(dbus_object)
File /usr/bin/openmoko-panel-plugin, line 78, in __init__
  self.configReader()
File /usr/bin/openmoko-panel-plugin, line 101, in configReader
  self.appendIcon(plugin)
File /usr/bin/openmoko-panel-plugin, line 105, in appendIcon
  self.icons.append(GSMIcon(self.dbus, self))
File /usr/bin/openmoko-panel-plugin, line 668, in __init__
  UsageIcon.__init__( self, dbus, Turn on GSM, Turn off GSM,
  GSM, parentObject, gsm )
File /usr/bin/openmoko-panel-plugin, line 524, in __init__
  self.resourcestate =
  self.dbus.usage_iface.GetResourceState(self.resourcename)
File /var/lib/python-support/python2.5/dbus/proxies.py, line 68, in
  __call__
  return self._proxy_method(*args, **keywords)
File /var/lib/python-support/python2.5/dbus/proxies.py, line 140, in
  __call__
  **keywords)
File /var/lib/python-support/python2.5/dbus/connection.py, line 622,
  in call_blocking
  message, timeout)
 
 this is not a full backtrace, the important bit is missing at the end
 (the exception).

doh...sorry:

dbus.exceptions.DBusException: org.freesmartphone.Usage.ResourceUnknown:
Unknown resource GSM

  After the system is up, I can successfully start openmoko-panel-plugin
  manually.
 
 Yesterday I uploaded a version (0.6-2.1) with a crude hack to hopefully
 avoid this – please try again with that.

Will do...

  2) Scrolled of the right edge
  
  Once started manually, I can only see the leftmost 1 or two icons.  ...
 
 
 Maybe the notification area applet in your xfce-panel is just too far to
 the right?

That's quite possible...  I thought of this and dug a little, but found
no references to how to resize the notification area.  I would like it
to be right justified, keeping the right edge at the right side of the
screen and expanding as necessary.

Thanks for your help
...cj


 Greetings,
 Joachi
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian] openmoko-panel-plugin v0.6

2008-11-25 Thread Christian Adams
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Am 25.11.2008 um 17:54 schrieb arne anka:

 Yesterday I uploaded a version (0.6-2.1) with a crude hack to  
 hopefully
 avoid this – please try again with that.

 what did you do? i had no spare time last weekend to look further  
 in this,
 but intended to do the upcoming one.

same question from me ;)
did dl the package, but was unable to find what you did
(our actual devel-version got a _lot_ of changes since 0.6 .. ;) )

ciao,
christian (morlac) adams

- --
- -BEGIN CONTACT BLOCK-
   eMail:   [EMAIL PROTECTED]
   Jabber:  [EMAIL PROTECTED]
- --END CONTACT BLOCK--

- -BEGIN GEEK CODE BLOCK-
Version: 3.1
GCS$/IT;d-;s:;a?;C++(+++);UL;P++(+++);
L++(+++);E---;W++;N(+);o?;K?;!w;!O;!M+;!V;PS(+);PE;
Y+;PGP++;t+(++);5(+)++;X(+);R*;tv-+;b++(+++);DI++;
D++(+++);G(+)++;e;h-()++;r++;y++;
- --END GEEK CODE BLOCK--

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFJLC+vr81gVylJyzERAqjKAJ46ak3Jwfaj3Us8BXCEhLJVNEqXhgCgo2mw
2dC3jxNa7H5AQ1GHG4O02xM=
=zjct
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian] openmoko-panel-plugin v0.6

2008-11-25 Thread Joachim Breitner
Hi,

Am Dienstag, den 25.11.2008, 18:02 +0100 schrieb Christian Adams:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 Am 25.11.2008 um 17:54 schrieb arne anka:
 
  Yesterday I uploaded a version (0.6-2.1) with a crude hack to  
  hopefully
  avoid this – please try again with that.
 
  what did you do? i had no spare time last weekend to look further  
  in this,
  but intended to do the upcoming one.
 
 same question from me ;)
 did dl the package, but was unable to find what you did
 (our actual devel-version got a _lot_ of changes since 0.6 .. ;) )

http://git.debian.org/?p=pkg-fso/openmoko-panel-plugin.git;a=commitdiff;h=8483ec9d709d95e80413ebe3ce916ae131bbedb5

It really was just a crude hack that made it work for me. I’m assuming
you’ll want a proper fix for handling not-yet-existing resources or dbus
names in the release.

Greetings,
Joachim

-- 
Joachim nomeata Breitner
Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[debian] openmoko-panel-plugin v0.6

2008-11-20 Thread Sebastian Ohl
Hi everyone,

after some work we are happy to release a new version of the
openmoko-panel-plugin (0.6). the openmoko-panel-plugin is a gtk based
plugin for the nice bars in common windowmanagers like xfce or gnome. it
shows you status' of i.e. your battery or your gps and i.e. handles
keyboard applications. 

Changelog:
 porting the software to fso framework milestone 4

this is just a porting release. new features will arrive as soon as
chris merged his new module structure with the new release.

it can be downloaded from our project page:
https://projects.openmoko.org/projects/panel-plugin/
or via the pkg-fso debian repository (apt-get install
openmoko-panel-plugin)

i hope that all your problems with the old version and the new milestone
now vanished.

regards
 sebastian




___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community