This is an interesting approach, but there is an issue. The way that friendlyfox.desktop works is by using find to cd into the directory before running the selected script. I can’t think of any other way for it to work, regardless of the location of the directory. I hadn’t thought about moving it to external storage though; that does complicate things further.
What do you think?
Also, @kms and others, I had forgotten to edit all of the files, so it may be necessary to manually delete and re-clone the repo once more. Sorry about that.
Thank you for the suggestion. I have no idea how to use log files, and will need to learn. I have a lot going on currently, but I’ll put that on my to-do list.
I don’t even have scripting skills, unless you count searching the web for how to do basic things in a bash script and building one bit-by-bit. I’m more imaginative than I am proficient in coding or scripting.
In this case, I would not do that, provided that the required directory does get found. As you can see from the recent example, the actual error messages are completely unrelated to the operation and purpose of the script. The error messages are just noise. (In my opinion, find should grow an option to suppress selected error conditions as I often have the experience that I find what I am looking for but I get a bunch of expected and uninteresting permission errors along the way.)
However it would be trivial to replace my suggested /dev/null with an actual file if someone does care to keep the error messages for posterity.
But then if I were actually implementing this then I would have just produced a “unique” fixed directory pathname and claimed that for use by this software i.e. avoided the need for a find at all.
Returned error’s aren’t always helpful or meaningful. I agree, but see my remark as ‘good practise’ while coding. A logfile can be helpful for finding issues you did not think of when writing a script.
Yeah, if you have Librewolf installed, running the install.sh script (or using the Friendly-Fox icon) should ask you which browser you want to customize. Unless that’s the only Firefox-based browser you have installed, in which case it should just select it without a prompt. It should also support Mullvad Browser and Tor Browser, but I haven’t tested to verify. I have tested Librewolf flatpak, and it works without issue.
Just wanted to comment again how incredibly useful your continued work is on making desktop Firefox usable on mobile Linux. Got the update for FF ESR 128 in, it broke the UI horribly, came looking for this post immediately. Cheers!