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 Fri 06 Dec 2019, 08:01
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 20 of 21 [315 Posts]   Goto page: Previous 1, 2, 3, ..., 18, 19, 20, 21 Next
Author Message
rcrsn51


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

PostPosted: Sat 02 Mar 2019, 07:31    Post subject:  

How to make a squashfs module for wxMaxima

wxMaxima is a GUI front-end for the open-source Maxima symbolic math system. It is in the Debian repos, so you can do a standard repo2sfs build.

Use the Package name: wxmaxima
And the Extra package: gnuplot-x11

At Pause B, go to /tmp/repo2sfs and make two changes:

1. Go into usr/share and delete the mime folder.
2. Go into usr/bin, open a terminal and type: ln -sf gnuplot-x11 gnuplot

Finish the build. Look for wxMaxima in the Education menu.

When the program starts, it pops-up a Hints window that may be hiding behind the main screen. You must close it first.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Mon 04 Mar 2019, 10:28    Post subject:  

See below.
Last edited by rcrsn51 on Thu 07 Mar 2019, 08:07; edited 1 time in total
Back to top
View user's profile Send private message 
Moat


Joined: 16 Jul 2013
Posts: 967
Location: Mid-mitten

PostPosted: Tue 05 Mar 2019, 19:25    Post subject:  

rcrsn51 wrote:
Here is a little stand-alone app that converts MP3 files to WAV format (or vice versa).


Works a treat in my DebDog mklive spin (just a quick test); converted an 8.3 Mb/192 kbps mp3 into ---> a 61 Mb wav file incredibly fast (3 seconds or less!). Didn't even have time to catch/read/follow any of the terminal info... Of course, converting the other direction (wav ---> 128 kbps mp3) took longer, but not much (about 6-7 seconds).

I see one can change the default destination directory @ line 46, and choose the mp3 bitrate using the -b flag (replacing -h) @ line 14 (those changes worked for me, anyway...).

Neat little tool - thanks, rcrsn51! Smile

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


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

PostPosted: Wed 06 Mar 2019, 05:52    Post subject:  

Thanks for testing. Regarding the defaults: I considered handling them with a config file, but it didn't feel like it was worth the trouble.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Thu 07 Mar 2019, 08:09    Post subject:  

Audio Converter

This little app converts audio files between MP3, OGG, FLAC and WAV formats. The dependencies are lame, vorbis-tools and flac.

It primarily works with single files. But if you paste in the path of a folder, it will batch-process all the audio files inside.

Update: V1.3 has several new features.

1. A Config button that uses the file ~/.audio-converter. For example, use it to change the quality of MP3 encoding. Set:
Code:
export MP3OPTS="-b 64"

2. Convert MP3-MP3. This lets you recode an existing MP3 at lower quality and smaller filesize.

3. Extract the audio track from an MP4 video file and save as an MP3. This uses ffmpeg, which you MUST provide separately.
Hint: Make a squashfs module of ffmpeg that you can load on-demand.

4. Convert WebM audio files to MP3, using ffmpeg.

5. Support for the FLAC codec. You can do FLAC-WAV, WAV-FLAC or FLAC-MP3.

------------------
audio-converter_1.4_all.deb.gz
Description  Updated 2019-10-30 - code cleanup
Remove the fake .gz extension
gz

 Download 
Filename  audio-converter_1.4_all.deb.gz 
Filesize  5.43 KB 
Downloaded  24 Time(s) 
snappie.png
 Description   
 Filesize   12.9 KB
 Viewed   247 Time(s)

snappie.png


Last edited by rcrsn51 on Wed 30 Oct 2019, 05:53; edited 19 times in total
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Fri 08 Mar 2019, 06:50    Post subject:  

How to use a modem in the Starter Kit

This is a simple dialing program that runs wvdial in a terminal window. It has been tested successfully with a USB analog modem and should also work with cellular modems. The dependencies are wvdial and usb-modeswitch.

If your modem initially presents itself as an optical or USB device, it should be automatically converted into a modem by usb-modeswitch. If necessary, unplug/replug it.

Run: wvdialconf
This creates an initial config file /etc/wvdial.conf.
Edit /etc/wvdial.conf and insert your connection data.

Run PeasyDial from the Internet menu.
Wait for "--> local IP address aaa.bbb.cc.dd".

Leave the terminal window open or minimized. When done, end the connection by typing Ctrl-C. Press Enter to close the window.

As a quick test, run: busybox ping -c5 www.google.com

Netsurf is an excellent light-weight browser for working over dial-up. Use repo2sfs to build a squashfs module from the Stretch repos.

------------------------
peasydial_1.2_all.deb.gz
Description 
gz

 Download 
Filename  peasydial_1.2_all.deb.gz 
Filesize  3.2 KB 
Downloaded  5 Time(s) 

Last edited by rcrsn51 on Wed 27 Nov 2019, 10:31; edited 6 times in total
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sun 10 Mar 2019, 07:10    Post subject:  

This is an old Thinkpad T61 laptop. It has a 1.8 GHz Core2Duo CPU, 3GB RAM, Intel Mobile GM965 graphics and Intel WiFi.

Everything works except for the Conexant modem. It has enough power to run Youtube video at 720p.

This is a refurbished unit with a clean install of Win7 that I wanted to keep for a while. So I split off a Linux partition sda3, did a frugal install, put Legacy GRUB on sda3's PBS and flagged sda3 as bootable. Windows boots from the GRUB menu on sda3 by chainloading.

