The Debian-Stretch-Live Starter Kit

A home for all kinds of Puppy related projects
Post Reply
Message
Author
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#91 Post by rcrsn51 »

My Squash Loader updated here.

borzeh
Posts: 21
Joined: Sun 12 Jan 2014, 14:08

#92 Post by borzeh »

Hi , first of all
@rcrsn51
Thank You for your good work :mrgreen:

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

Here is some solution for my needs , maybe somebody needs them too!

multilanguage keyboard support
===>
although you can set two input language with xkbmap and its settings , You have a quick way too!

1-Right click on taskbar(lxpanel) and select Add/Remove panel items
2- click on + Add button
3- select keyboard layout handler and click on add button
4- now on panel flag of US appeard!
5- right click on that and (keyboard layout handle setting)
6- unckeck keep system layouts
7- add layouts and even can change change option key...
That's all

Intel wifi driver
===>
if your computer wireless card's manufactured by intel , may be can't connect with PeasyWifi

Do - connect to internet with cable and in terminal
apt-get update
apt-get install firmware-iwlwifi
restart and everything Ok!

Or download
https://packages.debian.org/search?keyw ... re-iwlwifi
from another computer and install on Debian

:D

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

#93 Post by rcrsn51 »

@borzeh: Thanks for your support with this project and your solutions.

multilanguage keyboard support: I don't know much about multilanguage, but Fred does. (All my stuff is gettexted if anyone wants to start translating. :wink: ) And there are many features in lxpanel that I have never investigated.

Intel wifi driver: I thought about including all of firmware-iwlwifi in the ISO, but it's pretty big. For people who want to keep their setup small, check for errors in dmesg, then get just the firmware file that's missing.

There is information about firmware here. Many of those packages are already in the ISO.

Bill

borzeh
Posts: 21
Joined: Sun 12 Jan 2014, 14:08

Xscreenshot

#94 Post by borzeh »

rcrsn51 wrote: For people who want to keep their setup small, check for errors in dmesg, then get just the firmware file that's missing.
Bill
Thanks a lot


----
Also i see screen snapshot tool, Snappie in the first page , but i need some smaller! but unique! , then make xscreenshot , and here for everybody may need that! Attached!

To use that you must:
1- Extract this file to /usr/bin or /usr/local/bin
2- change line 342 of .config/openbox/rc.xml from

Code: Select all

<command>scrot</command>
to

Code: Select all

<command>xscreenshot</command>
after RestartX only need select part of screen!
Screenshots go to root exactly. if you need another folder to save images

change above code to

Code: Select all

<command>xscreenshot -p /root/screenshots/</command>
:!: make shure create screenshots folder! , xscreenshot cant do that!
Attachments
xscreenshot.zip
Xscreenshot compiled for Debian Stretch live
(9.98 KiB) Downloaded 237 times

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

#95 Post by rcrsn51 »

Is this the xscreenshot made by jamesbond (of Fatdog) from here?

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

#96 Post by fredx181 »

borzeh wrote:Also i see screen snapshot tool, Snappie in the first page , but i need some smaller! but unique! , then make xscreenshot , and here for everybody may need that! Attached!
Thanks, since yours is for 64-bit, here's also 32-bit xscreenshot that I compiled (attached).
The source I took from here:
http://lightofdawn.org/wiki/wiki.cgi/Xannotate

Fred
Attachments
xscreenshot-32bit.tar.gz
xscreenshot 32-bit
(10.11 KiB) Downloaded 302 times

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

#97 Post by rcrsn51 »

WlanMaker

WlanMaker uses your computer's WiFi adapter to create a temporary wireless network.

Your WiFi adapter must be capable of switching into an access point. Internal units that use the ath5k, ath9k or b43 drivers work well. Some recent Intel Centrino adapters using the iwlwifi driver may work. The Broadcom vendor wl driver does NOT work.

Certain external USB WiFi adapters like ath9k_htc, carl9170 and rt2800usb also work, as do some Realtek adapters like the 8192cu or 8192eu. However, these Realtek devices require custom drivers from the 64bit "combo" driver pack.

Note: Running a firewall on the Wlanmaker machine will cause problems. If you really, really want a firewall, ask for help.

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

The basic WlanMaker setup is NOT an Internet sharing tool. It does not provide Internet access to client computers. But see below.

Start WlanMaker from a terminal with:

Code: Select all

wlanmaker wlan0 ssid passphrase
Select your own SSID and passphrase. This creates a WPA2-encrypted network with DHCP that hands out IP addresses in the range 192.168.51.10-250. If you prefer an open network, use the passphrase "none". The server computer gets the IP address 192.168.51.1 on its wlan0 interface.

Leave the terminal window open for the duration of the session. WlanMaker may throw some warning messages. But provided that it does NOT return a # prompt, it should be working and ready to receive clients.

For example, you could turn your laptop into a self-contained wireless HTTP server. Or you could add the p910nd print server and make a "WiFi Direct" printer.

Windows client machines may show the connection as "limited" because there is no Internet access.

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

To enable Internet sharing, the server machine needs the additional package "iptables" via apt-get.

Start the server with:

Code: Select all

wlanmaker wlan0 ssid passphrase eth0
The fourth argument is the server's Internet-facing port.

Client machines will get an IP address via DHCP and a route to the Internet.

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

WlanMaker can be used as a wireless repeater.
a. Your laptop has a WiFi connection on its internal wlan0.
b. You plug in a compatible USB wifi adapter wlan1.
c. You run: wlanmaker wlan1 ssid passphrase wlan0
d. Another laptop can connect to the second ssid.

----------------------
Attachments
wlanmaker_2.0_all.deb.gz
Remove the fake .gz extension
Note: You must remove the previous version first
(1.58 KiB) Downloaded 176 times
Last edited by rcrsn51 on Sun 31 May 2020, 12:57, edited 10 times in total.

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

#98 Post by rcrsn51 »

Peasy Net Player

The Simple Python HTTP Server is a handy way to share a music collection across your network. It is easy to set up and users can access the files through their web browser.

But playing music in your browser can be awkward. The Peasy Net Player lets you play the tracks as if they were on your own hard drive.

1. Open the remote HTTP server in your web browser and go to the desired page. . It can also be a sub-page of the collection.
2. Select and copy the page URL.
3. Open Peasy Net Player and paste in the URL. Click Play.
4. PeasyMP3 will open, loaded with a folder of links back to the music server. Click Start.

The dependencies are peasymp3 and mplayer.

----------------------
Attachments
snappie.png
(6.7 KiB) Downloaded 1807 times
peasy-net-player_1.0.deb.gz
(4.8 KiB) Downloaded 294 times
Last edited by rcrsn51 on Sun 27 May 2018, 16:33, edited 4 times in total.

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

#99 Post by rcrsn51 »

Peasy Net Viewer

This is the sister program to Peasy Net Player. If the remote HTTP server is sharing pages of photos, Peasy Net Viewer gives you an easy, one-click way to see them.

1. Open the HTTP server in your web browser and go to the desired page.
2. Copy the page URL into Peasy Net Viewer.
3. Click Load. This builds an index of the remote page and shows the first picture.
4. Click /Next/Prev/First.

The dependency is viewnior.

--------------------------
Attachments
snappie.png
(7.27 KiB) Downloaded 1612 times
peasy-net-viewer_1.1.deb.gz
(6.51 KiB) Downloaded 314 times

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

#100 Post by rcrsn51 »

Here is a trio of applets that give you fast, one-click access to the command-line tools sync, umount (all) and diff.

I keep shortcuts for them on my desktop.

Update: V1.1 has a desktop shortcut for ejecting the optical drive tray.
Attachments
diff-sync-umount_1.1.deb.gz
Updated 2018-08-24
(13.74 KiB) Downloaded 207 times
diff-sync-umount_1.0.deb.gz
(12.46 KiB) Downloaded 283 times
Last edited by rcrsn51 on Fri 24 Aug 2018, 14:57, edited 1 time in total.

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

#101 Post by fredx181 »

