Create Debian 9 (Stretch) minimal ISO similar to DebianDog

A home for all kinds of Puppy related projects
Message
Author
dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

Setup latest Firefox as portable application

#881 Post by dancytron »

Not sure portable application is exactly the right word, but to set it up outside the save folder.

I am using Porteus save on exit with a save folder on a ext* drive. I am not sure this will work with other setups with the paths I am using, but I don't see any reason it wouldn't work if you used the correct path for each different setup.

1. Download the firefox install file from https://www.mozilla.org/en-US/firefox/new/ I clicked the "Advanced install options & other platforms" to make sure I got the right one. It will be a tar.bz2 file, the one I downloaded was firefox-57.0.tar.bz2.

2. Unzip it into the same drive that your frugal install is on. in my case sda2. This is also /live/image. So you end up with all the files in /live/image/firefox/.

3. Install apulse with apt-get or from synaptic.
.
4. Edit firefox-apulse.desktop in /usr/shared/applications to change the exec line to:

Code: Select all

Exec=apulse /live/image/firefox/firefox -profile "/live/image/firefox/profile" 
5. In /live/image/firefox/, add a /profile folder.

6. Launch firefox-apulse.desktop. type "about:config" in firefox address bar , then search for "security.sandbox.content.write_path_whitelist", double click it and type "/dev/snd/" (without the quotes). Restart firefox.

That's it, the main firefox program and the profile and cache should all be under /live/image/firefox, with less than a megabyte of little stuff under /root. When it downloads the widevine stuff for netflix and if you install any addons, those seem to be going under /live/image/firefox too.

It remains to be seen if the internal firefox automatic update will work. I guess we'll have to wait for a new version to come out in order to see.

One issue I did have is that it locked up on my first time into Netflix while it was downloading the widevine and other files. I had Chrome open with probably 8 tabs and qbittorrent at the same time, so I think I just ran out of memory. Anyway, I shut it down with the power switch and when it rebooted everything was fine and Netflix was ready to go, so I don't think it is a repeating issue.

I don't see any reason this wouldn't work on Fatdog and/or Puppy with a few little adjustments.

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

#882 Post by fredx181 »

In case of running older build (with kernel 4.9.0-3), new package "upgrade-kernel" available
It can upgrade the kernel to 4.9.0-4 now, see also here for more info:
http://murga-linux.com/puppy/viewtopic. ... 872#975872

Fred

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#883 Post by dancytron »

fredx181 wrote:In case of running older build (with kernel 4.9.0-3), new package "upgrade-kernel" available
It can upgrade the kernel to 4.9.0-4 now, see also here for more info:
http://murga-linux.com/puppy/viewtopic. ... 872#975872

Fred
Ran this, seems to have worked fine.
root@live:~# uname -a
Linux live 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux

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

#884 Post by fredx181 »

dancytron wrote:
fredx181 wrote:In case of running older build (with kernel 4.9.0-3), new package "upgrade-kernel" available
It can upgrade the kernel to 4.9.0-4 now, see also here for more info:
http://murga-linux.com/puppy/viewtopic. ... 872#975872

Fred
Ran this, seems to have worked fine.
root@live:~# uname -a
Linux live 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux
OK, nice! For info: Now you have 2 kernels installed, so you can uninstall the 4.9.0-3 kernel safely. (in Jessie it was different, upgrade-kernel just did replace the older kernel with the newer one)

Fred

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#885 Post by dancytron »

fredx181 wrote:
dancytron wrote:
fredx181 wrote:In case of running older build (with kernel 4.9.0-3), new package "upgrade-kernel" available
It can upgrade the kernel to 4.9.0-4 now, see also here for more info:
http://murga-linux.com/puppy/viewtopic. ... 872#975872

Fred
Ran this, seems to have worked fine.
root@live:~# uname -a
Linux live 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux
OK, nice! For info: Now you have 2 kernels installed, so you can uninstall the 4.9.0-3 kernel safely. (in Jessie it was different, upgrade-kernel just did replace the older kernel with the newer one)

Fred
I figured that out and already uninstalled it.

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

#886 Post by fredx181 »

Hi rcrsn51,

