** Summary changed: - url handler dose not work for notes:// after registration on gconf + URL handler does not work correctly in Firefox after registering in gconf
** Description changed: - After making below configuration, url "notes://XXX" still not be recognized by firefox which works well on Suse - gconftool-2 --makefile-install-rule notes.schemas" - The content of notes.schemas as below - <?xml version="1.0"?> - <gconfschemafile> - <schemalist> - <schema> - <key>/schemas/desktop/gnome/url-handlers/notes/enabled</key> - <applyto>/desktop/gnome/url-handlers/notes/enabled</applyto> - <owner>gnome</owner> - <type>bool</type> - <default>true</default> - <locale name="C"> - <short>Whether the specified command should handle "notes" URLs</short> - <long>True if the command specified in the "command" key should handle "notes" URLs.</long> - </locale> - </schema> + = Problem = - <schema> - <key>/schemas/desktop/gnome/url-handlers/notes/command</key> - <applyto>/desktop/gnome/url-handlers/notes/command</applyto> - <owner>gnome</owner> - <type>string</type> - <default>/opt/ibm/lotus/notes/notes %s</default> - <locale name="C"> - <short>The handler for "notes" URLs</short> - <long>The command used to handle "notes" URLs, if enabled.</long> - </locale> - </schema> + Firefox is no associating with URL handlers set within gconf. These are + typically used for 3rd party applications wishing to associate a + particular URL type, e.g. "notes:///example" to load Lotus Notes and + pass the word example to it. - <schema> - <key>/schemas/desktop/gnome/url-handlers/notes/needs_terminal</key> - <applyto>/desktop/gnome/url-handlers/notes/needs_terminal</applyto> - <owner>gnome</owner> - <type>bool</type> - <default>false</default> - <locale name="C"> - <short>Run the command in a terminal</short> - <long>True if the command used to handle this type of URL should be run in a terminal.</long> - </locale> - </schema> + = Environment = - </schemalist> - </gconfschemafile> + * Ubuntu 12.04 LTS (Precise) + * Firefox 11.0+build1-0ubuntu4 + + = Steps to reproduce = + + Reproducible 100% + + 1. Register a url handler in gconf (example using evince) + + # sudo gconftool-2 -s /desktop/gnome/url-handlers/evince/command '/usr/bin/evince %s' --type String + # sudo gconftool-2 -s /desktop/gnome/url-handlers/evince/enabled --type Boolean true + + 2. Load Firefox + + 3. Try the new handler in Firefox URL bar by typing "evince:///testing". + + 4. See error pop-up: "Firefox doesn't know how to open this address + because the protocol (evince) isn't associated with any program" + + = Other info = + + Mozilla kbase article on setting up URL handlers: + http://kb.mozillazine.org/Register_protocol#Firefox_3.5_and_above -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs