We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2014-09-24 22:09:00 +0200 |
I come from the N9 and had a little *.desktop file there that allowed me to call a certain number by tapping an icon from the launcher. I tried to copy its behavior like so:
[Desktop Entry]
Name=Order Pizza
Comment=Tap when hungry
Icon=/home/nemo/Pictures/pizza.png
Exec=gdbus call -e -d com.jolla.voicecall.ui -o / -m com.jolla.voicecall.ui.dial '0199999999'
Terminal=false
Type=Application
Categories=Utility;
This will call the number '0199999999' immediately after I touched the icon. Nice, but not always what I want.
I'd like to have two additional possibilities:
Or, as an alternative to point 2, just call the contact card by using the name or any other parameter that will do.
The question might seem odd given I already have got dbus magic working... problem is I have not the faintest idea what I did there with gdbus. IIRC, I found it in some IRC logs and copypasted it without really knowing what it is. :)
Anyone here who could help me with 1. or 2. or both? :)
2 | No.2 Revision |
I come from the N9 and had a little *.desktop file there that allowed me to call a certain number by tapping an icon from the launcher. I tried to copy its behavior like so:
[Desktop Entry]
Name=Order Pizza
Comment=Tap when hungry
Icon=/home/nemo/Pictures/pizza.png
Exec=gdbus call -e -d com.jolla.voicecall.ui -o / -m com.jolla.voicecall.ui.dial '0199999999'
Terminal=false
Type=Application
Categories=Utility;
(File is pizza.desktop and is lives in /home/nemo/.local/share/applications/)
This will call the number '0199999999' immediately after I touched the icon. Nice, but not always what I want.
I'd like to have two additional possibilities:
Or, as an alternative to point 2, just call the contact card by using the name or any other parameter that will do.
The question might seem odd given I already have got dbus magic working... problem is I have not the faintest idea what I did there with gdbus. IIRC, I found it in some IRC logs and copypasted it without really knowing what it is. :)
Anyone here who could help me with 1. or 2. or both? :)