Browser Update - Firefox
bour59
- ncmprhnsbl
- DEV Team
- Posts: 4293
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Browser Update - Firefox
Post#17 by ncmprhnsbl » 30 May 2024, 12:23
yah, spotted it just now, should be fixed now. (had the test backwards

ncmprhnsbl
-
- Samurai
- Posts: 191
- Joined: 06 Mar 2019, 15:14
- Distribution: Arch linux
Browser Update - Firefox
Post#18 by benjibasson » 17 Aug 2024, 17:43
- 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
benjibasson
- ncmprhnsbl
- DEV Team
- Posts: 4293
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Browser Update - Firefox
Post#19 by ncmprhnsbl » 18 Aug 2024, 03:52
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
ncmprhnsbl
-
- Samurai
- Posts: 191
- Joined: 06 Mar 2019, 15:14
- Distribution: Arch linux
Browser Update - Firefox
Post#20 by benjibasson » 19 Aug 2024, 11:56
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
benjibasson
Browser Update - Firefox
Post#21 by Mel1974 » 26 Aug 2024, 02:19
Once the package database is accurate and up-to-date, you should be able to build your xzm module successfully
Mel1974
- Ed_P
- Contributor
- Posts: 8961
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Browser Update - Firefox
Post#22 by Ed_P » 04 Nov 2024, 17:18
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
- Ed_P
- Contributor
- Posts: 8961
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Browser Update - Firefox
Post#23 by Ed_P » 08 Nov 2024, 08:21


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

Ed_P
-
- Full of knowledge
- Posts: 2106
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Browser Update - Firefox
Post#24 by donald » 09 Nov 2024, 04:20
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
donald
- Ed_P
- Contributor
- Posts: 8961
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Browser Update - Firefox
Post#25 by Ed_P » 09 Nov 2024, 19:18

-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
- Ed_P
- Contributor
- Posts: 8961
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Browser Update - Firefox
Post#26 by Ed_P » 17 Nov 2024, 04:34
And is there a bash command to shutdown a running firefox? Basically the opposite of nohup.
Ed_P
Browser Update - Firefox
Post#27 by Kulle » 17 Nov 2024, 10:30
bash commands to shutdown a running Firefox :
Code: Select all
kill $(pgrep firefox)
Code: Select all
kill -9 $(pgrep firefox)
Kulle
- Ed_P
- Contributor
- Posts: 8961
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Browser Update - Firefox
Post#28 by Ed_P » 18 Nov 2024, 05:40

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
Ed_P