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 Sun 25 Feb 2018, 16:02
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 3 [38 Posts]   Goto page: 1, 2, 3 Next
Author Message
rcrsn51


Joined: 05 Sep 2006
Posts: 11843
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/ep5f6dmlokpjt51/DebLive_Stretch-i386-52.iso.
Code:
159be196a8a59da75e1019cecc958334  DebLive_Stretch-i386-52.iso

This is a barebones 32bit ISO with the stock Debian k4.9.0-5 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. The first app you install will probably be a web browser. You have two choices.

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 Network menu.

b. Get the latest Firefox.
Code:
wget --no-check-cert https://ftp.mozilla.org/pub/firefox/releases/58.0.2/linux-i686/en-US/firefox-58.0.2.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 Network 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/

4. For an office suite, read here.

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

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

6. For print/scan, use
Code:
apt-get update #if needed
apt-get install cups sane-utils peasyscan
apt-get install hplip-print-scan #for HP devices
.
7. For a PDF viewer, use
Code:
apt-get update #if needed
apt-get install evince

8. For file extractions, use Unzipper from the Accessories menu.

9. Chromium/Chrome users can build their own squash modules. See below.

10. For additional WiFi drivers, read here.

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

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

Last edited by rcrsn51 on Yesterday, at 11:41; edited 10 times in total
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 1741
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: 11843
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: 1741
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: 1741
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: 11843
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.

Before trying Chromium, do a test run.
Start in an empty folder. Open a terminal and run the script.
Select the app "asunder" with extra package "lame".
Build and test the squash module.

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_stuff package attached below. It has two files - the script chromium_guest and a new .desktop file.

Open the file /etc/apt/sources.list
Add "security" to the second line
Code:
deb http://deb.debian.org/debian/ stretch main contrib non-free security

Run an apt-get update

Run repo2sfs and select "chromium"
At the second pause, go to /tmp/repo2sfs
In usr/bin, insert the chromium_guest script
In usr/share/applications, delete the current .desktop file and add the new one

Continue the build.

The test run will fail to work. Run Chromium-guest from the Network menu.

-----------------
repo2sfs.tar.gz
Description  Extract this - it is NOT a fake .gz file
Updated 2018-02-23
gz

 Download 
Filename  repo2sfs.tar.gz 
Filesize  990 Bytes 
Downloaded  25 Time(s) 
chromium_stuff.tar.gz
Description  Extract this - it is NOT a fake .gz file
gz

 Download 
Filename  chromium_stuff.tar.gz 
Filesize  479 Bytes 
Downloaded  15 Time(s) 

Last edited by rcrsn51 on Fri 23 Feb 2018, 06:03; edited 3 times in total
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 1741
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: 1741
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: 1741
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: 882
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: 11843
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 Network 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.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 2770
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: 1741
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: 11843
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: 1018

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 3 [38 Posts]   Goto page: 1, 2, 3 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.0545s ][ Queries: 12 (0.0054s) ][ GZIP on ]