Browser Update - Firefox
-
- Shogun
- Posts: 203
- Joined: 29 Dec 2010, 08:10
- Distribution: porteus v5.0-xfce K5.19.7
- Location: France
Browser Update - Firefox
Hi firefox current is now 126.0.1 (bugfix)
- ncmprhnsbl
- DEV Team
- Posts: 4124
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Browser Update - Firefox
yah, spotted it just now, should be fixed now. (had the test backwards )
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
-
- Samurai
- Posts: 184
- Joined: 06 Mar 2019, 15:14
- Distribution: Arch linux
Browser Update - Firefox
Hi, I shunt the policies.json to update and build new modules because I don't save change every time on tiny PC but once every three months ( change is 999-change.xzm) and I have not enought space to work on ramdisk
- extract the firefox.xzm
- run ./usr/lib64/firefox-current/firefox as root
- do help => about=> update
- exit
- run as guest to check if it is the right profil ( once)
- set to manual update instead of automatic (once)
- put back policie
- dir2xzm
- disable and delete old module
- enable new modules
so that I don't have to do an about:profil to default profil and delete new profil neither save session from setting center.
More over I don't have to worries about the huge place token on ramdisk during the extraction and txz2xzm (the TMP=/mnt/sda*/tmp doesn't work for updates-browser neither for update-firefox-live
- extract the firefox.xzm
- run ./usr/lib64/firefox-current/firefox as root
Code: Select all
cd /mnt/sda6/porteus64bit_v501/porteus/modules/firefox-129.0.1-x86_64-fr/usr/lib64/firefox-current/ && XAUTHORITY=/root/.Xauthority sudo firefox
- exit
- run as guest to check if it is the right profil ( once)
- set to manual update instead of automatic (once)
- put back policie
- dir2xzm
- disable and delete old module
- enable new modules
so that I don't have to do an about:profil to default profil and delete new profil neither save session from setting center.
More over I don't have to worries about the huge place token on ramdisk during the extraction and txz2xzm (the TMP=/mnt/sda*/tmp doesn't work for updates-browser neither for update-firefox-live
- ncmprhnsbl
- DEV Team
- Posts: 4124
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Browser Update - Firefox
you are, of course, free to do whatever you want, but i'll correct a couple of misunderstandings:benjibasson wrote: ↑17 Aug 2024, 17:43More over I don't have to worries about the huge place token on ramdisk during the extraction and txz2xzm (the TMP=/mnt/sda*/tmp doesn't work for updates-browser neither for update-firefox-live
1. the update-firefox-live (or any of the other browser scripts) doesn't use txz2xzm or makepkg (the "package info" in /var/lib/pkgtools/packages is "faked".)
2. the correct way to avoid using /tmp (ram) is to: in the terminal, cd to the directory you wish to use and eg. for firefox:
Code: Select all
update-browser -d -f
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
-
- Samurai
- Posts: 184
- Joined: 06 Mar 2019, 15:14
- Distribution: Arch linux
Browser Update - Firefox
Hi, I didn't seen on the patched update-firefox-live suoted in this topic: how to fix /var/lib/pkgtools/packages to make it true before build xzm module?ncmprhnsbl wrote: ↑18 Aug 2024, 03:52you are, of course, free to do whatever you want, but i'll correct a couple of misunderstandings:benjibasson wrote: ↑17 Aug 2024, 17:43More over I don't have to worries about the huge place token on ramdisk during the extraction and txz2xzm (the TMP=/mnt/sda*/tmp doesn't work for updates-browser neither for update-firefox-live
1. the update-firefox-live (or any of the other browser scripts) doesn't use txz2xzm or makepkg (the "package info" in /var/lib/pkgtools/packages is "faked".)
2. the correct way to avoid using /tmp (ram) is to: in the terminal, cd to the directory you wish to use and eg. for firefox:-d meaning "use current directory"Code: Select all
update-browser -d -f
Browser Update - Firefox
First verify and update the package database by running pkgtool or slapt-get --update. If the database seems corrupt, remove it with rm -rf /var/lib/pkgtools/packages and then update again using slapt-get --update. Ensure the directory has correct permissions with chmod 755 /var/lib/pkgtools/packages.
Once the package database is accurate and up-to-date, you should be able to build your xzm module successfully
Once the package database is accurate and up-to-date, you should be able to build your xzm module successfully
- Ed_P
- Contributor
- Posts: 8657
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Browser Update - Firefox
When using the Browser Selection and Update Tool and updating a browser there is this statement:
If the statement were changed to this:
It would allow an easier path for a user to change the home page to:
Code: Select all
Set your home page.
Leave blank for: https://forum.porteus.org and press enter to continue.
>
Code: Select all
Set your home page.
Press enter to continue.
>https://forum.porteus.org
Code: Select all
https://forum.porteus.org/search.php?search_id=active_topics
- Ed_P
- Contributor
- Posts: 8657
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Browser Update - Firefox
In upgrading from firefox-122-x86_64-en-US.xzm to version firefox-132.0-x86_64-en-US.xzm the /home/guest/.mozilla/firefox/*-default-release-? folder went from 15MB to 38MB. 40 items to 47 items. Is this normal with the newer releases?
Added in 15 hours 32 minutes 19 seconds:
How does the size shown in the ls of a folder differ so much from the size shown in the properties for the same folder?
7.3MB verses 35.5 MB
Added in 15 hours 32 minutes 19 seconds:
How does the size shown in the ls of a folder differ so much from the size shown in the properties for the same folder?
7.3MB verses 35.5 MB
-
- Full of knowledge
- Posts: 2089
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Browser Update - Firefox
Hi Ed
Your screenshot says 1009 items and 60 hidden so you may have to add
-a, --all <do not ignore entries starting with .>
[also -R to get a more detailed output]
to your terminal command.
or try du -sh /path/to/folder
Your screenshot says 1009 items and 60 hidden so you may have to add
-a, --all <do not ignore entries starting with .>
[also -R to get a more detailed output]
to your terminal command.
or try du -sh /path/to/folder
- Ed_P
- Contributor
- Posts: 8657
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Browser Update - Firefox
Hi donald, thanks for the suggestions.
-a doesn't change the numbers that much.
Nor -R even with its massive display.
du -sh is more accurate.
I would think the ls command's space number would include the space occupied by the directories even if their files aren't listed.
-a doesn't change the numbers that much.
Code: Select all
guest@porteus:~$ ls -lgha --group-directories-first /home/guest/.mozilla/firefox/*-release*/
total 4.7M
drwxr-xr-x 14 users 860 Nov 9 14:07 ./
drwxr-xr-x 6 users 180 Nov 9 14:07 ../
drwxr-xr-x 2 users 40 Nov 9 14:07 bookmarkbackups/
drwx------ 3 users 60 Nov 9 14:07 crashes/
drwxr-xr-x 4 users 80 Nov 9 14:07 datareporting/
drwxr-xr-x 2 users 40 Nov 9 14:07 extension-store/
drwxr-xr-x 2 users 80 Nov 9 09:02 extensions/
drwx------ 2 users 40 Nov 9 14:07 minidumps/
drwxr-xr-x 2 users 40 Nov 9 14:07 security_state/
drwxr-xr-x 2 users 60 Nov 9 14:07 sessionstore-backups/
drwxr-xr-x 6 users 140 Nov 9 14:07 storage/
-rw-r--r-- 1 users 0 Nov 9 14:07 .parentlock
-rw-r--r-- 1 users 34K Nov 9 14:07 AlternateServices.bin
:
:
Code: Select all
guest@porteus:~$ ls -lghaR --group-directories-first /home/guest/.mozilla/firefox/*-release*/
/home/guest/.mozilla/firefox/cuiho3hm.default-release-2/:
total 6.8M
drwxr-xr-x 16 users 920 Nov 9 14:12 ./
drwxr-xr-x 6 users 180 Nov 9 14:07 ../
drwxr-xr-x 2 users 40 Nov 9 14:07 bookmarkbackups/
drwx------ 3 users 80 Nov 9 14:08 crashes/
drwxr-xr-x 4 users 120 Nov 9 14:18 datareporting/
drwxr-xr-x 2 users 40 Nov 9 14:07 extension-store/
drwxr-xr-x 2 users 80 Nov 9 09:02 extensions/
drwxr-xr-x 3 users 60 Nov 9 14:07 gmp-gmpopenh264/
drwx------ 2 users 40 Nov 9 14:07 minidumps/
drwxr-xr-x 2 users 40 Nov 9 14:07 security_state/
drwxr-xr-x 2 users 80 Nov 9 14:19 sessionstore-backups/
drwxr-xr-x 2 users 60 Nov 9 14:07 settings/
drwxr-xr-x 6 users 140 Nov 9 14:07 storage/
-rw-r--r-- 1 users 0 Nov 9 14:07 .parentlock
-rw-r--r-- 1 users 34K Nov 9 14:12 AlternateServices.bin
-rw-r--r-- 1 users 36K Nov 9 14:08 SiteSecurityServiceState.bin
:
:
Code: Select all
guest@porteus:~$ du -sh /home/guest/.mozilla/firefox/*-release*/
28M /home/guest/.mozilla/firefox/cuiho3hm.default-release-2/
guest@porteus:~$
- Ed_P
- Contributor
- Posts: 8657
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Browser Update - Firefox
Is there a way to compare, reasonably, the differences between the pref.js from an old release and the one for a new release? diff is meaningless due to the unique 654678875522334567844 numbers at the end of the lines thus all lines are different regardless of what's before them.
And is there a bash command to shutdown a running firefox? Basically the opposite of nohup.
And is there a bash command to shutdown a running firefox? Basically the opposite of nohup.
Browser Update - Firefox
Hi Ed_P
bash commands to shutdown a running Firefox :
or
bash commands to shutdown a running Firefox :
Code: Select all
kill $(pgrep firefox)
Code: Select all
kill -9 $(pgrep firefox)
- Ed_P
- Contributor
- Posts: 8657
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Browser Update - Firefox
Thank you Kulle, pgrep does indeed work.
As for comparing pref.js files, this works for some entries, I just wish I could expand it to more options. ideally all of them.
As for comparing pref.js files, this works for some entries, I just wish I could expand it to more options. ideally all of them.
Code: Select all
#!/bin/sh
if [ `whoami` != "root" ]; then
echo toor | sudo -S echo "******"
sudo sh $0 $1 $2
exit
fi
if [ -d /tmp/good/ ]; then
rm -rf /tmp/good
rm -rf /tmp/bad
fi
cat /mnt/nvme0n1p7/Users/Ed/Downloads/prefs.js| egrep -i "true|false" | sed 's^1711811976^x^g' | awk '{print $1,$2}' > /tmp/bad # prefs-cui.txt
cat /home/guest/.mozilla/firefox/cuiho3hm.default-release-2/prefs.js | egrep -i "true|false" | sed 's^1712750425^x^g' | awk '{print $1,$2}' > /tmp/good # prefs-izo.txt
echo
#diff -Naurq /tmp/good /tmp/bad
diff /tmp/good /tmp/bad
echo
echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
echo
echo " < lines from good -izo FILE"
echo " > lines from bad -cui FILE"
echo
sleep 2
read
rm -rf /tmp/good && rm -rf /tmp/bad