The Debian-Stretch-Live Starter Kit

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

#16 Post by fredx181 »

rcrsn51 wrote:how do you set a different locale? I know that you can do it in your Dogs, but there is nothing in the System menu that comes out of my mklive build.
By installing locale-conf and running from System > Set Locale/Language
It will install first the "locales" package and then gives choice for different locales and to set the default locale.
Works for me, but haven't seen any test reports from anyone.
https://fredx181.github.io/StretchDog/i ... -s_all.deb

EDIT: Below screenshot menu locale set to dutch
EDIT2: And screenshot en Francais :wink:

Fred
Attachments
2018-02-21-232155_595x369_scrot.png
Menu Francais :)
(68.37 KiB) Downloaded 3056 times
2018-02-21-223705_537x336_scrot.png
Menu in dutch
(57.29 KiB) Downloaded 3097 times
Last edited by fredx181 on Wed 21 Feb 2018, 22:28, edited 2 times in total.

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

#17 Post by rcrsn51 »

Thanks Fred. I tested the locales package and it looks good.

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

#18 Post by rcrsn51 »

How to install the Plank desktop dock

1. Run: apt-get install plank

2a. Start Plank from the Accessories menu.
2b. To make Plank auto-start at bootup, run: ln -sf /usr/bin/plank /root/Startup/plank

3. To add items to the dock, go to /usr/share/applications. Drag the .desktop files onto the dock.

4. To configure Plank, ctrl-right-click the dock and select Preferences.

------
Attachments
plank.png
(15.42 KiB) Downloaded 1965 times
Last edited by rcrsn51 on Wed 09 May 2018, 11:46, edited 1 time in total.

User avatar
petihar
Posts: 366
Joined: Mon 09 Apr 2007, 12:04

#19 Post by petihar »

Good ! Excellent initiative, I'm quick to test Debian-Stretch-Live Starter Kit .
Regards petihar

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

#20 Post by rcrsn51 »

How to install the VLC media player

You have two choices:

1. Install directly from the Debian repo.

Code: Select all

apt-get update #if needed
apt-get install vlc
However, VLC needs a patch to run-as-root.
Run the command: sed -i 's/geteuid/getppid/' /usr/bin/vlc

2. Make a squash module using repo2sfs. Read here for details. Ignore the non-root stuff.

To enable run-as-root:
a. Stop at Pause B: "fix anything in /tmp/repo2sfs".
b. Open a terminal (F4) and run: sed -i 's/geteuid/getppid/' /tmp/repo2sfs/usr/bin/vlc
c. Finish the build.
d. Load the module and run it from the Audio/Video menu.

Update: Repo2sfs will now automatically build VLC 3.0.3.

-------------------
Last edited by rcrsn51 on Thu 20 Dec 2018, 12:38, edited 7 times in total.

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#21 Post by keniv »

@rcrsn51,
Thank you for this. I have been using Fred's xenial dog and now bionic beaver to run a sdr app called gqrx. I also have ubuntu 16.04 and XP on this machine. XP runs another sdr. Had to use grub2 (I think that's what ubuntu uses). I find it harder to use than grub4dos. Deb stretch live starter kit is up and running. Also using palemoon. As it happens I like it better than FF. Rather than in /live/modules I set it up to load on the fly. Also have gqrx installed and working. Thought it might be a bit faster on this but I'm not sure it is but it's working. Have not come across any problems yet.

Regards,

Ken.

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

#22 Post by rcrsn51 »

Thanks for testing.

There probably isn't much of a difference in speed. The only real difference is the size of 01-filesystem.squashfs. But it's not being loaded into RAM, so its size shouldn't have any major side effects on the applications that are running.

Fred could comment on this better than I.

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

#23 Post by fredx181 »

@keniv and @rcrsn51
There probably isn't much of a difference in speed. The only real difference is the size of 01-filesystem.squashfs. But it's not being loaded into RAM, so its size shouldn't have any major side effects on the applications that are running.
Yes, not much, Bionicdog is probably a little more bloated because of more startup processes (and maybe because of (default) systemd boot :?: )

@all, Another subject, for info:
There is deb-mutimedia repository which can be activated by uncommenting it (remove the "#" ) from /etc/apt/sources.list, so becomes this:

