Create Debian 9 (Stretch) minimal ISO similar to DebianDog

A home for all kinds of Puppy related projects
Message
Author
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1366 Post by fredx181 »

Hi dcung,

I see in your build_setup.conf , that both firefox-esr and firefox-mozilla-build are selected for install, it should be one or the other, I think, otherwise conflict will occur.
I'm thinking that it would be better to remove the extra repository "ubuntuzilla" (which provides firefox-mozilla-build) because it's creating the problems you experienced, but not sure yet.

About apulse:
I didn't notice earlier, now I found that newest firefox-esr requires pulseaudio (or apulse) for sound to work on e.g. YouTube (the older 52 version of firefox-esr didn't)

Change the line in Firefox-apulse (in usr/share/applications) from
Exec=apulse /opt/firefox/firefox
to just:
Exec=apulse firefox
And it should execute firefox in PATH (probably /usr/bin/firefox) with apulse, so sound should work then if you run Firefox-apulse from Menu.

About Thunar:
In your build config you have "xfce4-places-plugin", it depends on Thunar, so that's probably the reason you couldn't get rid of Thunar.
Btw, are you sure you want this combination of PcmanFM and the xfce4 components without Thunar ?
I tested that kind of setup without Thunar and found that when clicking an icon on the Desktop it gave an error, installing Thunar again solved that.
Maybe better a setup with PcmanFM providing the Desktop ?

Tip:
At a certain point of running mklive-stretch you are asked to run Xterm just before exiting the chroot.
If you choose yes, and then when it appears, type synaptic and you can check everything, remove, install etc...

Fred

dcung
Posts: 242
Joined: Sat 14 Jul 2018, 00:11
Location: Down Under - 3rd rock from Sun.

#1367 Post by dcung »

fredx181 wrote:I see in your build_setup.conf , that both firefox-esr and firefox-mozilla-build are selected for install, it should be one or the other, I think, otherwise conflict will occur.
I'm thinking that it would be better to remove the extra repository "ubuntuzilla" (which provides firefox-mozilla-build) because it's creating the problems you experienced, but not sure yet.
That's what I meant.
I deleted firefox-esr from GUI, but when finished, it somehow appears.
The build_setup.conf was not created by me, it was generated. I just posted to show, something put firefox-esr back even after 'deleting' in GUI.

Never mind it, Fred... Minor issue.
Tip:
At a certain point of running mklive-stretch you are asked to run Xterm just before exiting the chroot.
If you choose yes, and then when it appears, type synaptic and you can check everything, remove, install etc...
Thanks, I'll try this....

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

#1368 Post by fredx181 »

dcung wrote:I deleted firefox-esr from GUI, but when finished, it somehow appears.
The build_setup.conf was not created by me, it was generated. I just posted to show, something put firefox-esr back even after 'deleting' in GUI.
Yes, I understood that the build_setup.conf is the generated one, and it should indeed reflect what you edited in the package install sections, but obviously it didn't for you.
I tried to reproduce. but cannot, maybe I'm doing something different than you.
What is it you did exactly ?
I did ./mklive-stretch -gui , chose DDog, and edited the install lists in similar way as you did.

Fred

dcung
Posts: 242
Joined: Sat 14 Jul 2018, 00:11
Location: Down Under - 3rd rock from Sun.

#1369 Post by dcung »

Hi Fred,
fredx181 wrote:About Thunar:
In your build config you have "xfce4-places-plugin", it depends on Thunar, so that's probably the reason you couldn't get rid of Thunar.
I didn't know that was also a Thunar dependency.

fredx181 wrote:I tried to reproduce. but cannot, maybe I'm doing something different than you.
I think I know what my mistake was.
I kept doing copy/paste from a 'contaminated' source.

I just made another fresh iso, which include nvidia, apulse firefox-mozilla-build among other things. And firefox-esr didn't appear.

My apology for sending you to a 'wild goose' chase. :oops:

Regards.

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

#1370 Post by fredx181 »

Added to Stretch custom repo:
- Xlunch graphical app launcher, see info here:
http://murga-linux.com/puppy/viewtopic. ... 32#1003532
Install with synaptic or apt-get:

Code: Select all

apt-get update
apt-get install xlunch
- And redshift-gui-lite, see info here:
http://murga-linux.com/puppy/viewtopic. ... 92#1005692

