From 95d9fe9d5f29fb44adefdc643240cdf50803b215 Mon Sep 17 00:00:00 2001 From: Fabien Benetou Date: Wed, 13 Jul 2011 23:08:58 +0200 Subject: [PATCH] using the browser abstraction --- shell_scripts/ratp_now | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell_scripts/ratp_now b/shell_scripts/ratp_now index fbc4927..87fc0ba 100755 --- a/shell_scripts/ratp_now +++ b/shell_scripts/ratp_now @@ -10,5 +10,5 @@ TIME=`date +%H:%M` START=`echo $1|tr " " "+"` END=`echo $2|tr " " "+"` -# should instead call the default browser -firefox --new-tab http://www.ratp.fr/itineraires/fr/ratp/resultat-simple/$START/$END/is_date_start/1/date/$DATE/time/$TIME/route_type/plus_rapide +# replace by xdg-open or directly by your browser (e.g. firefox --new-tab) if required +sensible-browser http://www.ratp.fr/itineraires/fr/ratp/resultat-simple/$START/$END/is_date_start/1/date/$DATE/time/$TIME/route_type/plus_rapide