How Do You Change The Default Browser?
#1
Posted 29 June 2010 - 05:18 PM
Was going to be lazy and wait for it to be done with hotfix 3 but it appears the change in default browser did not make the fix.
I've tried SETTINGS, PREFERRED APPLICATIONS, gone to the drop down list and selected other and then browsed to chromium.pnd
However what I really want is to point it at chromium.exe (or linux equivalent).
So I guess my question should be : Where can I find chromium.exe?
#2
Posted 29 June 2010 - 05:33 PM
pnd_run /media/[Card ID]/pandora[apps/menu/desktop]/chromium.pnd
#3
Posted 29 June 2010 - 06:08 PM
you need to make it say:
pnd_run /media/[Card ID]/pandora[apps/menu/desktop]/chromium.pnd
Cheers for the quick response mindlord.
But it does not seem to work, no LED showing SD being read, nothing happens, no error message.
This is what I tried :
pnd_run /media/PAN_APPS/pandora/apps/Chromium.pnd "%s"
The PND begins with a capital C and my SD card is called PAN_APPS. The "%s" appears to be added automatically by the system.
#4
Posted 29 June 2010 - 06:12 PM
or maybe like this: "./pnd_run ..."
Edited by Alerino, 29 June 2010 - 06:14 PM.
#5
Posted 29 June 2010 - 06:34 PM
Edit: Solution:
surround the pnd_run /media/[Card ID]/pandora/apps/Chromium.pnd with single quotes fn+a
'pnd_run /media/PAN_APPS/pandora/apps/Chromium.pnd' "%s"
Edited by mindlord, 29 June 2010 - 06:43 PM.
#6
Posted 29 June 2010 - 07:33 PM
Solution:
'pnd_run /media/PAN_APPS/pandora/apps/Chromium.pnd' "%s"
Worked a treat, many thanks Mindlord, you da man.
Nice to learn a little bit about command line syntax as well.
#8
Posted 07 March 2011 - 02:40 PM
Change it with Settings -> Preferred Applications -> Web Browser to read (note the single quotes):I just tried changing my default browser to links.pnd in the Xfce settings, and it didn't work. It also didn't recognize pnd files as being executables.
So the only way to do this is via command line? Isn't that a bug that should be fixed?
'pnd_run /media/YOUR_SD_CARD/path/to/links.pnd' "%s"This works for me eg. when you click on the Browser-Icon on the Xfce-Panel.
But this has really a caveat: if some application now tries to start the Xfce-Standard-Browser by calling
exo-open --launch WebBrowser "http://example.com"you'll get an error-message stating it can't execute the default web-browser.
This is independent of the browser, this message appears with Chromium, Links2 and NetSurf.
If you leave out the "http://example.com"-part, the browser opens without problems.
Seems there's some trouble with the parameter-handling in the way Xfce calls the pnd_run.
But many thanks to you - i've noticed that my startup-script in my links-package doesn't honour parameters - will reupload soon a changed version to the file-archive!
EDIT: new Version of Links2 now honours commandline-parameter.
Edited by mash-system, 10 March 2011 - 03:37 PM.