Only difference is that it's packaged as deb instead of portable.
(and it will replace "redshift-gui" (if installed) )
Install with synaptic or apt-get:

Code: Select all

apt-get update
apt-get install redshift-gui-lite
Fred

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#1371 Post by johnywhy »

fredx181 wrote:newest firefox-esr requires pulseaudio (or apulse) for sound
Change the line in Firefox-apulse... and install Pulse...
Or, if like me, you don't want to install Pulse, in order to run the OS as slim as possible, then just install a browser that doesn't require Pulse.

This 32-bit Opera deb installs and runs on Devuan Dog without issue.
https://get.geo.opera.com/pub/opera/des ... 898/linux/

It's a Chrome fork, so it supports Chrome extensions with this:
https://addons.opera.com/en/extensions/ ... xtensions/

Then, remove the Pulse volume control (if it's in your panel), and use this Alsa volume control instead:
http://murga-linux.com/puppy/viewtopic.php?t=114237

Then you can of course uninstall Firefox.

cheers!
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

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

#1372 Post by fredx181 »

Thanks johnywhy,

Just to add, for info: apulse (= alsa pulse) is not pulseaudio, it's a workaround for to avoid the need to install pulseaudio for applications that require it, e.g. latest Firefox Quantum, to make sound work using Alsa, run:

Code: Select all

apulse firefox
(needs small 'apulse' package installed)

Fred

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

new thunar-custom action

#1373 Post by zagreb999 »

who knows to create
new thunar-custom action
with shell script that works in terminal,
to convert pdf to djvu?
------------------------------
pdf2djvu -o surveying.djvu dokument2.pdf --pages=1-6
---------------
"dokument2.pdf" is the name of file to be converted
"1-6" is the number of pages
-------------------------------
"dokument2.pdf" can be any pdf file...
"1-6" can be all pages...
-----------------
thanks!

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

#1374 Post by fredx181 »

Hi zagreb,

If you add attached script pdf-to-djvu in PATH (e,g, in /usr/local/bin/) (remove fake .gz and make executable first) it should work with the Thunar custom action like you can see at screenshots below.
This is using xterm, but can be also another terminal, of course, like xfce4-terminal.

Not sure what you need exactly, but this supports multiple .pdf files to convert and has a prompt for to set the number of pages.
EDIT: Forgot to mention, the converted file has the same name as the pdf and will be in the same directory, with extension .djvu

Fred
Attachments
pdf-to-djvu.gz
Remove fake .gz, make executable and put it in PATH
(330 Bytes) Downloaded 122 times
2018-10-02-180003_405x489_scrot.png
Basic
(53.37 KiB) Downloaded 421 times
2018-10-02-180021_405x489_scrot.png
Appearance conditions
(53.23 KiB) Downloaded 418 times

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#1375 Post by johnywhy »

fredx181 wrote:apulse (= alsa pulse) is not pulseaudio, it's a workaround for to avoid the need to install pulseaudio for applications that require it, e.g. latest Firefox Quantum, to make sound work using Alsa
thx for clarification, Fred. For info, what other apps require this?
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

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

#1376 Post by fredx181 »

johnywhy wrote:
fredx181 wrote:apulse (= alsa pulse) is not pulseaudio, it's a workaround for to avoid the need to install pulseaudio for applications that require it, e.g. latest Firefox Quantum, to make sound work using Alsa
thx for clarification, Fred. For info, what other apps require this?
You probably mean: apps that absolutely require pulseaudio, so cannot work with alsa (and can possibly use apulse to workaround that).
Not sure. Could well be that there are such applications that I don't know about yet.

Fred

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

#1377 Post by zagreb999 »

compliments fred!

it works... great... fantastic!

thanks!

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

progress bar for pdf-to-djvu

#1378 Post by zagreb999 »

hi fred
pdf-to-djvu works
perfect

can be added
progress bar for pdf-to-djvu
to monitor converssion of
large books...?

thanks!

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

Re: progress bar for pdf-to-djvu

#1379 Post by fredx181 »

zagreb999 wrote:hi fred
pdf-to-djvu works
perfect

can be added
progress bar for pdf-to-djvu
to monitor converssion of
large books...?

thanks!
I think that's going to be very complicated, maybe possible by using pv, but I don't know how.
Perhaps better ask in the 'Programming' section.

Fred

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

#1380 Post by zagreb999 »

thanks fred,
it would be very useful
if you can add pdftodjvu
to repositories-
to be possible to install
with synaptic
-----------
djvu is great app, much faster
and better than pdf!
regards.

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

#1381 Post by fredx181 »

zagreb999 wrote:it would be very useful
if you can add pdftodjvu
to repositories-
to be possible to install
with synaptic
OK, good idea, added package pdf-to-djvu to repos, install with Synaptic or with apt-get;

Code: Select all

apt-get update
apt-get install pdf-to-djvu
The included script pdf-to-djvu (in /usr/local/bin) has small change, should still be possible to call with Thunar custom action, but you can run also from Menu > Graphics > "Pdf to Djvu convert", then using yad file-selector you can select .pdf files to convert to .djvu.

Fred

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

#1382 Post by zagreb999 »

bottom border line for xfce

regards
who knows to add bottom border line
on windows of all apps-as
upper border line,
to be able to move windows
on screen as with upper border
with mouse cursor for XFCE
desktop ?!

thanks!
Attachments
Screenshot_2018-10-05_09-27-47.jpeg
(179.9 KiB) Downloaded 224 times

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

#1383 Post by fredx181 »

*** Install Debian Stretch-Backports kernel ***
(currently it's 4.18.0-0.bpo.1)
And build aufs using aufs-dkms, the Debian kernel doesn't include aufs by default
Different from "upgrade-kernel", this will create initrd.img, initrd1.xz, vmlinuz1 and a .squashfs module containing the backports-kernel in a directory on partition of choice (see screenshots).
Similar to how "apt2sfs" works, the required packages are installed (using unionfs-fuse) in "chroot" (jail) so it doesn't alter the filesystem.
So, after running, copy the created files to the frugal installed 'live' folder and reboot to boot with the backports kernel.
(recommended to make backup first of original initrd.img, initrd1.xz, vmlinuz1)

Install upgrade-kernel-bpo with Synaptic (Reload first) or with apt-get:

Code: Select all

apt-get update
apt-get install upgrade-kernel-bpo
Run from Menu > System > Upgrade to Backports kernel

Should work also for a Devuan build

EDIT: Note that this process needs around 750MB free space (temporary at some point, final result will be much less, around 95MB)

EDIT2: Updated to v 0.0.3, made some small changes:
- Will ask for password now when running as normal user
- Better error checking and cleaning up when interrupted

Fred
Attachments
2018-10-06-191828_468x206_scrot.png
Final result in sda5
(74.75 KiB) Downloaded 1073 times
2018-10-06-184606_502x345_scrot.png
(56.56 KiB) Downloaded 1074 times

trister
Posts: 137
Joined: Sun 01 Mar 2015, 21:16

#1384 Post by trister »

fredx181 wrote:*** Install Debian Stretch-Backports kernel ***
(currently it's 4.18.0-0.bpo.1)
...

Fred
a)How difficult would be to convert this script (or add an extra option) to create the files for the current latest debian kernel instead of the backport one?

(I've asked something like this in the past - to do a kernel upgrade with just copying 3-4 files on the /live folder).



b)Also, I would like to inform our readers that after 3 weeks of testing the stretch32bit version with JWM runs very well on P4 1.6GMHz with 512MB ram. The custom frugal install has LibreOffice 4.4 , firefox 10 (only for playing swf files) and latest firefox , scratch , tux paint,math and type.
Btw, I could not believe that firefox 10 could cooperate so well with the latest adobe flash (v31.0.0.xxx). I can use all the latest flash swf files without having to deal with the latest & heaviest firefoxes.

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

#1385 Post by fredx181 »

trister wrote:
fredx181 wrote:*** Install Debian Stretch-Backports kernel ***
(currently it's 4.18.0-0.bpo.1)
...

Fred
a)How difficult would be to convert this script (or add an extra option) to create the files for the current latest debian kernel instead of the backport one?

(I've asked something like this in the past - to do a kernel upgrade with just copying 3-4 .
Not very difficult, but I'd like to keep supporting LZ4 for loading and mounting .squashfs.
The backports kernel has that support by default, so only aufs is needed to be built by using aufs-dkms.
But the stable (4.9) kernel hasn't got support for LZ4 by default, so there's the problem.
However, somehow should be possible to make script similar (as you say, kernel upgrade with just copying 3-4)
I'll get back later about it.

Fred

Post Reply