[Bug 980466] Re: URL handler does not work correctly in Firefox after registering in gconf

2012-04-18 Thread Tom Ellis
** 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
-   ownergnome/owner
-   typebool/type
-   defaulttrue/default
-   locale name=C
- shortWhether the specified command should handle notes 
URLs/short
- longTrue 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
-   ownergnome/owner
-   typestring/type
-   default/opt/ibm/lotus/notes/notes %s/default
-   locale name=C
- shortThe handler for notes URLs/short
- longThe 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
-   ownergnome/owner
-   typebool/type
-   defaultfalse/default
-   locale name=C
- shortRun the command in a terminal/short
- longTrue 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
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


[Bug 980466] Re: URL handler does not work correctly in Firefox after registering in gconf

2012-04-18 Thread Tom Ellis
AddonCompatCheckDisabled: False
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
  List of PLAYBACK Hardware Devices 
 card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
ApportVersion: 2.0.1-0ubuntu2
Architecture: amd64
ArecordDevices:
  List of CAPTURE Hardware Devices 
 card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/controlC0:  trellis1653 F pulseaudio
BuildID: 20120410121533
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not 
found.
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfebf irq 45'
   Mixer name   : 'Generic 1af4 ID 20'
   Components   : 'HDA:1af40020,1af40020,00100101'
   Controls  : 1
   Simple ctrls  : 1
Channel: release
DistroRelease: Ubuntu 12.04
ForcedLayersAccel: False
IfupdownConfig:
 auto lo
 iface lo inet loopback
InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Beta amd64 (20120412)
IpRoute:
 default via 192.168.122.1 dev eth0  proto static 
 169.254.0.0/16 dev eth0  scope link  metric 1000 
 192.168.122.0/24 dev eth0  proto kernel  scope link  src 192.168.122.109  
metric 1
IwConfig:
 lono wireless extensions.
 
 eth0  no wireless extensions.
Package: firefox 11.0+build1-0ubuntu4
PackageArchitecture: amd64
Plugins:
 iTunes Application Detector - Lib=librhythmbox-itms-detection-plugin.so, 
Location=/usr/lib/mozilla/plugins
 VLC Multimedia Plugin (compatible Totem 3.0.1) - Lib=libtotem-cone-plugin.so, 
Location=/usr/lib/mozilla/plugins
 DivX® Web Player - Lib=libtotem-mully-plugin.so, 
Location=/usr/lib/mozilla/plugins
 Windows Media Player Plug-in 10 (compatible; Totem) - 
Lib=libtotem-gmp-plugin.so, Location=/usr/lib/mozilla/plugins
 QuickTime Plug-in 7.6.6 - Lib=libtotem-narrowspace-plugin.so, 
Location=/usr/lib/mozilla/plugins
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Profiles: Profile0 (Default) - LastVersion=11.0/20120410121533 (Running)
RfKill:
 
RunningIncompatibleAddons: False
Tags:  precise release-channel
Uname: Linux 3.2.0-23-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 01/01/2007
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: 
dmi:bvnBochs:bvrBochs:bd01/01/2007:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
dmi.product.name: Bochs
dmi.sys.vendor: Bochs


** Tags added: apport-collected precise release-channel

-- 
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

[Bug 980466] Re: URL handler does not work correctly in Firefox after registering in gconf

2012-04-18 Thread Sebastien Bacher
thank you for your bug report, gconf handling of urls has been
deprecated in GNOME3, GNOME3 uses mimetypes for those

** Changed in: gconf (Ubuntu)
   Importance: Undecided = Low

** Changed in: gconf (Ubuntu)
   Status: Confirmed = Invalid

-- 
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


[Bug 980466] Re: URL handler does not work correctly in Firefox after registering in gconf

2012-04-18 Thread Tom Ellis
Thanks Sebastian.

Hi WenLong FENG,

As Sebastian mentions, GNOME3 uses mimetypes instead of gconf for determining 
url handlers.
The changes went into Firefox to support this here: 
https://bugzilla.mozilla.org/show_bug.cgi?id=611953

I'll knock up an example for you.

-- 
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


[Bug 980466] Re: URL handler does not work correctly in Firefox after registering in gconf

2012-04-18 Thread Tom Ellis
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