Re: [Om2008.9] using qtmail on command line

2008-10-16 Thread Max Giesbert
hi matthias,

i just updated the wiki page you referred to. i managed to initiate a
call. the sms functionality must be quite similar.

good luck


max


Matthias Apitz schrieb:
 El día Wednesday, October 15, 2008 a las 02:55:30PM +0200, Max Giesbert 
 escribió:
 
 hi matthias,

 have you considered using the dbus interface of FSO for this purpose?

 cheers
 
 Hello Max,
 
 Do you have a bit more information about that? I went to the Wiki page
 about D-Bus: http://wiki.openmoko.org/wiki/D-Bus but this is outdated or
 incomplete (again); I've played around with this:
 
 # dbus-send --print-reply --dest=org.openmoko.Dialer /org/openmoko/Dialer 
 org.openmoko.Dialer.Dial string:08961308351
 Failed to open connection to session message bus: dbus-launch failed to
 autolaunch D-Bus session: Autolaunch requested, but X11 support not
 compiled in.
 Cannot continue.
 
 # export 
 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-GJbsqe78BO,guid=c08c2c056c7ef84e3fc4a09048f59782
 
 (the DBUS_SESSION_BUS_ADDRESS I've got by just doing 'cat /proc/*/environ | 
 fgrep DBUS')
 
 # dbus-send --print-reply --dest=org.openmoko.Dialer /org/openmoko/Dialer 
 org.openmoko.Dialer.Dial string:08961308351
 Error org.freedesktop.DBus.Error.ServiceUnknown: The name
 org.openmoko.Dialer was not provided by any .service files
 
 So, now I'm lost :-(
 
 Thx
 
   matthias

-- 
exactt technology
Dipl. Inf. (FH) Max Giesbert

Schießstättstr. 16  T: +49 17 75 07 53 44
D-80339 München F: +49 89 1 22 21 97 02

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


[Om2008.9] using qtmail on command line

2008-10-15 Thread Matthias Apitz

Hello,

I figured out that 'qtmail' is the application for sending SMS (and
other messages); is there a way to SSH to the FR and send a SMS from
the command line, for example like:

$ ssh [EMAIL PROTECTED]

[EMAIL PROTECTED]:~# qtmail +491704527211 Hello World

or even:

[EMAIL PROTECTED]:~# qtmail +491704527211  file

That would be nice, I think

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows

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


Re: [Om2008.9] using qtmail on command line

2008-10-15 Thread Max Giesbert
hi matthias,

have you considered using the dbus interface of FSO for this purpose?

cheers


max


Matthias Apitz schrieb:
 Hello,
 
 I figured out that 'qtmail' is the application for sending SMS (and
 other messages); is there a way to SSH to the FR and send a SMS from
 the command line, for example like:
 
 $ ssh [EMAIL PROTECTED]
 
 [EMAIL PROTECTED]:~# qtmail +491704527211 Hello World
 
 or even:
 
 [EMAIL PROTECTED]:~# qtmail +491704527211  file
 
 That would be nice, I think
 
   matthias

-- 
exactt technology
Dipl. Inf. (FH) Max Giesbert

Schießstättstr. 16  T: +49 17 75 07 53 44
D-80339 München F: +49 89 1 22 21 97 02

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


Re: [Om2008.9] using qtmail on command line

2008-10-15 Thread Matthias Apitz
El día Wednesday, October 15, 2008 a las 02:55:30PM +0200, Max Giesbert 
escribió:

 hi matthias,
 
 have you considered using the dbus interface of FSO for this purpose?
 
 cheers

Hello Max,

Do you have a bit more information about that? I went to the Wiki page
about D-Bus: http://wiki.openmoko.org/wiki/D-Bus but this is outdated or
incomplete (again); I've played around with this:

# dbus-send --print-reply --dest=org.openmoko.Dialer /org/openmoko/Dialer 
org.openmoko.Dialer.Dial string:08961308351
Failed to open connection to session message bus: dbus-launch failed to
autolaunch D-Bus session: Autolaunch requested, but X11 support not
compiled in.
Cannot continue.

# export 
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-GJbsqe78BO,guid=c08c2c056c7ef84e3fc4a09048f59782

(the DBUS_SESSION_BUS_ADDRESS I've got by just doing 'cat /proc/*/environ | 
fgrep DBUS')

# dbus-send --print-reply --dest=org.openmoko.Dialer /org/openmoko/Dialer 
org.openmoko.Dialer.Dial string:08961308351
Error org.freedesktop.DBus.Error.ServiceUnknown: The name
org.openmoko.Dialer was not provided by any .service files

So, now I'm lost :-(

Thx

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows

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


Re: [Om2008.9] using qtmail on command line

2008-10-15 Thread William Kenworthy
There was something posted a few weeks back on how to do this.  I just
searched my (incomplete) archive and cant find it - but it can be done!
It was one of the OM guys I think ...

Sorry, not much help other than confirmation it can be done :)
BillK

On Wed, 2008-10-15 at 14:33 +0200, Matthias Apitz wrote:
 Hello,
 
 I figured out that 'qtmail' is the application for sending SMS (and
 other messages); is there a way to SSH to the FR and send a SMS from
 the command line, for example like:
 
 $ ssh [EMAIL PROTECTED]
 
 [EMAIL PROTECTED]:~# qtmail +491704527211 Hello World
 
 or even:
 
 [EMAIL PROTECTED]:~# qtmail +491704527211  file
 
 That would be nice, I think
 
   matthias
-- 
William Kenworthy [EMAIL PROTECTED]
Home in Perth!


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


Re: [Om2008.9] using qtmail on command line

2008-10-15 Thread Marco Trevisan (Treviño)
Matthias Apitz wrote:
 I figured out that 'qtmail' is the application for sending SMS (and
 other messages); is there a way to SSH to the FR and send a SMS from
 the command line, for example like:
 [EMAIL PROTECTED]:~# qtmail +491704527211 Hello World

I don't really know if there's a way to do it, btw an Italian user found
a workaround for this. The article [1] is written in Italian but the
code (in python) should be easy to understand.
If I'm not remembering wrong, using D-bus, is possible to retrieve only
SMSs and calls (not to send).

[1] http://gecco.wordpress.com/2008/10/13/openmoko-spedire-sms-da-terminale/


-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


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