About peasywifi, you added the Names button for support of 'cryptic' interface names, but I can't make it connect to a wired connection (for me "ens1")
This in case of removed /etc/systemd/network/99-default.link (the workaround for getting the 'normal' names as set by default in Stretch-live build) and reboot.
Only way in this case to make it connect for me is editing /etc/pwf/interfaces and changing eth0 to ens1.(but maybe I'm missing something)
Can you have a look at it?

Fred

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#887 Post by rcrsn51 »

@Fred: The Names function works for me.

I type a cryptic name in the box, click ETH0, click Done.

The file /etc/pwf/interfaces has been updated.

I restart PWF and configure the new name for DHCP.

The code is at line 587.

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

#888 Post by fredx181 »

Ah, I see, thanks, indeed works when clicking ETH0 button, I previously only selected name from the dropdown list and clicked Done. (assuming that clicking ETH0 would be wrong, that it would assign to the real "eth0")

Fred

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#889 Post by rcrsn51 »

fredx181 wrote:(assuming that clicking ETH0 would be wrong, that it would assign to the real "eth0")
The Defaults button does that.

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

#890 Post by fredx181 »

Added to repos: DropboxGUI by forum member mikeb.
EDIT: 6 december, new version 1.0.3, with modified 'dropbox_uploader.sh', see here:
http://murga-linux.com/puppy/viewtopic. ... 339#976339
https://fredx181.github.io/StretchDog/i ... .3_all.deb
Or install from Synaptic or from terminal:

Code: Select all

apt-get update
apt-get install dropboxgui
See here in "Dropbox Filemanager" topic my reply including mini-howto:
http://murga-linux.com/puppy/viewtopic. ... 123#976123

Fred
Last edited by fredx181 on Thu 07 Dec 2017, 17:50, edited 2 times in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#891 Post by rcrsn51 »

On small screens, the volume control in the system tray can be hard to use. So here is a replacement that pops up AlsaMixer.

It launches from /root/.config/openbox/autostart

Remove the fake .gz extension.
Attachments
alsamixer-tray_1.0_i386.deb.gz
(4.08 KiB) Downloaded 155 times
alsamixer-tray_1.0_amd64.deb.gz
(4.03 KiB) Downloaded 147 times

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

#892 Post by fredx181 »

rcrsn51 wrote:On small screens, the volume control in the system tray can be hard to use. So here is a replacement that pops up AlsaMixer.
Thanks, added to repos, just curious, what exactly could be the problem on small screens with volumeicon ?

@all, upgrade of package "dropboxgui" install v1.0.3 deb:
https://fredx181.github.io/StretchDog/i ... .3_all.deb
Or install with Synaptic or apt-get

Made improvement in dropbox_uploader.sh script, see also here:
http://murga-linux.com/puppy/viewtopic. ... 339#976339

Fred

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#893 Post by rcrsn51 »

fredx181 wrote:just curious, what exactly could be the problem on small screens with volumeicon ?
Have you tried it with a touchpad?

AndresC2
Posts: 76
Joined: Sun 09 Jul 2017, 02:12

#894 Post by AndresC2 »

Hi Fred :D

I make install stretch with will haley manual debootstrap

and when installing with apt-get this appear.

W:APT had planned for dpkg to do more than it reported back (58 vs 61). Affected packages: x11-utils:i386

some clue?

Thanks.

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

#895 Post by fredx181 »

Hi AndresC2, sorry, no clue.
If you do exactly the same again all over, you get the same warning also again ?

@ALL :
Package "gmplayer" upgraded in repos.
Changed default to x11 and added "zoom=1" in ~/.mplayer/config
If your graphics card supports xv, you can set it to "vo=xv" in the config file.

Fred

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#896 Post by rcrsn51 »

fredx181 wrote:Package "gmplayer" upgraded in repos.
Changed default to x11 and added "zoom=1" in ~/.mplayer/config
If your graphics card supports xv, you can set it to "vo=xv" in the config file.
Perfect. On a machine that only works with x11, I can run PeasyDVDPlayer and set all the other options. Then mplayer will get "zoom=1" from the config and play the DVD in full screen.

AndresC2
Posts: 76
Joined: Sun 09 Jul 2017, 02:12

#897 Post by AndresC2 »

Hi Fred!

that is random.

I will try with another build.

put it in google:

W:APT had planned for dpkg to do more than it reported back (58 vs 61). Affected packages: x11-utils:i38

and is like a bug.

https://bugs.debian.org/cgi-bin/bugrepo ... bug=850327

I talk you later

thanks

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

#898 Post by fredx181 »

AndresC2 wrote:Hi Fred!

that is random.

I will try with another build.

put it in google:

W:APT had planned for dpkg to do more than it reported back (58 vs 61). Affected packages: x11-utils:i38

and is like a bug.

https://bugs.debian.org/cgi-bin/bugrepo ... bug=850327

I talk you later

thanks
Hi Andres, did a build with mklive-stretch just now, to see if I could reproduce what you got, but no such warning appeared for me.
Maybe it's a bug in apt, but note that it's just a *warning*, if it isn't followed by an error, everything could be just fine.
Did you check if your build booted and ran OK ? (despite the warning)

Fred

AndresC2
Posts: 76
Joined: Sun 09 Jul 2017, 02:12

#899 Post by AndresC2 »

Hi Fred! :D

I build stretch with Will Haley manual and only like you say a Warning,

my build booted and ran OK, I think that "Apt-get upgrade" fix the problem,

beacause later I install fluxbox etc, and run fine now.

thanks.

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

#900 Post by fredx181 »

Upgradable packages from rcrsn51:
- Peasywifi :
rcrsn51 wrote:The Encrypt feature was originally built with bcrypt. But Debian has declared bcrypt to be insecure and has disabled it.

So I have replaced it with ccrypt. I updated your latest 4.5-1 packages to 4.6 and have added ccrypt as a dependency
- Peasymp3 (v4.1-1), changed some minor things in the user interface

@rcrsn51, thanks, I had to change version number in control to 4.1-1 (you kept 4.1), otherwise it's not seen as upgrade by apt, also made two different packages for 32 and 64 bit (same as earlier peasymp3 packages,with added gnome-mplayer-* as secondary dependency besides gmplayer, to avoid forcing to install gmplayer if gnome-mplayer already installed, tell me if you think different)

Fred

Post Reply