View Single Post
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#21
This is how I did - but I'm sure there are better ways.

1) Learn how to edit files as root (explained elsewhere, most likely in wiki.maemo.org but also in countless threads here) and have an editor (you can install leafpad from repos).

2) open terminal, become root, edit your /usr/share/applications/hildon/nokia-maps.desktop file as follows:
Code:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=mappe
#X-Text-Domain=nokia-maps-core
Exec=/opt/mybin/mappe.sh
Icon=general_map
X-Window-Icon=general_map
X-HildonDesk-ShowInToolbar=true
#X-Osso-Service=NokiaMaps
X-Osso-Type=application/x-executable
Terminal=false
#X-Maemo-Prestarted=none
#X-Maemo-Prestarted-Priority=1000
3) then create a directory for personal executable files
Code:
mkdir /opt/mybin
cd in that directory
Code:
cd /opt/mybin
and create the mappe.sh file, containing
Code:
#!/bin/sh
cd /home/user/MyDocs
/usr/bin/nokia-maps /usr/share/nokia-maps/html/index.html
exit 0
Should be enough
__________________
Ernesto de Bernardis

 

The Following User Says Thank You to debernardis For This Useful Post: