[TriLUG] "new" Gnome question

Alan Porter porter at trilug.org
Fri Sep 18 14:14:58 EDT 2009


This might help the tab-vs-new-window problem...


System / Preferences / Preferred Applications

In the "internet" tab, there is a setting for web browser.  You
can choose (1) open link with web browser default (2) open link
in a new window (3) open in a new tab (4) custom command.

I have chosen (4), with my command as:
/home/alan/bin/firefox.sh %s

That script looks like this:

#!/bin/bash
url_arg="$1"
if [ "x$url_arg" = "x" ]; then
   url_arg="about:blank"
fi
#firefox -new-window "$url_arg"
firefox -new-tab "$url_arg"


Alan





More information about the TriLUG mailing list