View Single Post
Posts: 100 | Thanked: 24 times | Joined on May 2010
#14
Originally Posted by nicolai View Post
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
I did all that but when I go to add the shortcut, it's not there. Any suggestions?

nevermind figured it out, i was missing a comma!

Last edited by myeyegooogles; 2011-02-04 at 00:00.
 

The Following 2 Users Say Thank You to myeyegooogles For This Useful Post: