View Single Post
macey's Avatar
Posts: 283 | Thanked: 276 times | Joined on Aug 2011 @ uk or @Pai,Mae Hong Son, Thailand
#37
Can anyone tell me why this doesn't work please?

Code:
<menuitem priority="3" name="Top">                             
   <callback service="com.nokia.HildonDesktop.AppMgr"
   path="/com/nokia/HildonDesktop/AppMgr"                                       
   interface="com.nokia.HildonDesktop.AppMgr"     
   method="LaunchApplication" bus="session"                                  
   autostart="true">                                           
   <argument type="string">top</argument>             
   </callback>                         
 </menuitem>
Pleasy please...

Doesn't do anything (menu item is there).
Other method (bringing up two x-terms ) works ok though..

Maybe I need to create a top.desktop item in order to use this method?

Ok, created top.desktop :-

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=true
Name=Top
Exec=osso-xterm 'sudo top'
#Icon=softrestart
X-HildonDesk-ShowInToolbar=false
X-Osso-Type=application/x-executable

This works ok, I just wanted a solution that didn't create an "Item" in the "Desktop Application" list (or whatever the proper name is).
Is this possible?

Last edited by macey; 2012-08-11 at 16:07. Reason: Partial fix.