Open GreenLunar opened 10 years ago
Hi @GreenLunar
I'm sorry because of my late reply. Thanks a lot for the .desktop file proposal. I'll try to push it as soon as I can.
Executing $ gphone sip:500@ekiga.net does not call to sip:500@ekiga.net, making the following lines invalid:
Exec=gphone %u
MimeType=x-scheme-handler/sip;
From http://linux.die.net/man/1/ekiga
-c URL
Calls the given URL. Ekiga can be running or not when invoking that option. SIP, H.323 and CALLTO URLs are supported.
When $ gphone sip:500@ekiga.net or $ gphone -c sip:500@ekiga.net would be feasible, this .desktop launcher can be committed as is.
Well. -c, is for "alternative configuration file", so we may use -C.
If you want, we may use two desktop launchers; one launcher (a handler) would be invisible.
gphone.desktop
[Desktop Entry]
Name=gphone Softphone
TryExec=gphone
GenericName=IP Telephony, VoIP and Video Conferencing
Comment=Simple voice-over-IP softphone
StartupNotify=true
Exec=gphone
Icon=gphone
Terminal=false
Type=Application
Categories=GNOME;GTK;Network;Telephony;
Actions=Accept;Deny;Hang;
[Desktop Action Accept]
Exec=gphone --accept
Name=Answer Call
Icon=call-start
[Desktop Action Deny]
Exec=gphone --deny
Name=Deny Call
Icon=call-stop
[Desktop Action Hang]
Exec=gphone --hang
Name=End Call
Icon=call-end
See Desktop Actions at #14.
gphone-handler.desktop
[Desktop Entry]
Name=Call using gphone
TryExec=gphone
GenericName=Call Contact #in future, Call telephone number
Comment=Call to a given contact
StartupNotify=true
Exec=gphone %u
Icon=gphone #or call-start
MimeType=x-scheme-handler/sip;x-scheme-handler/sips;x-scheme-handler/tel;
Terminal=false
Type=Application
NoDisplay=true
Proposed launcher:
From: https://git.gnome.org/browse/ekiga/tree/ekiga.desktop.in.in