View Single Post
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#13
A simple shortcut file is enough:
Code:
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Name=SMS to my Friend XY
Exec=python -c 'import dbus; print dbus.Bus().call_blocking("org.freedesktop.Telepathy.AccountManager","/org/freedesktop/Telepathy/Account/ring/tel/ring", "com.nokia.Account.Interface.ChannelRequests","EnsureChannel","a{sv}ts", ({"org.freedesktop.Telepathy.Channel.TargetHandleType":dbus.UInt32(1),"org.freedesktop.Telepathy.Channel.TargetID":"000000000","org.freedesktop.Telepathy.Channel.ChannelType":"org.freedesktop.Telepathy.Channel.Type.Text"},0,""))'
Icon=general_sms
Replace the "Name=SMS to my Friend XY" to whatever you want and
replace the 000000000 with the phone number of your contact.
And then put this file in (name it sms_whatever.desktop)
/usr/share/applications/hildon/

regards
nicolai
 

The Following 6 Users Say Thank You to nicolai For This Useful Post: