Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 19 Jul 2018, 05:34
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
A Debian-Stretch-Live Starter Kit
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 8 [109 Posts]   Goto page: 1, 2, 3, ..., 6, 7, 8 Next
Author Message
rcrsn51


Joined: 05 Sep 2006
Posts: 12210
Location: Stratford, Ontario

PostPosted: Wed 21 Feb 2018, 10:54    Post subject:  A Debian-Stretch-Live Starter Kit  

Update: See Page 2 for 64bit versions.

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

1. Download http://www.mediafire.com/file/9p87d8649cmlkgz/DebLive_Stretch-i386-61.iso/file.
Code:
0336da6f16c2007da5ad270f8fce3332  DebLive_Stretch-i386-61.iso

This is a barebones 32bit ISO with the stock Debian k4.9.0-6 kernel. It does NOT contain any application software, but gives you full access to the Debian repos through apt-get or synaptic. Fred's repo here has many locally-developed packages.

2. Go here and get the debian-stretch-frugal-install tool. It can do frugal installs of the ISO onto hard drives or USB devices. This system is designed to use save folders, NOT save files. Your install must be on an ext partition.

3. Open the System Tools menu. Make desktop shortcuts for the Sakura terminal and the PCManFM file manager.

4. You will need a web browser. Here are two choices to get you started:

a. Get the Palemoon squashfs module here.
Code:
26f99ce4b8d5c5311fc3ea9c994b37ab  palemoon-27.7.2.en-US.linux-i686.squashfs

Go into your frugal install and locate the live/modules folder. Copy the module here. It will automatically load at bootup and appear in the Internet menu.

b. Get the latest Firefox.
Code:
wget --no-check-cert https://ftp.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/en-US/firefox-60.0.1.tar.bz2

Use Right-click > Open With > Accessories > Unzipper (For now, ignore the message about helper apps. Repeat.)
Extract the file to /opt
Run Firefox-apulse from the Internet menu.

To enable Youtube audio, set your browser to about:config. Drill down to security.sandbox and modify
EITHER
security.sandbox.content.level=0
OR
security.sandbox.content.level=2
security.sandbox.content.read_path_whitelist=/dev/snd/
security.sandbox.content.syscall_whitelist=54 (or 16 for 64bit)
security.sandbox.content.write_path_whitelist=/dev/snd/

5a. Chromium users can build their own squashfs module. See below.
5b. For the Google Chrome browser, read here.
5c. For Opera/Slimjet/Iron browsers , read here.

6. For an office suite, read here.

7. For a basic media player, use
Code:
apt-get update
apt-get install peasymp3

For other media players, see Fred's post here. Get VLC here.

8. For print/scan, use
Code:
apt-get update #if needed
apt-get install cups sane-utils peasyscan
.
Then read here. For a printer management app, read here.

9a. For a PDF viewer, use
Code:
apt-get update #if needed
apt-get install evince

9b. For PDF editing tools, read here or here.

10a. For a graphics/paint app, use
Code:
apt-get update #if needed
apt-get install azpainter

10b. For more graphics tools, get peasyscale or peasyglue from Fred's repo via apt-get.

11. For file extracting, use Unzipper from the Accessories menu.

12. For a temperature monitor, get CPUtemp. For a battery monitor, get Batterup. For a screen snapshot tool, get Snappie.

13. Users who prefer a desktop launch bar/dock should read here.

14. For a CD/DVD burning tool, read here.

15. Here is an assortment of network-related tools: PeasyPort, CamPhoneTab, YASSM, SimplePythonHTTPServer, BT4Stretch.

16. For additional WiFi drivers, read here. For info about network driver firmware, read here.

17. To manage your squashfs modules on-the-fly, get my-squash-loader.

For more details, read here. There are links to other useful info.

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

Last edited by rcrsn51 on Wed 04 Jul 2018, 12:39; edited 38 times in total
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 1826
Location: lincoln, uk

PostPosted: Wed 21 Feb 2018, 11:42    Post subject:  

neat

'installation' went well, copied the generated grub entry and manually added to my grub4dos menu1st entry

booted easily, snappy and clean

sadly I need chrome, I just don't get on with firefox derivatives, no chrome so tried chromium but run as root not supported, no iron or opera either

Smile
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 12210
Location: Stratford, Ontario

PostPosted: Wed 21 Feb 2018, 11:50    Post subject:  

Thanks for testing.

I have a separate set of instructions for building your own Chromium squash module.

But before going down that road, it would be nice if someone would at least confirm that the other browsers work.
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 1826
Location: lincoln, uk

PostPosted: Wed 21 Feb 2018, 12:06    Post subject:  

brb...
Back to top
View user's profile Send private message Visit poster's website 
ally


Joined: 19 May 2012
Posts: 1826
Location: lincoln, uk

PostPosted: Wed 21 Feb 2018, 12:13    Post subject:  

ok, posting from palemoon 27.7.2 using sfs load gui from Ddog special menu

Smile
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 12210
Location: Stratford, Ontario

PostPosted: Wed 21 Feb 2018, 12:19    Post subject:  

How to make your own Chromium squashfs module

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.

Extract the script and copy it to /usr/local/bin.

Before trying Chromium, do a test run.
Start in an empty folder. Open a terminal (F4) and run: repo2sfs
Select the app "asunder" with extra package "lame".
Build and test the squash module. It appears in the Audio/Video menu.

