View Single Post
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#3
run xterm and type numptyphysics


---------------------------------------------------------------------
to make shortcut to app:




On the N900, it is possible to run a terminal program like ‘top’ directly from the Desktop/Shortcut. substitue numptyphysics for #APPNAME#


1. Use a text-editor to create a file with the following text:


[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=true
Name=#APPNAME#
Exec=/usr/bin/osso-xterm #APPNAME#
Icon=
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable


2. Save the file as "#APPNAME#.desktop"

3. As root, copy the file to the ‘/usr/share/applications/hildon/’ directory. This will create an ugly blue application icon in the Application list.

4. To change icon:

1. Find/create a PNG image of dimension 48×48
2. Name the file #APPNAME#.png
3. Save file to /usr/share/icons/hicolor/48×48/hildon/ (you will need root access)
4. Modify the "#APPNAME#.desktop" file to include the following line. The right side should be the name of file without the .png

Save .desktop file and reboot to see the icon for the shortcut in the Application Menu.
If the icon does not show up, install a couple of apps from the Application Manager. This should update the icon-cache and display it.

Last edited by F2thaK; 2010-01-07 at 10:35.
 

The Following 6 Users Say Thank You to F2thaK For This Useful Post: