+ newtype=window + PATH=/usr/bin:/bin:/usr/X11R6/bin:/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/opt/Acrobat5:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.2/bin:/usr/games/bin:/opt/vmware/bin:/home/pvarner/bin:. + main http://google.com/ + local args mozargs urls u i + local candidates retval=0 + which_browser + local zero=firefox + export MOZILLA_FIVE_HOME=/usr/lib/MozillaFirefox + MOZILLA_FIVE_HOME=/usr/lib/MozillaFirefox + remote=/usr/lib/MozillaFirefox/mozilla-xremote-client + mozbin=/usr/lib/MozillaFirefox/firefox-bin + grepfor=Firefox-bin + prefs=/home/pvarner/.phoenix + [[ -n /usr/lib/MozillaFirefox/firefox-bin ]] + [[ ! -f /usr/lib/MozillaFirefox/firefox-bin ]] + [[ -z /usr/lib/MozillaFirefox/firefox-bin ]] + [[ ! -f /usr/lib/MozillaFirefox/firefox-bin ]] + export LD_LIBRARY_PATH=/usr/lib/MozillaFirefox:/usr/lib/MozillaFirefox/plugins + LD_LIBRARY_PATH=/usr/lib/MozillaFirefox:/usr/lib/MozillaFirefox/plugins + return 0 + parse_cmdline http://google.com/ + args=() + mozargs=() + urls=() + [[ 1 -ne 0 ]] + [[ http://google.com/ == -* ]] + [[ http://google.com/ == *://*/* ]] + urls=("${urls[@]}" "$1") + shift + [[ 0 -ne 0 ]] + return 0 + [[ 1 -eq 0 ]] + find_running + local screens s + screens=("$DISPLAY" $(xdpyinfo | awk ' /^name of display:/ { disp = substr($NF, 0, match($NF, /\.[^.]*$/)-1) } /^number of screens:/ { for (i = 0; i < $NF; i++) { this = sprintf("%s.%d", disp, i) if (this != ENVIRON["DISPLAY"]) print this } }')) ++ xdpyinfo ++ awk ' /^name of display:/ { disp = substr($NF, 0, match($NF, /\.[^.]*$/)-1) } /^number of screens:/ { for (i = 0; i < $NF; i++) { this = sprintf("%s.%d", disp, i) if (this != ENVIRON["DISPLAY"]) print this } }' + [[ :0 == :* ]] + candidates=() + DISPLAY=:0 + xwininfo -root -tree + grep -q Firefox-bin + candidates=("${candidates[@]}" "$s") + grep -q Firefox-bin + DISPLAY=:0.0 + xwininfo -root -tree + candidates=("${candidates[@]}" "$s") + set -- + [[ 0 -gt 0 ]] + [[ 0 -gt 0 ]] + try_running 'ping()' + local s retval + [[ 2 > 0 ]] + /usr/lib/MozillaFirefox/mozilla-xremote-client + grep -Fq '[-a ' + [[ :0 == :* ]] + [[ -z '' ]] + DISPLAY=:0 + fake_user + local id + set_logname + : pvarner + : pvarner + export LOGNAME ++ xwininfo -root -tree ++ awk -v gf=Firefox-bin '$0~gf{print $1}' ++ xprop -notype -id 0x2a005ef + local 'props=WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified size: 200 by 200 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a0003e + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified location: 0, 0 program specified minimum size: 0 by 0 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a00451 + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified location: 0, 0 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a0044e + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified location: 0, 0 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a0044b + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified location: 0, 0 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a00448 + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified location: 0, 0 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a00445 + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified location: 0, 0 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a00442 + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified location: 0, 0 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a0043f + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified location: 0, 0 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a0043c + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified location: 0, 0 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a00056 + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified size: 200 by 200 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a00053 + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified size: 200 by 200 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a00041 + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified size: 200 by 200 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a0003b + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified size: 200 by 200 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a0002d + local 'props=WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified size: 200 by 200 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a00015 + local 'props=_NET_WM_ICON_NAME = _NET_WM_NAME = XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0xbf, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0 _MOTIF_WM_HINTS = 0x2, 0x4162eb0c, 0x1, 0x8155db0, 0xbfffea08 _KDE_NET_WM_USER_CREATION_TIME = 709190 WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = WM_NAME = WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified size: 200 by 200 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a00001 + local 'props=WM_LOCALE_NAME = "C" _KDE_NET_WM_USER_CREATION_TIME = 708650 WM_CLASS = "firefox-bin", "Firefox-bin" WM_CLIENT_MACHINE = "garath" WM_COMMAND = { "/usr/lib/MozillaFirefox/firefox-bin" }' + grep -Fqx '_MOZILLA_USER = "pvarner"' + LOGNAME=firefox-pvarner + DISPLAY=:0 + /usr/lib/MozillaFirefox/mozilla-xremote-client 'ping()' + retval=2 + DISPLAY=:0 + unfake_user + local id + set_logname + : pvarner + : pvarner + export LOGNAME ++ xwininfo -root -tree ++ awk -v gf=Firefox-bin '$0~gf{print $1}' + xprop -notype -id 0x2a005ef + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a0003e + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a00451 + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a0044e + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a0044b + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a00448 + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a00445 + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a00442 + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a0043f + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a0043c + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a00056 + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a00053 + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a00041 + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a0003b + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a0002d + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a00015 + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a00001 + [[ 2 -eq 0 ]] + /usr/lib/MozillaFirefox/mozilla-xremote-client + grep -Fq '[-a ' + [[ :0.0 == :* ]] + [[ -z '' ]] + DISPLAY=:0.0 + fake_user + local id + set_logname + : pvarner + : pvarner + export LOGNAME ++ xwininfo -root -tree ++ awk -v gf=Firefox-bin '$0~gf{print $1}' ++ xprop -notype -id 0x2a005ef + local 'props=WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified size: 200 by 200 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a0003e + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified location: 0, 0 program specified minimum size: 0 by 0 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a00451 + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified location: 0, 0 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a0044e + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified location: 0, 0 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a0044b + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified location: 0, 0 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a00448 + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified location: 0, 0 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a00445 + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified location: 0, 0 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a00442 + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified location: 0, 0 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a0043f + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified location: 0, 0 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a0043c + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified location: 0, 0 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a00056 + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified size: 200 by 200 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a00053 + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified size: 200 by 200 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a00041 + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified size: 200 by 200 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a0003b + local 'props=XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xbf, 0x10, 0x0, 0x0, 0x0 WM_TRANSIENT_FOR: window id # 0x2a0001f WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified size: 200 by 200 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a0002d + local 'props=WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = "firefox-bin" WM_NAME = "firefox-bin" WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified size: 200 by 200 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a00015 + local 'props=_NET_WM_ICON_NAME = _NET_WM_NAME = XdndAware = ARC _MOTIF_DRAG_RECEIVER_INFO = 0x6c, 0x0, 0x5, 0xbf, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0 _MOTIF_WM_HINTS = 0x2, 0x4162eb0c, 0x1, 0x8155db0, 0xbfffea08 _KDE_NET_WM_USER_CREATION_TIME = 709190 WM_CLASS = "firefox-bin", "Firefox-bin" WM_LOCALE_NAME = "C" WM_CLIENT_MACHINE = "garath" WM_ICON_NAME = WM_NAME = WM_CLIENT_LEADER: window id # 0x2a00001 WM_HINTS: Client accepts input or input focus: True Initial state is Normal State. window id # of group leader: 0x2a00001 WM_NORMAL_HINTS: program specified size: 200 by 200 WM_PROTOCOLS: protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS' + grep -Fqx '_MOZILLA_USER = "pvarner"' ++ xprop -notype -id 0x2a00001 + local 'props=WM_LOCALE_NAME = "C" _KDE_NET_WM_USER_CREATION_TIME = 708650 WM_CLASS = "firefox-bin", "Firefox-bin" WM_CLIENT_MACHINE = "garath" WM_COMMAND = { "/usr/lib/MozillaFirefox/firefox-bin" }' + grep -Fqx '_MOZILLA_USER = "pvarner"' + LOGNAME=firefox-pvarner + DISPLAY=:0.0 + /usr/lib/MozillaFirefox/mozilla-xremote-client 'ping()' + retval=2 + DISPLAY=:0.0 + unfake_user + local id + set_logname + : pvarner + : pvarner + export LOGNAME ++ xwininfo -root -tree ++ awk -v gf=Firefox-bin '$0~gf{print $1}' + xprop -notype -id 0x2a005ef + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a0003e + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a00451 + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a0044e + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a0044b + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a00448 + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a00445 + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a00442 + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a0043f + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a0043c + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a00056 + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a00053 + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a00041 + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a0003b + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a0002d + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a00015 + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + xprop -notype -id 0x2a00001 + grep -Fqx '_MOZILLA_USER = "firefox-pvarner"' + [[ 2 -eq 0 ]] + echo 'No running windows found' No running windows found + return 2 + try_start http://google.com/ + /usr/lib/MozillaFirefox/firefox-bin http://google.com/ + set -- http://google.com/ + shift + urls=("$@") + candidates=:0 + args=() + [[ 0 -gt 0 ]] + wait + exit 0