Reply
Thread Tools
Airtux's Avatar
Posts: 133 | Thanked: 51 times | Joined on Jul 2010 @ Swiss
#1
Hello, I search commande line for launch this applications:

-web browser
-e-mail
-contacts
-phone
-conversations

You can help me?

Thanks!
__________________
N900, Maemo 5 - NITDroid/N810 Maemo 4 -- French community: http://forum.maemofrance.fr
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#2
As root in the xterm type:

cd /usr/share/applications/hildon


In that directory is a .desktop file for every icon in your application menu. Just find the one for the app you are asking about and view it with the "cat" command and find the EXEC line. This line shows the command line used to launch that application.
 

The Following 3 Users Say Thank You to cddiede For This Useful Post:
Airtux's Avatar
Posts: 133 | Thanked: 51 times | Joined on Jul 2010 @ Swiss
#3
Thanks, i looks in cd /usr/share/applications/hildon i find just web browser, not found e-mail, contacts, phone, conversations.

help me please.
__________________
N900, Maemo 5 - NITDroid/N810 Maemo 4 -- French community: http://forum.maemofrance.fr
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#4
Originally Posted by Airtux View Post
Thanks, i looks in cd /usr/share/applications/hildon i find just web browser, not found e-mail, contacts, phone, conversations.

help me please.
I'm not sure about contacts or phone, but email is probrably called modest.

All of you app menu's icons ARE in that directory, you just may not know what they are called.

You could try launching an app from it's icon and then typing "top" in an xterm and seeing what applications are most active for the naming.
 
CepiPerez's Avatar
Posts: 1,023 | Thanked: 4,421 times | Joined on Feb 2010 @ Argentina
#5
The best way is usin dbus-send command with the .desktop file in /usr/share/applications/hildon folder as string.

Launch phone application ( rtcom-call-ui.desktop ):
dbus-send --type=method_call --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:rtcom-call-ui

Launch conversations application ( rtcom-messaging-ui.desktop ):
dbus-send --type=method_call --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:rtcom-messaging-ui

Launch email application ( modest.desktop ):
dbus-send --type=method_call --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:modest

Launch contacts application ( osso-addressbook.desktop ):
dbus-send --type=method_call --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication stringsso-addressbook

Launch browser application ( browser.desktop ):
dbus-send --type=method_call --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:browser


Also, you can make a script for this.
Save this as /usr/bin/runapp.sh (or whatever):
Code:
#!/bin/sh
dbus-send --type=method_call --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:"$1"
Now you can do this in x-term:
runapp.sh browser
runapp.sh modest
runapp.sh image-viewer

Last edited by CepiPerez; 2010-11-01 at 19:50.
 

The Following 7 Users Say Thank You to CepiPerez For This Useful Post:
Airtux's Avatar
Posts: 133 | Thanked: 51 times | Joined on Jul 2010 @ Swiss
#6
Nice! i go tested this! thanks

EDIT: Thanks so much! it work!

It's possible to add a button in queen beecon for open the menu?
__________________
N900, Maemo 5 - NITDroid/N810 Maemo 4 -- French community: http://forum.maemofrance.fr

Last edited by Airtux; 2010-11-02 at 03:44.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:24.