Bug#649223: [Pkg-xfce-devel] Bug#649223: exo-utils: exo-open does not handle file:/// URLs correctly
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Fri, Jan 25, 2013 at 02:18:47AM -0800, redomen wrote: > Package: exo-utils > Version: 0.6.2-5 > Followup-For: Bug #649223 > > Same problem here using XFCE with rox-filer. > For example running exo-open file:///home/ sends the full url to the browser > which doesn't understand the 'file://' part. gnome-open however strips that > out and properly sends just the directory. Well, my first though is that if your file manager doesn't support file:// scheme, that's its fault and you shouldn't try to give it that kind of stuff. Maybe a different handler could be shipped for the various file managers not correctly handling the scheme. Regards, - -- Yves-Alexis -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAEBCgAGBQJRA8NOAAoJEG3bU/KmdcClc2cIAJtGKwRQNzRAMGzIf6tn/bwd uyOwPJ73Ol/7wqh9kT8U5cidzWYDLb/aGjxbDpoTKfAlwaWyQXWrqtVXPyKYKn1R hhjTaxkJ5KM+BjAMYumIzvteXTWQZYPJpVEOTe/mZz8NCCgA20w/VxF4wfcvg+wT +bj40MKduA74NI/uLIxNKozYiMhaelnKECHjTbBVs/zIb0Z03R9EqYL/iIz+OQhu tOuvpCpdQvzJuZ7mfjTf4fxa1aYN1MysI4UJaH2dTtdXODvIqN7J0Z3DTvB9vX4c DPHc5KgX8Ax0Ni7sIU0mA0D7TDlDkDPCpghg18ocM9ILCXAjrdPXDKsASCVGWVc= =gFSF -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#649223: exo-utils: exo-open does not handle file:/// URLs correctly
Package: exo-utils Version: 0.6.2-5 Followup-For: Bug #649223 Same problem here using XFCE with rox-filer. For example running exo-open file:///home/ sends the full url to the browser which doesn't understand the 'file://' part. gnome-open however strips that out and properly sends just the directory. -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.6.7a (SMP w/4 CPU cores; PREEMPT) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages exo-utils depends on: ii libatk1.0-0 2.4.0-2 ii libc6 2.13-37 ii libexo-1-0 0.6.2-5 ii libgdk-pixbuf2.0-0 2.26.1-1 ii libglib2.0-02.33.12+really2.32.4-3 ii libgtk2.0-0 2.24.10-2 ii libpango1.0-0 1.30.0-1 ii libxfce4util4 4.8.2-1 exo-utils recommends no packages. exo-utils suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#649223: [Pkg-xfce-devel] Bug#649223: exo-utils: exo-open does not handle file:/// URLs correctly
On ven., 2011-11-18 at 18:09 -0600, Robert Bordelon wrote: > Package: exo-utils > Version: 0.6.2-3 > Severity: normal > > Currently I have the following preferred applications configured (using > exo-preferred-applications) : > > Web Browser: Debian Sensible Browser > Mail Reader: Icedove > File Manager: Thunar > Terminal Emulator: Xfce Terminal > > When I manually run exo-open with a URL that starts with 'http://"; it works as > expected and opens the Debian Sensible Browser (Iceweasel in my case.) > However, > attempts to execute exo-open with a URL that starts with 'file:///', fails > with > the following error dialog: > > = > Failed to open URI "file:///path/to/file.ext". > > Failed to execute child process "epiphany- > browser" (No such file or directory). > == > > The "No such file or directory" part of the error message is correct as I do > not have epiphany installed on my system. > > Executing sensible-browser instead of exo-open works correctly with either > http:// or file:/// urls. > > I would expect exo-open to start the configured web browser (or possibly the > file manager in the case of file:/// urls.) It should definitely never try to > launch a browser which is not installed. > > As a workaround, I've discovered that if I create a symbolic link > /usr/local/bin/epiphany-browser which points to /usr/bin/sensible-browser, > exo- > open works as expected for file:/// urls (at least as I expect it since I want > file:/// URLS to appear in a browser.) > > Could you run: strace -o exo.log -f exo-open file:///path/to/file.ext and attach exo.log? Regards, -- Yves-Alexis signature.asc Description: This is a digitally signed message part
Bug#649223: exo-utils: exo-open does not handle file:/// URLs correctly
Package: exo-utils Version: 0.6.2-3 Severity: normal Currently I have the following preferred applications configured (using exo-preferred-applications) : Web Browser: Debian Sensible Browser Mail Reader: Icedove File Manager: Thunar Terminal Emulator: Xfce Terminal When I manually run exo-open with a URL that starts with 'http://"; it works as expected and opens the Debian Sensible Browser (Iceweasel in my case.) However, attempts to execute exo-open with a URL that starts with 'file:///', fails with the following error dialog: = Failed to open URI "file:///path/to/file.ext". Failed to execute child process "epiphany- browser" (No such file or directory). == The "No such file or directory" part of the error message is correct as I do not have epiphany installed on my system. Executing sensible-browser instead of exo-open works correctly with either http:// or file:/// urls. I would expect exo-open to start the configured web browser (or possibly the file manager in the case of file:/// urls.) It should definitely never try to launch a browser which is not installed. As a workaround, I've discovered that if I create a symbolic link /usr/local/bin/epiphany-browser which points to /usr/bin/sensible-browser, exo- open works as expected for file:/// urls (at least as I expect it since I want file:/// URLS to appear in a browser.) -- System Information: Debian Release: wheezy/sid APT prefers testing-proposed-updates APT policy: (500, 'testing-proposed-updates'), (500, 'proposed-updates'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages exo-utils depends on: ii libatk1.0-0 2.2.0-2 ii libc6 2.13-21 ii libexo-1-0 0.6.2-3 ii libgdk-pixbuf2.0-0 2.24.0-1 ii libglib2.0-0 2.28.8-1 ii libgtk2.0-0 2.24.7-1 ii libpango1.0-0 1.29.4-2 ii libxfce4util4 4.8.2-1 exo-utils recommends no packages. exo-utils suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org