Code: Select all

#Debian Multimedia
deb ftp://ftp.deb-multimedia.org/ stretch main non-free 

Then, in terminal:

Code: Select all

apt-get update
EDIT: And install deb-multimedia-keyring:

Code: Select all

apt-get install deb-multimedia-keyring
apt-get update
This repository has more multimedia apps included than the stock Debian repo's , or/and different/newer builds.
For example the vlc package has gtk2 support (more convenient from "Open file"), can be set in Preferences from "Interface settings", see screenshot.

Fred
Attachments
2018-02-23-183437_537x35_scrot.png
Vlc from deb-multimedia, option to set window style to gtk+
(6.78 KiB) Downloaded 2756 times

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#24 Post by keniv »

@fredx181 and @rcrsn51,
As I said in an earlier post this machine is probably not up to the demands that sdr packages put on machines but as I don't have anything better I have to use it. I thought I might save some CPU cycles which might help with the sdr program but this has turned out not to be the case. Thanks for the explanation as to why. However, I still really like these dogs. I have added a few more small debs to this one from Freds repro linked to in the first post. These include firewall-puppy, evince and uextract. Installation went well. I have not tried anything yet that did not work. I like the idea of being able to build a dog to more exactly match my needs. I don't have the skills to do this for myself.

Regards,

Ken.

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

#25 Post by dancytron »

I did a manual frugal install. I didn't do much with it, but it seems to work flawlessly.

Great job.

My only comment is to consider adding the quick-remaster. I can't imagine it takes much space and then it would have the built in ability to reproduce itself.

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

#26 Post by rcrsn51 »

Thanks for testing.
it seems to work flawlessly.
It should. It's just a minimal build of Fred's mklive script with some extra utilities.
My only comment is to consider adding the quick-remaster. I can't imagine it takes much space and then it would have the built in ability to reproduce itself.
I left out remastering because I never do it and I can't provide any help. But people can easily put it back in by getting the packages from Fred's repo.

Then he can be the support person. :wink:

Or they can use this ISO to run their own mklive build with their own selection of packages.

-----------------
Last edited by rcrsn51 on Sun 25 Feb 2018, 16:11, edited 1 time in total.

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

#27 Post by rcrsn51 »

How to make your own 64bit Google Chrome Browser squashfs module

You will use the repo2sfs tool from Page 1. If you are new to this, do the test-run first.

Now for Chrome - you will need a non-root user:

In the System Tools menu, run Add New User
Create a user named "guest" with password "guest"
Accept the default list of groups.

Download Chrome:

Code: Select all

wget --no-check-cert  https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Extract the chrome-guest-setup script attached below.

Because you are working with a 3rd-party Debian package, you will run repo2sfs a bit differently:
Start in an empty folder holding the chrome-guest-setup script and the Chrome .deb package.

Open a teminal (F4) and type:

Code: Select all

repo2sfs google-chrome-stable_current_amd64.deb #Hint: use Tab completion
Part-way through, you will get this dialog:

Code: Select all

In the next step, the package will be temporarily removed ...
Press Enter to continue:
Continue the build.

Stop at Pause B for "fix anything in /tmp/repo2sfs".
Open another terminal and run the chrome-guest-setup script.

Finish the build.
Load the module and run Google Chrome from the Internet menu.
Attachments
chrome-guest-setup.tar.gz
Extract this. It is NOT a fake .gz file.
Updated for Buster Starter Kit
(313 Bytes) Downloaded 205 times
Last edited by rcrsn51 on Fri 06 Mar 2020, 13:53, edited 26 times in total.

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#28 Post by Moat »

rcrsn51 wrote:You will need the repo2sfs tool attached below. It is a general-purpose script that pulls an app and its dependencies from the Debian repo and converts it into a squash module.
What a fantastic tool this is, sir!! In my personal mklive-stretch/Xfce build/re-master/project, it took this dingbat but three minutes to create perfectly-functioning .sfs's of Audacity and Gimp. The mind reels as to what to build next... :shock: :)

