Firefox Quantum portable with apulse All-in

Browsers, email, chat, etc.
Post Reply
Message
Author
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#101 Post by fredx181 »

MrDuckGuy wrote:I initialized FireFox by clicking on the "firefox" entry in the
portable folder. It's running and as I stated, I am posting this
from the very same FireFox 'portable' installation, it seems
to work fine.

There is still no sound when
accessing the YouTube website.
To have sound, you must run the "ff"script in the portable folder.
That will also create your profile inside ("profile" folder) instead of in /root/.mozilla

Fred

User avatar
MrDuckGuy
Posts: 155
Joined: Thu 31 Jan 2019, 09:06
Location: Hermosa Beach, CA, USA

Re: Firefox Quantum (64.0.2) portable with apulse All-in

#102 Post by MrDuckGuy »

fredx181 wrote:... To have sound, you must run the "ff"script in the
portable folder ... Fred
:oops: :oops: :oops:
I believe that's exactly what the title description of
this particular thread actually says in plain English.

If only I could read properly! Thank you so very much.
Another prime example of user error on my part.

Now, for some reason, I do have sound
while browsing within FireFox64v.60.5.2esr :!: :!:

Screenshot of a Commodore64 motherboard below.

-Kelikaku B'H.
Attachments
FireFoxIcon.png
I made an oddball Firefox icon for this
application. B'H.
(13.12 KiB) Downloaded 796 times
2019-03-11-12-commodore64Mboard01.png
For absolutely no reason, here is a Commodore64 motherboard. B'H.
(125.7 KiB) Downloaded 820 times

User avatar
MrDuckGuy
Posts: 155
Joined: Thu 31 Jan 2019, 09:06
Location: Hermosa Beach, CA, USA

Re: Firefox Quantum (64.0.2) portable with apulse All-in

#103 Post by MrDuckGuy »

SOLVED - another user tried this. The "ff" script will work to enable
the sound in the later version of FireFox (v65). Hope this helps. B'H.

============================================
fredx181 wrote: ... To have sound, you must run the "ff"script in
the portable folder. ... create your profile inside ("profile" folder)
instead of in /root/.mozilla ... Fred
Will the same "ff" script
work with the new version (v65) that's not "esr?"

As always, thanks in advance, Kelikaku B'H.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

Re: Firefox Quantum (64.0.2) portable with apulse All-in

#104 Post by fredx181 »

MrDuckGuy wrote:SOLVED - another user tried this. The "ff" script will work to enable
the sound in the later version of FireFox (v65). Hope this helps. B'H.

============================================
fredx181 wrote: ... To have sound, you must run the "ff"script in
the portable folder. ... create your profile inside ("profile" folder)
instead of in /root/.mozilla ... Fred
Will the same "ff" script
work with the new version (v65) that's not "esr?"

As always, thanks in advance, Kelikaku B'H.
Assuming you download and extract newest Firefox from here https://www.mozilla.org/en-US/firefox/new/
Then only copying the "ff" script to the directory is not enough, also required is the "extralibs" folder to have inside the directory, otherwise sound doesn't work.
So, yes, you can copy these from Mike's ESR version and it should work OK with v65.


Fred

User avatar
soniabu
Posts: 162
Joined: Thu 01 Feb 2018, 21:24
Location: Paris

#105 Post by soniabu »

Mike Walsh wrote:@ Fred/all:-


32-bit version available HERE.

64-bit version available HERE.

Anyways; enjoy, y'all!
Mike. :wink:
fantastic, everything works; thanks you have taken me out of a big jam!
sonia :D

Terry H
Posts: 708
Joined: Sun 29 Mar 2009, 16:48
Location: The Heart of Muskoka, ON Canada

#106 Post by Terry H »

I updated a portable 32 bit firefox 64 install today to firefox 66.0.1, as my main issue with browsers is the automatic playing of videos. I checked news websites and unfortunately videos are still playing automatically.

