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 21 Nov 2019, 09:31
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
The Debian-Stretch-Live Starter Kit
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 14 of 21 [312 Posts]   Goto page: Previous 1, 2, 3, ..., 12, 13, 14, 15, 16, ..., 19, 20, 21 Next
Author Message
dancytron

Joined: 18 Jul 2012
Posts: 1388

PostPosted: Fri 14 Sep 2018, 17:41    Post subject:  

fredx181 wrote:
Hi dcung, dancytron,

dancytron wrote:
So to fix in existing version, just delete:

Quote:
Package: libxml2
Pin: version 2.9.1+dfsg1-5+deb8u4
Pin-Priority: 1001

Package: libxml2-dev
Pin: version 2.9.1+dfsg1-5+deb8u4
Pin-Priority: 1001

from existing /etc/apt/preferences?


Yes, but I think it's required that there's only one empty line between the pinned sections, not 2 or 3.
And, for safety, better remove wget section also, after all it appeared to be not a good idea to pin these packages.
(it was done to make the ISO smaller because the newer versions need more dependencies)


/snip

Fred


Thanks. I also had to unmark wget and libxml2 in synaptic.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4165
Location: holland

PostPosted: Sat 15 Sep 2018, 19:40    Post subject:  

dancytron wrote:
Thanks. I also had to unmark wget and libxml2 in synaptic.


Yes, reminds me that there's also /var/lib/synaptic/preferences (holds the "pinned" configuration specially for synaptic) that needs editing to make the change complete.

@dcung You may want to edit that file , or just rename it to /var/lib/synaptic/preferences.bak

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
dcung

Joined: 13 Jul 2018
Posts: 236
Location: Down Under - 3rd rock from Sun.

PostPosted: Sun 16 Sep 2018, 03:49    Post subject:  

fredx181 wrote:
@dcung You may want to edit that file , or just rename it to /var/lib/synaptic/preferences.bak


👌

Thanks Fred.
Back to top
View user's profile Send private message 
westwest

Joined: 10 Apr 2015
Posts: 71

PostPosted: Mon 17 Sep 2018, 17:42    Post subject: virtualbox  

Hi, having followed your instructions i got virtuabox running,
although i had to install linux-headers-ALL, not included in the mini-devx.

Now more virtualbox woes, i get an error message:

[ 304.538959] vboxdrv: disagrees about version of symbol cpu_tlbstate
[ 304.538964] vboxdrv: Unknown symbol cpu_tlbstate (err -22)

Searching around it seems that i would have to recompile the kernel with "make clean", and perhaps install some more packages...

I'm absolutely unsure about any of this, and any help to get virutalbox properly functionning on the StarterKit will be greatly appreciated.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sat 24 Nov 2018, 17:01    Post subject:  

This is an iSmart 14inch Windows "cloudbook" with an N3350 chipset, 3GB RAM and a 32GB eMMC drive.

The AMI firmware has a counterintuitive setup. When the eMMC drive is erased and loaded with Linux, it must remain in UEFI format. But you must turn ON Legacy (CSM) mode to make it bootable.

The touchpad is a Hantick unit that is not recognized by the stock 4.9.0 kernel. So I dropped in a 4.19.2 kernel from LxPup.

Everything works, including the mini HDMI port and the card slot.
ismart.png
 Description   
 Filesize   119.99 KB
 Viewed   1062 Time(s)

ismart.png

Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Mon 26 Nov 2018, 10:27    Post subject:  

How to make a squashfs module for the Kodi media player

1. Start with a CleanMode setup to ensure that you get all of Kodi's dependencies.

2. By default, the Debian version of Kodi uses PulseAudio. To use ALSA audio instead, do the following:
[Edit] This step may be optional.
a. Create the folder /root/.config/pulse
b. Create the file client.conf
c. Add the line: autospawn=no
d. Save.

3. Kodi uses accelerated video and needs mesa graphics. You may want to build a squashfs module for it too.
a. Run repo2sfs.
b. Use the Package name: libgl1-mesa-dri and the Extra package: mesa-utils
c. Build and load the module.
d. IMPORTANT: if you are loading mesa on-the-fly, you must also do an X restart to activate it.
e. Check that mesa is working by running the command: glxgears
f. To auto-load mesa at bootup, put the module in the "live" folder of your frugal install.

4. Build the Kodi squashfs module.
a. Run repo2sfs and use the package name: kodi.
b. Load the module and test it from the command line with: kodi
c. If it works, you can run it from the Sound and Video menu.

Last edited by rcrsn51 on Tue 22 Oct 2019, 13:01; edited 2 times in total
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Mon 03 Dec 2018, 09:59    Post subject:  

How to run Google Earth

1. Google Earth requires a machine with some power, like a Core i3 with 4GB RAM.
2. It runs inside the Chrome browser, so you need a 64bit version of the Starter Kit.
3. You may need accelerated graphics. See the instructions above for building a mesa squashfs module.
4. To build a Chrome module, read here.
5. Load both modules and restart X if needed.
6. Open the Chrome browser and go to: google.com/earth

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

