Re: FVWM: Mozilla titlebar problem

From: Adam Woodworth <adam_at_mirkwood.com>
Date: Wed, 6 Aug 2003 17:29:12 -0400 (EDT)

Thanks Scott.

I'm going to try to use Mozilla Firebird instead, which doesn't have this
problem, and is faster at browsing anyways. Although instead of just
exec'ing the MozillaFirebird program again you have to do a remote
command, like you mentioned for normal Mozilla. This is because running
the MozillaFirebird program again will say you can't run it because the
default profile is in use, and makes you pick a different one. How
annoying.

I use this remote command, which opens up a new blank window:

MozillaFirebird -remote "xfeDoCommand(openBrowser)"

And I use this script to launch Mozilla from an Fvwm menu: (Credits to
Scott for providing the original script that I modified to suit my needs.
I'd forgotten all about the usefulness of the Shell Perl module!)

#!/usr/bin/perl
use Shell;
my $run = qq{/path/to/MozillaFirebird/MozillaFirebird};
# Is mozilla running?
my $is_running = pidof("MozillaFirebird-bin");
chomp($is_running);
if($is_running){
        # Mozilla is running....
        $run .= qq{ -remote "xfeDoCommand(openBrowser)"};
}
exec("$run&");


On Wed, 6 Aug 2003, Scott McWhirter wrote:

> On Wed, Aug 06, 2003 at 04:18:08PM -0400, Adam Woodworth wrote:
> > Using DecorateTransient doesn't fix this, and I can't figure out how to do
> > fix it any other way.
> That's because when mozilla launches a new window it's using the same
> engine in memory, so all windows running from within your 'profile' will
> be linked together.
> It's got to do with the way that mozilla tells the WM about it's
> transient windows... there is no real solution to this...
> however,
>
> when opening a new window (well sorta) try this:
> mozilla -remote 'openWindow($url,new-tab)'
>
> It'll open $url in a new tab within the current mozilla window, and the
> tabs have their own close buttons.
> I have a script to specifically do this:
> http://kungfuftr.com/code/mozilla-decide
>
> have fun!
>
> --
> -Scott McWhirter- | -kungfuftr-
> --
> Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
> To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
> message to majordomo_at_fvwm.org.
> To report problems, send mail to fvwm-owner_at_fvwm.org.
>
>

_______________________________________________________________________
  Adam Woodworth
  SMTP : adam_at_mirkwood.com
  HTTP : http://www.mirkwood.com
  HAM : N1ZNN

--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Aug 06 2003 - 16:30:57 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:55 BST