The setting which is supposed to stop all media from playing is "Stop websites from automatically playing sound" which is checked by default. Unchecking and re-checking seems to have no effect. I don't have any websites set as exceptions.

Are others using firefox 66 having the same results?
Attachments
image-2.png
Block websites from automatically playing sound is checked.
(50.53 KiB) Downloaded 2290 times

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#107 Post by Semme »

Terry, supposing you have an add-on or two, is the behavior the same in safe mode?
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#108 Post by Mike Walsh »

@ Terry H:-

Can't speak from personal experience with this specific extension:-

https://addons.mozilla.org/en-US/firefo ... -autoplay/

.....but I use a similar extension in Chrome/Iron, which literally stops all auto-playing vids dead in their tracks. Worth investigating, perhaps? (Just a thought, like...)

There's only 3 sites I visit at all regularly that are 'blessed' :roll: with these things, but one is the type where the damn video 'follows' you around the website; prominently at the top when you first land, then as soon as you scroll past it, a small version 'jumps' to the side of the page, and keeps pace with you (so as to stay within your eye-line at all times...)

Those, I really hate. Grrr!


Mike. :wink:

Terry H
Posts: 708
Joined: Sun 29 Mar 2009, 16:48
Location: The Heart of Muskoka, ON Canada

#109 Post by Terry H »

Semme wrote:Terry, supposing you have an add-on or two, is the behavior the same in safe mode?
Thanks semme, not sure what safe mode is, but videos still play when using private browsing, if that is what you are referring to.

Mike Walsh wrote:@ Terry H:-

Can't speak from personal experience with this specific extension:-

https://addons.mozilla.org/en-US/firefo ... -autoplay/

.....but I use a similar extension in Chrome/Iron, which literally stops all auto-playing vids dead in their tracks. Worth investigating, perhaps? (Just a thought, like...)


Mike. Wink
Thanks Mike. My issue is that this was seemingly the advertised big ticket update item in v66 and it has no effect here, it's just really annoying.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#110 Post by Semme »

Nevermind..

User avatar
8Geee
Posts: 2181
Joined: Mon 12 May 2008, 11:29
Location: N.E. USA

#111 Post by 8Geee »

I have a question about the 'ff' script, and making a new profile.
Can I link the about:config in the default profile to the new #2 profile?

When I open the new profile, the settings in about:config are back to a default setting, instead of the modified srtttings in the default profile. I'd hate to edit 430 lines of config a 2nd time.

Regards
8Geee
Linux user #498913 "Some people need to reimagine their thinking."
"Zuckerberg: a large city inhabited by mentally challenged people."

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#112 Post by fredx181 »

Hi 8Geee,

I think it's best to copy all the contents from your ~/.mozilla/firefox/xxxxxxxx.default folder to the profile folder (better empty profile folder first), similar as I described here (for thunderbird):
http://murga-linux.com/puppy/viewtopic. ... 07#1019107

Only thing I'm not sure of is compatibility with older FF version (i.e. if the default folder is from very old FF, it may not work)

Fred

User avatar
8Geee
Posts: 2181
Joined: Mon 12 May 2008, 11:29
Location: N.E. USA

#113 Post by 8Geee »

Thanx Fred, I am intending to swap 65.0.2 default across to a 'ff' defined 2nd profile. I'll have a read,

regards
8Geee
Linux user #498913 "Some people need to reimagine their thinking."
"Zuckerberg: a large city inhabited by mentally challenged people."

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#114 Post by fredx181 »

Hi All,

EDIT 2019-08-02: important: After removing the, fake .gz extension and making executable, run the attached script from terminal, e.g.:

Code: Select all