Last edited by rcrsn51 on Mon 24 Dec 2018, 20:47; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Thu 06 Dec 2018, 08:47    Post subject:  

Here is the Dell 3020 again, now with a hard drive install of the Starter Kit.

This is a UEFI machine that originally had Win8. It was refurbished with Win10 and set to legacy mode. (This is a common procedure with commercial recyclers.)

The Win10 setup is stable, so I didn't want to risk damaging it. I booted off a Tahrpup flash drive, ran Gparted, shrank the Windows partition by 10GB and made a new ext3 partition. When I rebooted to Windows, it was still happy.

I booted off the Tahrpup drive again, ran the Stretch-Live-Frugal-Installer and installed the Starter Kit into the new sda4. But how to boot it without impacting Windows?

The safest way is to use a small dedicated Grub4Dos-bootable flash drive with a menu.lst like this:

Code:
timeout 0
default 0
title Deblive-Stretch-amd64-60 on sda4
root (hd1,3)
configfile /Stretch64/grubmenu.txt

The "configfile" line points to the location on sda4 of the grub code generated by the installer.

The boot procedure starts off the flash drive, then jumps to the hard drive and loads the second GRUB menu. From there, the Linux install launches as usual.

To boot Windows, I just remove the flash drive.
snappie.png
 Description   
 Filesize   249.25 KB
 Viewed   789 Time(s)

snappie.png


Last edited by rcrsn51 on Sun 03 Feb 2019, 04:13; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Fri 07 Dec 2018, 14:06    Post subject:  

How to make a Java module in the Starter Kit

Run repo2sfs with the Package name: openjdk-8-jre

To include a web browser plugin (only works in older browsers like Palemoon), add the Extra package: icedtea-8-plugin

Make this link: ln -sf /usr/lib/jvm/java-8-openjdk-i386/jre/bin/java /usr/local/bin
For the 64bit version, change "i386" to "amd64".

Run local Java apps with: java -jar xxx.jar

For the browser plugin, use: ln -sf /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/IcedTeaPlugin.so /usr/lib/mozilla/plugins
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sun 09 Dec 2018, 08:34    Post subject:  

How to make an Xournal squashfs module

Xournal is primarily a notetaking, sketching, annotating app, and it works with fillable PDF files. But it is also a simple desktop publishing program. You can place blocks of text and graphics on a page, modify them, move them around, etc.

Run repo2sfs with the Package name: xournal

The build includes Ghostscript as a dependency. But if you already have CUPS printing installed, you don't need it again. At Pause A, go to /var/cache/apt/archives. Delete any redundant packages.

The install also contains the folder /usr/share/mime. Each time the module is activated, it triggers an update-mime-database operation. To avoid this, stop at Pause B. Go to /tmp/repo2sfs and delete the folder usr/share/mime.

Look for Xournal in the Accessories menu. The on-line documentation is here.

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

Last edited by rcrsn51 on Wed 27 Feb 2019, 08:27; edited 4 times in total
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Mon 10 Dec 2018, 11:45    Post subject:  

Gnetcat is a GTKdialog front-end for the netcat file transfer tool (busybox nc). It will work between any two machines that are visible to each other on your LAN - wired or wireless. Install the package on both computers and run it from the Internet menu. Gnetcat uses lzop compression, which is a dependency.

On the sending machine, select the source folder. Click Send. To select a single file, use Right-click>Copy path>Paste.

On the receiving machine, enter the IP address of the sender and select the destination folder. Click Receive.

As usual, the presence of firewalls will interfere with gnetcat.
snappie.png
 Description   
 Filesize   30.73 KB
 Viewed   651 Time(s)

snappie.png

gnetcat_1.3.deb.gz
Description  Remove the fake .gz extension
gz

 Download 
Filename  gnetcat_1.3.deb.gz 
Filesize  5.23 KB 
Downloaded  124 Time(s) 

Last edited by rcrsn51 on Wed 13 Mar 2019, 12:37; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Thu 13 Dec 2018, 10:22    Post subject:  

How to make a squashfs module for Gnumeric

This is a standard repo2sfs build. The module is a reasonable 16MB in size and looks stable.
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1388

PostPosted: Thu 13 Dec 2018, 14:00    Post subject:  

I must have missed it, but what is the difference between repo2sfs and apt2sfs?

Are there situations where one is better than the other?
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Thu 13 Dec 2018, 14:15    Post subject:  

dancytron wrote:
Are there situations where one is better than the other?

Look at the various examples in the thread.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Fri 14 Dec 2018, 10:40    Post subject:  

How to make a squashfs module for Guvcview

This is a regular repo2sfs build.

To ensure that the module is portable, make it in a CleanMode environment. Guvcview uses a number of audio-video libs that might already be in your current system and would be omitted from the build.

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

Last edited by rcrsn51 on Sat 15 Dec 2018, 09:32; edited 1 time in total
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 14 of 21 [312 Posts]   Goto page: Previous 1, 2, 3, ..., 12, 13, 14, 15, 16, ..., 19, 20, 21 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.1623s ][ Queries: 13 (0.0685s) ][ GZIP on ]