We have moved to a new Sailfish OS Forum. Please start new discussions there.

[Request] Ability to use phone functionality from terminal

asked 2014-05-24 19:03:18 +0300

Xiph gravatar image

updated 2014-08-12 11:16:10 +0300

eric gravatar image

It would have been nice to have the possibility to e.g. send an sms or make a phone call by accessing the phone through ssh.

I know this is already possible by utilizing the dbus, but then you miss half of the cake. For example, if you send an sms by the use of dbus, your sms won't be stored in the history of the person whom you're sending the sms to. If the applications that constitutes the main functionality of the phone, i.e., calling, sending sms and so on, is developed by the use of the MVC model (or similar), it shouldn't be to complicated to make a view for the terminal, right?

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted

answered 2014-05-24 19:39:42 +0300

Aard gravatar image

updated 2014-05-24 20:04:40 +0300

To some extend this is possible:

xdg-open 'sms:+12345?body=foo%20bar'

will open the messages application for a SMS to number 12345, prefilled with the message specified after body.

xdg-open tel:+12345

will open a dialog asking you to allow or reject calling to 12345. The confirmation by the user to actually send the SMS or do the call is intentional to avoid abuse.

edit flag offensive delete publish link more


nice, first command seems to be broken though

Xiph ( 2014-05-24 19:58:16 +0300 )edit

There was a : missing, fixed

Aard ( 2014-05-24 20:04:56 +0300 )edit

I can see why the last step i blocked. But I'd like to "abuse" this from apps that are under my control. And it's already possible to actually send a SMS. It's just doing it through the messaging app (which leaves traces) that's blocked.

evk ( 2014-05-25 23:32:54 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2014-05-24 19:03:18 +0300

Seen: 387 times

Last updated: May 24 '14