Create Debian 9 (Stretch) minimal ISO similar to DebianDog

A home for all kinds of Puppy related projects
Message
Author
backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#1361 Post by backi »

Hi dcung!
SpaceFm could be the best Filemanager IMO..... if not...... i cancelled it as not usable.

Be careful with SpaceFm.........serious Problems with copying .Did encounter myself .Seems this Bug is not solved til now.
I am going to look where this Problem was discussed .
Look For :
"SpaceFm stalled while copying " .

http://murga-linux.com/puppy/viewtopic. ... 1&start=15

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

#1362 Post by fredx181 »

dcung wrote:So I thought, I give SpaceFM a try.
Installing from synaptic (full-dog64), I get this error.
Mmm... bug again, congratulations, you've found another one :wink:
Should be fixed now, upgraded pfind in repos.
This means when installing SpaceFM that pfind will be upgraded.
This is proof again how strict (and therefore fragile) the Debian package management is.
(just one file (icon in this case) that has the same path in two packages, it's is not allowed)
I like PCManFM, so when I made iso using mklive, I added it (in addition to 'default' file manager) . In this instance, I added to 'full' version iso, which has Thunar as default.
....
But I found that some right click menu options are missing (activate/deactivate module).
Is there some missing package to install or config I need to do?
Extract attached tar.gz, then copy the .desktop files (inside actions folder) to:
~/.local/share/file-manager/actions/
Also it's required to have package "libfm-modules" installed.

EDIT: backi is right about that SpaceFM gets stuck on some special files when copying.
For Thunar it's the same, but it shows a message that it can't copy and give the option to skip and then continues, SpaceFm just stops (from what I tested)

Fred
Attachments
pcmanfm-actions.tar.gz
PcmanFM actions
(654 Bytes) Downloaded 69 times

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

#1363 Post by fredx181 »

johnywhy wrote:pulseaudio plugin panel-control:
So you added the pulseaudio plugin panel-control to the xfce4-panel and didn't install pulseaudio and pavucontrol.
I have volumeicon (alsa) I don't need pulseaudio , but if you want pulseaudio then.... it would be "logical" :wink: to install pulseaudio.

EDIT:
The "pulseaudio plugin" panel-control is already installed by your script. I can't tell which package it's coming from.
I think it comes from the "xfce4-goodies" package

Fred

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

#1364 Post by dcung »

fredx181 wrote:Also it's required to have package "libfm-modules" installed.
This is what I was missing... Sorted now. Thanks Fred.

I'll skip SpaceFM then... Thanks backi & Fred for the heads up.
Maybe better put the 'bug' back Fred to prevent it being installed... :)

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

#1365 Post by dcung »

Another report/observation.

I noticed that apulse package (apulse-firefox) has /opt/firefox/firefox hardcoded. Hence, to get YouTube sound, you can either edit the file to make Firefox-ESR (in /usr/lib/firefox-esr/) works - (eg. simply get rid of firefox-apulse-full-path, and it picks up from PATH, or something else, up-to-you).

OR you install firefox-mozilla-build which install in /opt/firefox. No need to edit apulse-firefox. (and I uninstalled Firefox-ESR)

I have done both, and either works.

Now that Fred has 'resolved' my PCManFM issue (above), it was time to make a new iso from GUI (full-dog openbox_xfce-jwm_64) - attached build conf file, remove fake gz.

I happened to remove firefox-ESR from mklive build list.
Added apulse and firefox-mozilla-build.
Is there a 'source' somewhere still ignoring you deleting some packages of list? Unless it came back from some dependencies somewhere (?)

firefox-ESR and Thunar are among those packages for this iso.

When I added pcmanfm filemnt-pcmanfm edit-sfs-pcmanfm libfm-modules, I removed thunar thunar-archive-plugin edit-sfs-thunar filemnt-thunar.

But Thunar and Firefox-ESR always 'came back'. I just simply got rid of them afterward.

Cheers.
Attachments
build_setup.conf.gz
Remove Fake gz
(4.97 KiB) Downloaded 75 times
2018-09-25-074356_502x329_scrot.png
(18.67 KiB) Downloaded 295 times

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.

Post Reply