This patch adds a check in the /usr/bin/firefox script to see if any of the command line urls are local files. If they are, it prepends the pwd to the basename so that firebird will open the file. Reproducible: Always Steps to Reproduce: 1. run /usr/bin/firefox <localfile> 2. 3. Actual Results: firefox tries to find the local file as a remote host and usually fails. Expected Results: It should open the local file.
Created attachment 27099 [details, diff] adds local file support to /usr/bin/firefox script
Created attachment 27106 [details, diff] Replacement patch for local file support Please disregard the first patch, it didn't open firefox if there were no arguments specified. This patch fixes that.
Created attachment 27536 [details, diff] simpler patch I think this does the same thing bug is much simpler. Please test.
You're right, this is much simpler. I tested it on relative paths, absolute paths and ones with ../../ in them. It all seems to work well. Thanks for the new patch.
Thanks for testing. I committed this change.