As a test, I reduced the RAM to 1GB. It still runs OK.
snappie2.png
 Description   
 Filesize   165.01 KB
 Viewed   1034 Time(s)

snappie2.png

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


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

PostPosted: Sun 10 Mar 2019, 10:41    Post subject:  

How to make a squashfs module for Osmo 0.2.14

This is a standard repo2sfs build. But if you want spellchecking, you must include an Extra package like: hunspell-en-ca.

People who use Osmo regularly might want to auto-start it at bootup.

1. Copy the squashfs module into the "live" folder of your frugal setup. Or just do a regular apt-get install of Osmo.
2. Run: ln -sf /usr/bin/osmo /root/Startup/osmo
3. Under Preferences > General > System Tray, select Start Minimized.

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


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

PostPosted: Mon 11 Mar 2019, 05:59    Post subject:  

This is an old DOS game running through a squashfs module of DOSBox. Since I no longer own any gameport hardware, it's keyboard-control only. But it may be possible to emulate a USB joystick as a gameport device under DOS.
snappie.png
 Description   
 Filesize   16.33 KB
 Viewed   967 Time(s)

snappie.png

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


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

PostPosted: Sun 13 Oct 2019, 11:12    Post subject:  

Updated 2019-10-13.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Mon 14 Oct 2019, 06:29    Post subject:  

I have updated the combo package of additional WiFi drivers to include the Realtek USB 8811cu/8821cu.

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


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

PostPosted: Sun 20 Oct 2019, 05:23    Post subject:  

Here is a set of 64bit SANE scanner backends.

Note: You CANNOT install these package with apt because they overwrite existing files.
a. Download and extract the debbi tool below. Copy it to /usr/local/bin.
b. Run, for example: debbi sane-backend-pixma_1.0.28_amd64.deb

Pixma: The updated scanner driver for Canon Pixma printers. It is from SANE v1.0.28 and supports new models like the TS series.

Xerox_mfp: An open-source substitute for the Samsung vendor scanner driver and others.

Genesys: The SANE v1.0.28 driver for the Canon LiDE series of scanners. Download it here.

Epkowa: The original Epson driver from the vendor's Debian package but without a lot of extra stuff. Epson appears to have discontinued epkowa in favour of a more complicated scanning system. But epkowa still works for me.

If you have a newer model that is not detected by epkowa:
a. Run lsusb to get its vendor:product ID codes
b. Go to /etc/sane.d and open the file epkowa.conf
c. At line 25, add a line like: usb 0x04b8 0x1114

You may have conflicts between epkowa and the older epson/epson2 drivers.
Open /etc/sane.d/dll.conf and comment out the ones you don't want.
sane-backend-xerox-mfp_1.0.28_amd64.deb.gz
Description  Remove the fake .gz extension
gz

 Download 
Filename  sane-backend-xerox-mfp_1.0.28_amd64.deb.gz 
Filesize  29.2 KB 
Downloaded  26 Time(s) 
sane-backend-epkowa_1.0.15_amd64.deb.gz
Description  Remove the fake .gz extension
gz

 Download 
Filename  sane-backend-epkowa_1.0.15_amd64.deb.gz 
Filesize  165.29 KB 
Downloaded  26 Time(s) 
debbi.tar.gz
Description  Extract this - it is NOT a fake .gz
gz

 Download 
Filename  debbi.tar.gz 
Filesize  427 Bytes 
Downloaded  29 Time(s) 
sane-backend-pixma_1.0.28_amd64.deb.gz
Description  Remove the fake .gz extension
gz

 Download 
Filename  sane-backend-pixma_1.0.28_amd64.deb.gz 
Filesize  72.36 KB 
Downloaded  29 Time(s) 
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Mon 21 Oct 2019, 22:49    Post subject:  

This is a tray applet that runs the vnstat network traffic monitor. The dependency is vnstat.

The default interface is eth0. Look in /etc/vnstat.conf to change various settings.

If anyone wants the 32bit version, post a request.

-------------------------
vnstat-tray_1.1_amd64.deb.gz
Description  Remove the fake .gz extension
gz

 Download 
Filename  vnstat-tray_1.1_amd64.deb.gz 
Filesize  4.18 KB 
Downloaded  25 Time(s) 
snappie2.png
 Description   
 Filesize   82.47 KB
 Viewed   384 Time(s)

snappie2.png


Last edited by rcrsn51 on Fri 25 Oct 2019, 06:51; edited 3 times in total
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Tue 22 Oct 2019, 11:33    Post subject:  

How to build a squashfs module for Blender

This is a routine (but large) build using repo2sfs.

However, it needs (naturally) mesa accelerated graphics, which you can load from a separate module.

It also appears to want jack audio, but starts without it.
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1410

PostPosted: Tue 22 Oct 2019, 19:19    Post subject:  

rcrsn51 wrote:
This is a tray applet that runs the vnstat network monitor. The dependency is vnstat.

The default interface is eth0. Look in /etc/vnstat.conf to change various settings.

If anyone wants the 32bit version, post a request.

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


I installed this and then rebooted.

Should I be seeing a tray app?

I looked in the task manager and there is a "vnstatd" task running. Running "vnstat" from terminal works.

Am I missing something?

Running DD Stretch with systemd and slim enabled. Internet connection is eth0.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 20 of 21 [315 Posts]   Goto page: Previous 1, 2, 3, ..., 18, 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.0793s ][ Queries: 13 (0.0104s) ][ GZIP on ]