./ffportable-inst
Do NOT just click it. After succesful run: click on the "ff" file inside new created directory (e.g. "firefox_68.0.1_64") to run Firefox portable.
See also here: http://murga-linux.com/puppy/viewtopic. ... 55#1033555
==============================================================
Updated 2019-05-31, changed the contents of the 'extralibs' folder containing the pulse libs, now should work on older systems also, e.g. PrecisePup, attached script and download links replaced (32bit-additions and 64bit-additions)
==============================================================

Instead of updating FF-portable once in a while, I've now made a simple script that will download, extract latest Firefox and add some files to the portable folder (e.g. ff script, apulse etc...) so that the result wil be a folder named: firefox_<version>_<arch>, e.g. firefox_66.0.3_32 (version 66.0.3 is latest now) (32 bit) or firefox_66.0.3_64, (64bit) (according to running the script from 64bit OS or from 32bit OS) , rename as you wish.
Run the script from terminal standing in the directory where you want the portable folder to be created.Updated 2019-05-31

One of the advantages is that the language can be set by making a simple edit on top of the script, default it is en-US, change it to e.g. French:

Code: Select all

FFLANG=fr
Or e.g. German:

Code: Select all

FFLANG=de
Complete list of available languages, see here:
https://ftp.mozilla.org/pub/firefox/rel ... README.txt

Attached ffportable-inst.gz, remove fake .gz extension and make executable.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
EDIT: Another way is to download newest firefox from Here or Here in your language
Unpack it, firefox directory will appear, then download: 32bit-additions or 64bit-additions and extract in the new firefox folder (contains "ff" script and "extralibs" folder)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Fred
Attachments
ffportable-inst.gz
Updated 2019-05-31, Remove fake .gz extension, make executable and run from terminal
(1.85 KiB) Downloaded 512 times
Last edited by fredx181 on Fri 02 Aug 2019, 07:58, edited 7 times in total.

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#115 Post by Mike Walsh »

@ Fred/8Geee:-
8Geee wrote:I have a question about the 'ff' script, and making a new profile.
Can I link the about:config in the default profile to the new #2 profile?

When I open the new profile, the settings in about:config are back to a default setting, instead of the modified srtttings in the default profile. I'd hate to edit 430 lines of config a 2nd time.

<----snip---->

...Thanx Fred, I am intending to swap 65.0.2 default across to a 'ff' defined 2nd profile. I'll have a read.
8Geee:-

Perhaps this might give you some ideas....


Mike. :wink:

User avatar
8Geee
Posts: 2181
Joined: Mon 12 May 2008, 11:29
Location: N.E. USA

#116 Post by 8Geee »

Terry H:

unfortunatly these "rouge video-clips" can only be stopped with an ad-blocker. You will have to go to each site and block the container they are in. But you will find a common pattern that will universally stop them all on one site. A few years ago, I did this for yahoo websites. I need 17 rules to stop the pictures and the videos, but it works there. I would say its not easy. For yahoo these rules below can be copy then paste in to user rules, or my rules, etc. Remember to close the app, then browser. Waite a minute and reopen the browser. If you get a warning that the browser is still running, then Shutdown --> Restart graphical server will fix. Then open browser again.