Here's for XFCE lovers (includes me :) ) an alternative "Starter Kit" with full XFCE desktop.
Made with mklive-stretch using Desktop choice "Xfce4 with whisker menu" but without browser installed.
Included are some more apps (compared to rcrsn51's Starter Kit), e.g. remaster tools, conky and more.
The main 01-filesystem.squashfs is xz compressed (resulting in ISO's that small)

32-bit ISO:
https://dl.dropboxusercontent.com/s/0gq ... 6.iso?dl=1 Size 160MB
64-bit ISO:
https://dl.dropboxusercontent.com/s/myp ... 4.iso?dl=1 Size 156MB

EDIT: Forgot to mention:
password for root = root
password for user puppy = puppy

Fred
Attachments
Screenshot_2018-06-02_16-06-56_680x425.jpg
XFCE Desktop
(45.74 KiB) Downloaded 1517 times

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#102 Post by greengeek »

rcrsn51 wrote:Here is a trio of applets that give you fast, one-click access to the command-line tools sync, umount (all) and diff.

I keep shortcuts for them on my desktop.
A "sync" shortcut should be mandatory on every new pup i reckon. Especilly if booted from usb or keeping a savefile or savefolder on usb.

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

#103 Post by rcrsn51 »

greengeek wrote:
rcrsn51 wrote:Here is a trio of applets that give you fast, one-click access to the command-line tools sync, umount (all) and diff.

I keep shortcuts for them on my desktop.
A "sync" shortcut should be mandatory on every new pup i reckon. Especilly if booted from usb or keeping a savefile or savefolder on usb.
Thanks for testing my project.

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

#104 Post by rcrsn51 »

Fred's repo has a new version of PeasyWiFi. It contains some rfkill functionality in case your machine experiences a WiFi block.

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#105 Post by anikin »

It's a shame I haven't yet tested PeasyWiFi but I will in the nearest future. A quick question (and please pardon my stubbornness) - will it work with dash?

Thank you in advance.

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

#106 Post by rcrsn51 »

anikin wrote:will it work with dash?
I have a no-bash version. But PWF has a learning curve. It would be preferable to test the standard version first in one of the current Dogs.

Its startup mechanisms may not work the same in pure Debian.

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

#107 Post by rcrsn51 »

Here is PeasyPrint ported from Puppy. The instructions are here.

Update: V3.1 has a new Fit tool. It determines in advance how you should up-scale an image to fit the target paper without overflowing the page - by width or by height.

Update: V4.0 is a complete rewrite that works without Ghostscript. The "To PDF" option sends the image to a PDF file instead of your printer.

Update: For a tool to crop photos into a size suitable for printing, read here.

Remove the fake .gz extension.
Attachments
peasyprint_4.2_all.deb.gz
Updated 2020-02-06
(8.06 KiB) Downloaded 83 times
snappie.png
(32.01 KiB) Downloaded 212 times
Last edited by rcrsn51 on Thu 23 Apr 2020, 11:20, edited 13 times in total.

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

#108 Post by rcrsn51 »

How to install Stretch-live on a UEFI computer

Users with Win8/10 machines or new motherboards are familiar with the issues of UEFI, GRUB2 and Secure Boot. Here is a recipe for dealing with them.

1. At bootup, you need to access the UEFI setup menus. On old BIOS machines, you would see a message like "Press Del to enter setup". But Windows now has "Fast Startup" that hides these messages. So you need to know the "hot key" like F2 in advance. By pressing it repeatedly as the machine boots, you can get into the menus. Some googling may yield the hot key for your particular machine.

If not, let Windows start, then find the back-door into the UEFI firmware settings. There are instructions here and here.

Hint: On most machines, click the On/Off icon, then shift-click on Restart. Select Troubleshooting > UEFI firmware settings > Restart.

2. Your first task in the UEFI setup is to disable Secure Boot. Most PC's have this option located somewhere in the menus. (It may be in a "Boot" submenu.) Then look for any Fast Boot options and disable them too. This will give you more time at bootup to press the hot key.

3. Note that we are leaving the machine as a UEFI boot device. We are NOT switching it back to "Legacy" or "CSM" mode. Any settings like Load Legacy Option ROM should (usually) be set to Disable.

4. If you are planning to dual-boot Windows, you MUST also disable its hibernation feature. Do this from within Windows - read here.

Hint:
- Right-click the Start button. Select Command prompt (admin). Type: powercfg.exe /h off
- Right-click the Start button. Select Power options > Choose what power buttons do. Set "power button = shutdown".
- Confirm that there are NO options for hibernating.

5. Build a UEFI-bootable flash drive. You can do this from either Windows or Linux.
a. Get a flash drive formatted as FAT32.
b. Download the uefi-grub2.iso from here.
c. Click on the file to mount it. Copy its contents onto the flash drive. There is a folder named EFI and three files.
d. Download a Stretch-live ISO and click-mount it. Copy the entire "live" folder onto the flash drive.
e. Also copy the whole ISO file onto the drive. You will need it to do a hard drive install.

6. Boot the flash drive.
a. Press the hot key to open the UEFI menus.
b. Locate the boot priority list and set USB first. If you cannot find the list, read the Update below.
c. Save and exit.

7. With any luck, the flash drive should boot. There will be a brief menu about locating a grub.cfg file. For now, ignore it.

8. The main GRUB2 menu has two choices. Try "Porteus boot" first. If it fails with a "cheat code is incorrect" error, reboot and try "live-boot" instead.

9. Please note that neither of these boot setups allow for persistence - having a save file/folder on the USB drive. The intent is to do a frugal install onto the hard drive. You will need a Linux-compatible partition there.

a. Stretch-Live has Gparted in its Preferences menu. In my experience, you can safely shrink a Windows main C: partition by 10-20GB. Then make a new ext4 partition in the empty space. YMMV.

b. Your flash drive has the stretch-live-frugal-install tool. Read here for instructions. Do a frugal install into the ext partition.

c. Run the GRUB2 converter tool to generate a menu entry for your frugal install.

10. You have two choices for how the system will boot:

a. Dual-boot with Windows. The safest procedure for Linux is to boot off the flash drive, then jump to the hard drive. Copy/paste the GRUB2 entry from above into your flash drive's grub.cfg. This will be a Porteus boot with a save folder in the ext partition.

Or add an entry like this to your flash drive's grub.cfg:

Code: Select all

menuentry "Hard drive installs" {
set root=(hd1,2)
configfile /grub2.txt
}
Also: See the example here.

b. Scrap Windows and start an all-Linux system. Using Gparted, delete the Windows partitions. Make a FAT32 "UEFI boot" partition and one or more ext partitions. (If there is already a FAT32 partition, leave it but delete the contents.) Set up the boot partition for UEFI with the same content as your flash drive. See the Update for how to replace the UEFI Windows boot entry with your own.

11. Is everything working? There may still be a small bug. If you re-boot off the flash drive, GRUB2 may find your hard drive's grub.cfg instead. Unlike Grub4Dos, GRUB2 searches all the available drives for a grub.cfg, NOT just the boot drive. At the brief initial menu, select "Manually specify location". In GRUB2 syntax, your flash drive will probably be drive 1, partition 1. Enter:

Code: Select all

(hd1,1)/grub.cfg
Update: Some UEFI setups don't have a conventional boot priority list. So you have to press another hot key like F12 in order to boot from USB.

This is awkward if you need to do it each time. Here is how to add a permanent USB boot option.

1. Press F2 and open the Boot section.
2. Select: File browser add boot entry
3. Select the cryptic entry that looks like your USB drive.
4. Drill down and select the file: EFI/boot/bootx64.efi
5. Name the entry: USB.
6. Select Boot Option #1 and set it to USB. Windows should become Option #2.
7. Save and reboot. If the USB drive is present, it will boot instead of Windows.

--------------------
Last edited by rcrsn51 on Wed 12 Feb 2020, 12:58, edited 31 times in total.

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

#109 Post by rcrsn51 »

In rare cases, you may be unable to find a working video driver. For example, the i915 modesetting driver may fail with some Intel chipsets and give a black-screen-of-death.

The only solution may be to use the Xorg vesa driver instead.

1. In your GRUB menu, add "i915.modeset=0" to the kernel line (if needed).

2. The Starter Kit (prior to release -71) does not have the vesa driver OOTB. You have two choices:

a. Download and install it on-the-fly from the console prompt (assuming you have a network connection).

Code: Select all

apt-get update
apt-get install xserver-xorg-video-vesa
startx
b. Get the squashfs module from below and drop it into the "live" folder of your install.

Remove the fake .gz extension.

-------------
Attachments
xserver-xorg-video-vesa_1%3a2.3.4-1+b2_i386.squashfs.gz
(16 KiB) Downloaded 209 times
xserver-xorg-video-vesa_1%3a2.3.4-1+b2_amd64.squashfs.gz
(16 KiB) Downloaded 216 times
Last edited by rcrsn51 on Sat 02 Mar 2019, 15:23, edited 1 time in total.

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

#110 Post by rcrsn51 »

Fred's repo now has updates to the BT4Stretch Bluetooth system and the Batterup laptop battery monitor.

See Page 1 for links.

Post Reply