Thanks so much for this - as well as PeasyWiFi, which in my above build has been fast-connecting, trouble-free and solid as a rock (using WiFi only, so far). Wonderful stuff!! :D

And thanks also to Fred for his incredible mklive-stretch script and re-mastering tools!! :D

Bob

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#29 Post by backi »

Hi !
Just want to remind .....in Xenial/Debian Dog there is AptToSfs in Accessoire/Module Section which accomplish the same as repo2sfs .I think it is overlooked a lot somehow .
This Tool is one of my favorite Gimmicks .

Nevertheless want.. to thank rcrsn51 for his diligent never ending and creative Work .
Heaps of Tools and Contributions from him to the Community .
Thanks again .....So keep on rocking ...my Friends .

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#30 Post by Moat »

Ahh, yes, backi... I just built a working Stellarium .sfs with AptToSfs! Initially, by it's description I thought it was something a bit different (i.e. - building an .sfs from already installed packages) - but now see that it's functionally nearly the same as repo2sfs.

Both great, great tools! :)

Bob

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

#31 Post by fredx181 »

rcrsn51 wrote:Download Chrome:
Code:
wget https://dl.google.com/linux/direct/goog ... _amd64.deb

Start in an empty folder holding the repo2sfs script and the .deb file. Because you are working with a 3rd-party Debian package, you will run repo2sfs a bit differently:
Hi Bill, in case you don't realize, the google-chrome repository is included in your build of DebLive_Stretch-amd64-52.iso (see /etc/apt/sources.list.d/google-chrome.list), so just apt-get will do:

Code: Select all

apt-get update
apt-get install google-chrome-stable
Fred

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

#32 Post by fredx181 »

Moat wrote: I just built a working Stellarium .sfs with AptToSfs! Initially, by it's description I thought it was something a bit different (i.e. - building an .sfs from already installed packages) - but now see that it's functionally nearly the same as repo2sfs.
Yes, functionality is the same, but works in a different manner, apt2sfs installs the packages in chroot and repo2sfs just simply extracts the packages before making sfs.

BTW, I tried repo2sfs creating .squashfs for gimp, ffmpeg, bleachbit and all work fine.

@backi, you may want to try repo2sfs in Xenialdog, it could be that apt2sfs does too much "configuring", which may result in the problems you talked about earlier (just guessing, should be tested to be sure)

EDIT: To clarify more about apt2sfs and "configuring":
Most Debian packages have "pre" or "post" install scripts that are executed when installing/configuring).
Apt2sfs simulates normal install in a chroot (jail) environment (outside the running system).
Specially with packages that have systemd dependency, then sometimes unexpected things can happen, specially when unloading an SFS (on Xenialdog, which runs with systemd boot enabled).
(I must add that Debian-Stretch-Live Starter Kit runs by default WITHOUT systemd boot, so I expect no problems then with apt2sfs, unless you enable systemd-boot)

Fred

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#33 Post by backi »

deleted

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

#34 Post by rcrsn51 »

Thanks everyone.

I am certainly aware of apt2sfs - I use it myself.

But I wanted a tool with a little more control over the build process.

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

#35 Post by rcrsn51 »

How to install Master PDF Editor

Update: Fred has packaged v4.6.31 in DEB form with a complete dependency list and has added it to his repo. You can now build a squashfs module using a vanilla repo2sfs operation.

-----------------------

Go here and get a 32bit or 64bit Debian package.

You have two choices:

1. Do a regular install with Right-click > Install Deb. However, there is a missing dependency.

Code: Select all

apt-get update #if needed
apt-get install libsane
2. Build a squashfs module.

a. Get repo2sfs from page 1.
b. Read the Chrome instructions (page 2) for doing a third-party build. Ignore the non-root stuff.
c. Add "libsane" to the EXTRAS list.
d. Load the module and run it from the Office menu.

Hint: This is a QT app. If your base setup already has the QT libs, you may want to omit them from the squash module.
At Pause A, go into /var/cache/apt/archives and delete their .deb files.

Here is another example: Some apps want ghostscript. But if you already have ghostscript via CUPS, there is no need to include it in the module.

-------------------
Last edited by rcrsn51 on Fri 26 Jun 2020, 18:27, edited 6 times in total.

Post Reply