*.yahoo.com/video/*
||yep.video.yahoo.com/*
https://*.yahoo.com/m/*
https://s.yimg.com/uu/*
||v4s.yimg.com/rx/builds/*/assets/*
||*.http.atlas.cdn.yimg.com^
https://*.yahoo.com/video/*
/http://d.yimg.com/hd/cnbc*/*
/https://d.yimg.com/hd/cnbc*/*
||https://www.yahoo.com/sy/uu/
|http://l.yimg.com/*/player.swf
||s1.yimg.com^
||https://*rack*.*.yimg.com/
||https://*.yimg.com/uu/api/*
||https://*.yimg.com/os/mit/media/*
||edgecast-vod.yahoo.net^
||s.yimg.com/uc/fin/img/*

Its a start
8Geee
Linux user #498913 "Some people need to reimagine their thinking."
"Zuckerberg: a large city inhabited by mentally challenged people."

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#117 Post by Mike Walsh »

Re: Portable 'installer'

Fred:-

Very neat idea, man. Nice one.

You really do care about making Puppy as easy & accessible to everyone as you can, don't you? You're an inspiration to this forum nowadays!

Excellent work. Keep 'em coming..... :lol:

Just one question, if I may? Having run it through once to see how it works, I take it you simply run it from the location where you want the portable to be, yes? (Edit:- Sorry, missed that bit in the post..! :oops:)

Any problem with my sharing this info with the Puppy users over at BleepingComputer & TechSupportGuy?

Image


Mike. Image

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#118 Post by fredx181 »

Thanks Mike !
Any problem with my sharing this info with the Puppy users over at BleepingComputer & TechSupportGuy?
No problem.

Fred

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#119 Post by rufwoof »

Mike Walsh wrote:@ Fred/8Geee:-
8Geee wrote:I have a question about the 'ff' script, and making a new profile.
Can I link the about:config in the default profile to the new #2 profile?

When I open the new profile, the settings in about:config are back to a default setting, instead of the modified srtttings in the default profile. I'd hate to edit 430 lines of config a 2nd time.

<----snip---->

...Thanx Fred, I am intending to swap 65.0.2 default across to a 'ff' defined 2nd profile. I'll have a read.
8Geee:-
Perhaps this might give you some ideas....
Mike. :wink:
Very useful thanks Mike
set-up a second profile within my install of Fred's portable-Quantum
I run Fred's FF Quantum portable inside a EasyOS container like environment (Xephyr separate X session, unshare/chroot/capsh), where firefox runs as spot (I've set spots default shell in /etc/passwd to be bespoke shell (script) with very limited commands available).

I now have one profile where a socks proxy is automatically engaged, so all https traffic routes via a ssh tunnel (as does dns, so http server doesn't see my IP and my ISP doesn't see the http connections) to one of the public ssh servers I use, and another that's conventional (local ISP's dns/routing).

The two profiles saves on having to 'preferences, network, socks proxy active/not' - just have two desktop icons ff-spot-socks and ff-spot-nosocks ... according to whether spot is wearings socks or not :)
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#120 Post by s243a »

fredx181 wrote:Hi All,

Instead of updating FF-portable once in a while, I've now made a simple script that will download, extract latest Firefox and add some files to the portable folder (e.g. ff script, apulse etc...) so that the result wil be a folder named: firefox_<version>_<arch>, e.g. firefox_66.0.3_32 (version 66.0.3 is latest now) (32 bit) or firefox_66.0.3_64, (64bit) (according to running the script from 64bit OS or from 32bit OS) , rename as you wish.
Run the script from terminal standing in the directory where you want the portable folder to be created.

One of the advantages is that the language can be set by making a simple edit on top of the script, default it is en-US, change it to e.g. French:

Code: Select all

FFLANG=fr
Or e.g. German:

Code: Select all

FFLANG=de
Complete list of available languages, see here:
https://ftp.mozilla.org/pub/firefox/rel ... README.txt

Attached ffportable-inst.gz, remove fake .gz extension and make executable.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
EDIT: Another way is to download newest firefox from Here or Here in your language
Unpack it, firefox directory will appear, then download: 32bit-additions or 64bit-additions and extract in the new firefox folder (contains "ff" script and "extralibs" folder)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Fred
Apologies if these questions are already answered but:
1. What is the purpose of libatomic and will any version do or is there something special about this version in the way that it is compiled? (also is this specific to Firefox or do we probably want to add libatomic for any portable browser?)
2. I'm not clear about the syntax where you assign variables before executing the command. Is this a bash short hand for the export statement? Do you have a link to documentation about this?
3. I also see that you are prepending the extra-lib path to the LD_LIBRARY_PATH. It seems clear on what this does but at the same time I wouldn't mind some documentation about this in case I want to explain it to other people.

Post Reply