On Monday 22 August 2005 09:58, Doug Laidlaw wrote:
> Doug Laidlaw wrote:
>
>> Well, it works, but something is making it drop the "%u" from the command
>> line. I thought that it might be msec, but it has happened twice within
>> 24
>> hours. Since the command is "mozilla-firefox" I was thinking of
>> creating an alias from "firefox" to "mozilla-firefox %u", but that sounds
>> very much
>> like a workaround, and it would be specific to the user. There must be a
>> better way?
>>
>> Doug.
>
> The MozillaZine Knowledge Base says that it should be "%U" not "%u".
> Perhaps that is the reason. Well, here goes...
> (I tried creating a shell script to force the %u, but it always went to
> the same page.)
>
> Doug.
I suppose that by "the same page" you mean the "home page". When specifying
%u in KMail and KNode, the %u actually gets interpreted by KDE and sends a
command like:
/home/user/programs/firefox/firefox http://example.com
where %u was replaced by the URL trigerred. Unless you are changing the
deafult browsing client for a Mozilla application (Mail or browser), I am
somewhat lost. Why did you look at the documentation for mozilla? Firefox
and mozilla receive as an argument a URL with the possibility of extra
command-line arguments.
Let me know how it goes...
Roy
--
Roy S. Schestowitz Useless fact: Sharks are immune to cancer
http://Schestowitz.com
|
|