770hax

Stuff to do on the Nokia 770

&
 

Aug 20 2007

adding new icons to the menu

Published by 4d770 at 3:54 pm under Uncategorized Edit This

Other threads and a blog entry have described this, but neither of the instructions were complete (at least they didn’t work for me).

You need to make two new files for each link you want.

One goes in /usr/share/applications/hildon
The other goes in /etc/others-menu/extra-applications

The names have a certain format as well:
The first one you create in /etc/others-menu/extra-applications should have the number 0302 at the beginning of it, like so:
0302_mynewapp.desktop
From then on, increment by 1. (0303_nextnewapp.desktop )

The matching file in /usr/share/applications/hildon should have the same name, minus the number:
/usr/share/applications/hildon/mynewapp.desktop

Each file contains the same syntax that goes like so:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=MyNewApp
Comment=my app does this.
Exec=/usr/bin/mynewapp
Icon=terminal
Terminal=True
Type=Application
Categories=System;TerminalEmulator;
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

Change the Name and Comment field to whatever you want. The Exec field must contain the full path to your script/binary or it won’t work.

SO, to summarize :)):

$ sudo gainroot

# nano /usr/share/applications/hildon/mynewapp.desktop

(copy above and modify)

# cp /usr/share/applications/hildon/mynewapp.desktop \ /etc/others-menu/extra-applications/0302_mynewapp.desktop

# reboot

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
Possibly-related Articles:                                        (auto-generated)

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.
Not A Member? Register for Free!