Re: a small suggestion about initial configuration



Some time ago, boring with this problem, I found a nice
wrapper that does this job pretty well.
Here is the information in the head of the wrapper:
# NSS 1.2 - Netscape Startup Script - Wrapper for Netscape.
# Copyright (C) 1999 by Eon. Feel free to use this script.
# Email: eon@telekabel.nl
# Go to my homepage (http://users.telekabel.nl/eon) for more information,
# a changelog, and installation instructions.
I will start another window if netscape is already running, etc...
I'm very happy using it :)
See you,
Manuel Clos.
Jeremy Teitelbaum wrote:
> 
> Dear Gnome developers,
> 
> This is a very small suggestion regarding the way the distribution
> treats the netscape icon in the panel.
> 
> Currently, clicking on that icon generates a new netscape instance.
> This produces an error.  It's silly to continually quit and restart
> netscape, and it's silly to have an icon on the desktop
> that can only be pressed once.
> 
> I suggest that, in the initial distribution, the netscape launcher
> button on the panel point to something like the following (probably
> you experts can make something more elegant)
> 
> #!/bin/bash
> if ps | grep -v grep | grep -q '/usr/lib/netscape' ;
> then
> netscape -raise -remote 'OpenURL()' ;
> exit ;
> fi ;
> netscape
> 
> This has the effect that clicking on the netscape icon when netscape
> is already running brings up the netscape window with a URL prompt.
> 
> Thanks,
> Jeremy T.
> 
> ================================================================================
> + Jeremy T. Teitelbaum, Professor of Mathematics
> + Department of Mathematics, Statistics and Computer Science (M/C 249)
> + University of Illinois at Chicago
> + SEO 322 / 851 S. Morgan Street
> + Chicago, IL 60607
> + jeremy@uic.edu                             http://raphael.math.uic.edu/~jeremy
> ================================================================================
> 
> --
> To unsubscribe: mail gnome-devel-list-request@gnome.org with "unsubscribe"
> as the Subject.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]