Now for Chromium - the latest versions prefer 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, especially Audio

Extract the chromium-guest-setup script attached below. Copy it to your work folder.

Run repo2sfs and select "chromium"
Stop at the pause for "fix anything in /tmp/repo2sfs".
Open another terminal and run: ./chromium-guest-setup
(or just click on the script file and choose "Run from a terminal")

Finish the build.
Load the module and run Chromium from the Internet menu.

-----------------
chromium-guest-setup.tar.gz
Description  Extract this - it is NOT a fake .gz file
Updated 2018-04-19
gz

 Download 
Filename  chromium-guest-setup.tar.gz 
Filesize  526 Bytes 
Downloaded  112 Time(s) 
repo2sfs.tar.gz
Description  Extract this - it is NOT a fake .gz file
Updated 2018-04-14
Simplified third-party install
gz

 Download 
Filename  repo2sfs.tar.gz 
Filesize  997 Bytes 
Downloaded  202 Time(s) 

Last edited by rcrsn51 on Tue 10 Jul 2018, 09:14; edited 16 times in total
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 1826
Location: lincoln, uk

PostPosted: Wed 21 Feb 2018, 12:27    Post subject:  

now posting from firefox 58.0.2

Smile
Back to top
View user's profile Send private message Visit poster's website 
ally


Joined: 19 May 2012
Posts: 1826
Location: lincoln, uk

PostPosted: Wed 21 Feb 2018, 12:34    Post subject:  

asunder created ok, didn't understand much of what the script was doing however, trying chromium now...

Smile
Back to top
View user's profile Send private message Visit poster's website 
ally


Joined: 19 May 2012
Posts: 1826
Location: lincoln, uk

PostPosted: Wed 21 Feb 2018, 12:48    Post subject:  

chromium buit and I'm posting from it now, however it appears faulty, I am unable to sign in

I tried uploading to the archive but it failed with error decoding json file, it gets scanned during upload

I've put it on my gdrive here:

https://drive.google.com/open?id=1PexyCMaSIgSa0vWtldVcMC_AYSZuwxda

also how to install flashplayer? and how to set country code?

Smile

Last edited by ally on Wed 21 Feb 2018, 13:19; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Keef


Joined: 20 Dec 2007
Posts: 904
Location: Staffordshire

PostPosted: Wed 21 Feb 2018, 13:13    Post subject:  

Palemoon squashfs working fine for me.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12210
Location: Stratford, Ontario

PostPosted: Wed 21 Feb 2018, 13:45    Post subject:  

ally wrote:
chromium buit and I'm posting from it now, however it appears faulty, I am unable to sign in

Please explain. I can run Chromium-guest from the Internet menu and sign into this forum.

Quote:
also how to install flashplayer?

At the moment, you would have to do it manually from https://get.adobe.com/flashplayer/. I will put up some instructions.

Quote:
and how to set country code?

From the System menu, run PeasyClock.

Last edited by rcrsn51 on Mon 19 Mar 2018, 12:37; edited 1 time in total
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3171
Location: holland

PostPosted: Wed 21 Feb 2018, 14:12    Post subject:  

Hi Bill, nice initiative !
Good to see different continuation of Stretch-Live.

Posting from Firefox according to your instruction in first post, only thing: no audio yet.
Maybe add info (or link to) about how to make audio work with apulse ?

Quote:
also how to install flashplayer?

At the moment, you would have to do it manually from https://get.adobe.com/flashplayer/. I will put up some instructions.


This works OK from what I tested;
https://fredx181.github.io/StretchDog/i386/Packages/Included/flashplayerchoice_1.0.3_all.deb
Appears as "Flashplayer Choice" in category Internet

Fred

_________________
Dog Linux website

Last edited by fredx181 on Wed 21 Feb 2018, 14:26; edited 2 times in total
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 1826
Location: lincoln, uk

PostPosted: Wed 21 Feb 2018, 14:18    Post subject:  

sorry, I wasn't very explicit, I am unable to sign into chromium itself to import my account specs

thanks for the peasyclock info

@fred - thanks

Smile
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 12210
Location: Stratford, Ontario

PostPosted: Wed 21 Feb 2018, 16:44    Post subject:  

Thanks Fred.

I updated the Firefox instructions above to include the latest security.sandbox modifications for Youtube audio.

Also, 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.

Bill

Last edited by rcrsn51 on Wed 21 Feb 2018, 17:00; edited 1 time in total
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1092

PostPosted: Wed 21 Feb 2018, 16:59    Post subject:  

rcrsn51 wrote:
Thanks Fred.

I am looking for a recent post that has the about:config settings for Firefox audio. Do you have one?

Also, 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.

Bill


You can put it in a user.js file in the directory that has the Firefox profile. 32 bit and 64 bit are different. This is what I have for 64 bit.

Code:
// for using apulse with latest firefox 64 bit
user_pref("security.sandbox.content.level", 2);
user_pref("security.sandbox.content.write_path_whitelist", "/dev/snd/");
user_pref("security.sandbox.content.syscall_whitelist", "16");
user_pref("security.sandbox.content.read_path_whitelist", "/dev/snd/");


edit: See this post for Fred's 32 bit version.

http://murga-linux.com/puppy/viewtopic.php?p=982503#982503
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 8 [109 Posts]   Goto page: 1, 2, 3, ..., 6, 7, 8 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1164s ][ Queries: 12 (0.0276s) ][ GZIP on ]