You are not logged in.

1

Friday, April 20th 2007, 10:12pm

Use browser-start-script as "default browser"

Hi,

i've the following problem. I'm using a script to set some varaiables, do som work and start firefox. Now i want to use this script as my default browser. My problem is that i wasn't able to pass the URL properly. At first i thought it would be enough to just pass the parameter to firefox:

#!/bin/sh -e
[...]
firefox $1

But this resulted in firefox displaying "file:///var/tmp/kdecache-gedinixan/krun/10599.0.". Can somebody explain to me how KDE calls the browser and what i need to do to get my script to work?

2

Sunday, April 22nd 2007, 10:22am

you need to tell KDE that the script can url adresses. You can do that by entering the argument %U to the command.
Help mee om KDE 3.5.5 in het Nederlands te vertalen

3

Sunday, April 22nd 2007, 10:48am

Thanks, that solved the problem.