It’s very easy after googling…
$ cd /usr/share/applications
$ sudo cp LotusNotes8.5.desktop LotusNotes8.5-url.desktop
$ sudo vi LotusNotes8.5-url.desktop
The example:
[Desktop Entry]
Encoding=UTF-8
Name=Lotus Notes 8.5 Url
Type=Application
Exec=/opt/ibm/lotus/notes/framework/../notes-wrapper %u
Icon=/opt/ibm/lotus/notes/framework/shared/eclipse/features/com.ibm.notes.links.feature_8.5.4.20120906-1255/icons/notes.ico
Terminal=false
MimeType=x-scheme-handler/notes
Categories=Application;Office;
NoDisplay=true
$ sudo update-desktop-database
Versions:
- Ubuntu 12.04.2 LTS x86_64
- IBM Lotus Notes 8.5.4 x86
Reference: Comment 2 for bug 788673 – unable to open link with custom url-handlers