Package: debianutils Version: 2.25.1 Severity: normal Tags: patch Hi,
When DISPLAY and GNOME_DESKTOP_SESSION_ID is defined, sensible-browser tries to execute /usr/bin/gnome-www-browser, and then tries to execute /usr/bin/gnome-terminal -e "/usr/bin/www-browser \"$URL\"". However, this behaviour doesn't work correctly because some browser (e.g. iceweasel) doesn't provides /usr/bin/gnome-www-browser. A package that provides gnome-www-browser is probably as follow: $ aptitude search ~DProvides:gnome-www-browser p epiphany-gecko - Intuitive GNOME web browser - Gecko versio p epiphany-webkit - Intuitive GNOME web browser - webkit versi p galeon - GNOME web browser for advanced users p icedove-gnome-support - Support for Gnome in Icedove p iceweasel-gnome-support - Support for Gnome in Iceweasel The browser I have installed is only iceweasel without iceweasel-gnome-support, so www-browser in gnome-terminal will be open when I execute sensible-browser. I think it would be nice to change the behaviour as follow: Check if gnome-www-browser is available, and execute it if it available. *Check if x-www-browser is available, and execute it if it available.* Finally, execute www-browser in gnome-terminal. Here is a patch: --- sensible-browser.orig 2007-10-17 12:32:26.000000000 +0900 +++ sensible-browser 2007-10-17 12:32:56.000000000 +0900 @@ -30,6 +30,8 @@ if test -n "$GNOME_DESKTOP_SESSION_ID"; then if test -x /usr/bin/gnome-www-browser; then exec /usr/bin/gnome-www-browser "$URL" + elif test -x /usr/bin/x-www-browser; then + exec /usr/bin/x-www-browser "$URL" elif test -x /usr/bin/gnome-terminal && test -x /usr/bin/www-browser; then exec /usr/bin/gnome-terminal -e "/usr/bin/www-browser \"$URL\"" fi Regards, -- Morita Sho -- System Information: Debian Release: lenny/sid Architecture: i386 (i686) Kernel: Linux 2.6.22-2-k7 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages debianutils depends on: ii libc6 2.6.1-5 GNU C Library: Shared libraries debianutils recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]