Hi WenLong Feng,

A Lotus Notes user opened the following bug which explains what should be 
updated: 
https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/788673

Some further detailed instructions are here:
http://jarrpa.net/2011/10/28/creating-custom-url-handlers-in-
ubuntu-11-04-11-10-gnome-3-0/

Those articles say you should update the 
/usr/share/applications/LotusNotes8.5.desktop file (part of the ibm-lotus-notes 
package):
1. Add an entry: MimeType=x-scheme-handler/notes
2. Ensure Exec= line has a %u at the end

However, the LotusNotes8.5.desktop already uses a variable at the end of
the Exec line so a separate file just for url handling as the user
suggests in the bug mentioned above.

e.g. Create /usr/share/applications/LotusNotes8.5-url.desktop

[Desktop Entry]
Encoding=UTF-8
Name=Lotus Notes 8.5
Type=Application
Exec=/opt/ibm/lotus/notes/framework/../notes %u
Icon=/opt/ibm/lotus/notes/framework/shared/eclipse/features/com.ibm.notes.links.feature_8.5.3.20110916-0921/icons/notes.ico
Terminal=false
MimeType=x-scheme-handler/notes
Categories=Application;Office;
NoDisplay=true

This also uses "NoDisplay=true", this stops the desktop file displaying
in the menus or dash as there is already the LotusNotes8.5.desktop one
there for that.

After run:
# sudo update-desktop-database

This bug is now marked invalid, as the change needs to take place within
your .desktop files.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/980466

Title:
  URL handler does not work correctly in Firefox after registering in
  gconf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gconf/+bug/980466/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to