Woof CE Debian Stretch and Devuan Ascii Based Development

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

#481 Post by rcrsn51 »

@peebee: Just to be certain, your fix is Code D?

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#482 Post by peebee »

rcrsn51 wrote:@peebee: Just to be certain, your fix is Code D?
Follow the link given.....all correct??
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

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

#483 Post by rcrsn51 »

Thanks. Can I assume that someone other than me has actually tested and confirmed Code D?

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#484 Post by peebee »

rcrsn51 wrote:Thanks. Can I assume that someone other than me has actually tested and confirmed Code D?
I tested it as a ydrv add-on to LxPupSc-17.04.1 - seemed to work OK.

also as ydrv add-on to ttuuxxx's stretch-7.0.0a1.iso - also OK.
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#485 Post by ttuuxxx »

rcrsn51 wrote:@ttuuxxx: Here is the unanswered question. Is this code now broken coming out of woof?
Last time I checked about a month ago it was.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

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

#486 Post by rcrsn51 »

I've scanned through this thread looking for other patches to the stretch-7.0.0a1.iso besides the delayedrun issue. Is there anything else crucial?

Things look pretty good.

Is the current k4.1.38 kernel locked in?

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#487 Post by Sailor Enceladus »

musher0 wrote:@ttuuxxx & rcrsn51:

You guys lost me. What are you talking about? TIA.

BFN.
I'm not sure either. I think they are saying that things placed in /root/Startup don't work, which is why there's no icons on the bottom-right (like retrovol to change the volume) by default in Devuan puppy... but that is just a guess since no one else really answered your question. :lol:

edit: retrovol did end up appearing on the bottom-right but after I finished running the quicksetup and welcome1stboot thing.

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

#488 Post by rcrsn51 »

Sailor Enceladus wrote:but that is just a guess since no one else really answered your question.
How about the post directly under musher0's?

Here's a quick fix.
Attachments
delayedrun_fix_stretch_700-1.0.pet
(1.78 KiB) Downloaded 114 times

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#489 Post by musher0 »

Hello, all.

My ears were ringing! ;) Now I know why!

I never had a problem with getting what's in the /root/Startup directory or
in the /root/.config/autostart directory to start -- booting into a fresh Puppy
Stretch 7 session.

B-U-T... within that session, if I change WM's or if I recycle the same WM
(jwm or other), for whatever reason, it always has been a gamble to get
the icons for the sound, connection and partview widgets, the lxrandr
automatic screen selector and the aOO icon back in the tray the 2nd time
or 3rd time.

One day, I got fed up with having to re-launch them manually, and wrote
the following "coercion" script:

Code: Select all

#!/bin/sh
# ~/Startup/aa_if-icewm.sh
#
# Objectif : Lancer le panier d'icônes d'icewm, et plus généralement mettre 
# correctement les icônes dans le panier, au démarrage, au redémarrage et 
# au changement de gest. de fen.
#
# Requiert (m)awk.
#
# (c) Christian L'Écuyer (alias musher0 [forum Puppy]), Gatineau (Qc), Canada, 2017-03-20. Rév. 2017-03-28. GPL3.
####

AutoStarT () {
# Ceux dans /root/.config/autostart/*.desktop
	[ "`pgrep netmon_wce`" = "" ] && `which netmon_wce` &
	[ "`pgrep flsynclient`" = "" ] && `which flsynclient` -s &
	[ "`pgrep freememapplet_tray`" = "" ] && /usr/bin/freememapplet_tray &

	if [ -f /root/.config/autostart/lxrandr-autostart.desktop ];then
		ExeC="";ExeC="`awk -F"'" '$1 ~ /Exec/ { print $2 }' /root/.config/autostart/lxrandr-autostart.desktop`"
		$ExeC
	fi

	if [ -f /root/.config/autostart/OpenOffice-4.1.2.desktop ];then
		if [ "`ps | awk '$4 ~ /openoffice/'`" = "" ];then
			ExeC="";ExeC="`awk -F"=" '$1 ~ /Exec/ { print $2 }' /root/.config/autostart/OpenOffice-4.1.2.desktop`"
			$ExeC
		fi
	fi
}

if [ "`cat /etc/windowmanager`" = "icewm" ];then # Propre à icewm.
	[ -f /usr/bin/icewmtray ] && /usr/bin/icewmtray & 
	sleep 0.7s
fi

AutoStarT # Pour toutes les barres de gest. de fen.

## 30 ##
It's prefixed "aa..." on purpose, because it should be the first file to launch
in /root/Startup. (Doesn't make sense otherwise.)

The goal of this script is to "launch the icewm tray, but more generally to
correctly place the icons in the tray, at start-up, "re-start-up", and when
the user changes window managers." (Translation of comment at top.)
It requires awk (preferably mawk [IMO]).

It may be that the "delayedrun" script has a bug. I have the one mentioned
by pemasu at the top of this page, but I didn't test it.

I think it's rather an oversight on the part of the devs of the tray icon
utilities. How difficult is it to check -- or suspect, or even devine -- if
your app will survive a killing or recycling of the Xorg... Yoohoo, fellas, as
a reminder, killing X also kills all apps requiring it.

Is there a shadow of X apps from the previous "pseudo-session" lingering in
RAM if you recycle X too fast? Which would prevent the icon tray apps from
launching correctly the 2nd or 3rd time?

For example, the old opera 12.16 stays in RAM, not as a shadow, even if
you go down to CLI and back -- but it tells you when you try to re-launch it
in the next X session when you've come back.

In any case, transitioning from one state of computing to another (in this
case initial CLI to Xorg) is very difficult to monitor.

With pgrep, it's very easy to embed in a bash script a fork like:
-- [ "already running" ] && "don't launch me." || "launch me." --
Maybe in C it's extraordinarily difficult?!

So in parallel to the script above, some of the tray utilities will require their
own "running && don't_launch_me || launch_me" wrappers. Keep your eyes
open for them, a lot of utilities have tray icons: if you notice a particular
icon not showing in the tray or doubling itself in the tray, it may need such
a wrapper.

I hope the above provides a partial scratch for the itch. There are no doubt
other ways to do this (I'm still a newbie in so many ways), but the above
script solved my problem, for any traybar (including icewmtray and
bmpanel2) and any tray icon app, AFAICT.

BFN.

~~~~~~~~
P.S. -- I'm still looking for a sure-fire way to generalize that script. As it is,
the script is "ad hoc" for what exists in my /root/.config/autostart. In its
present form, if any new entry is added to the autostart directory, I have
to edit the script accordingly.
Last edited by musher0 on Thu 06 Apr 2017, 20:47, edited 1 time in total.

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

#490 Post by rcrsn51 »

Just to be clear, a first run of Stretch has ALL its basic tray applets in ~/.config/autostart and they work.

The problem arises when you install other applets in the Startup folder. They fail to load because of the delayedrun bug.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#491 Post by musher0 »

rcrsn51 wrote:Just to be clear, a first run of Stretch has ALL its basic tray applets in ~/.config/autostart and they work.

The problem arises when you install other applets in the Startup folder. They fail to load because of the delayedrun bug.
Hi, rcrsn51.

That may be another bug entirely; my grind of DPup Stretch7 doesn't seem
to have it, AFAICT. As I mentioned, the delayedrun script that exists in my
DPup Stretch 7 appears to be "kosher", judging by pemasu's quote at the
top of this page.

My script above is only trying to deal with the "recycle X / recycle WM" bug.

That said, come to think of it, the two bugs may be related, because you
have to recycle X to get the newly installed applet to run.

IHTH.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#492 Post by musher0 »

Hello all.

IMO, jamesbond's former line 80 in /usr/sbin/delayedrun

Code: Select all

[ -x "$a" ] && $a & #jamesbond
is better than your recent one, rcrsn51

Code: Select all

$A 2>/dev/null &
since the former allows to have back-up and comment files as needed in
~/Startup. This is useful when you develop or even for a user who wants to
make notes about what does what in there.

Besides, tagging a

Code: Select all

2>/dev/null
to the commands won't help with the detective work which we need at
this point.

In any case, nothing in the delayedrun script seems to trigger the recycle X /
recycle WM bug. So the cause of that bug is elsewhere.

BFN.
Last edited by musher0 on Thu 06 Apr 2017, 21:59, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#493 Post by musher0 »

Hi.

Maybe clean the RAM buffers just before recycling X / WM ? Wouldn't they
possibly contain some remnant / some kind of identification of previously run
programs? Bash perceives them and goes: "Ah, it's already in RAM, I won't
bother re-launching the thing."

Just a thought. Confirmation or contradiction of the above statement would
be appreciated. TIA.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

Woof CE Debian Stretch and Devuan Ascii Based Development

#494 Post by Billtoo »

I did a new build today which is using the 4.9.20 kernel that was compiled with the kernel kit.

# inxi -F
System: Host: puppypc8556 Kernel: 4.9.20-4G i686 (32 bit) Desktop: JWM 2.3.6 Distro: Dpup Stretch 7.0.0a1
Machine: Device: desktop System: Hewlett-Packard product: HPE-410f serial:
Mobo: FOXCONN model: 2AB1 v: 1.00 BIOS: American Megatrends v: 6.02 date: 07/21/2010
CPU: Hexa core AMD Phenom II X6 1045T (-MCP-) cache: 3072 KB
clock speeds: max: 2700 MHz 1: 1400 MHz 2: 1400 MHz 3: 800 MHz 4: 1400 MHz 5: 800 MHz 6: 1400 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] Redwood PRO [Radeon HD 5550/5570/5630/6510/6610/7570]
Display Server: X.org 1.19.2 drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
tty size: 135x43 Advanced Data: N/A for root
Audio: Card-1 Advanced Micro Devices [AMD/ATI] Redwood HDMI Audio [Radeon HD 5000 Series]
driver: snd_hda_intel
Card-2 Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA) driver: snd_hda_intel
Sound: Advanced Linux Sound Architecture v: k4.9.20-4G
Network: Card-1: Ralink RT3090 Wireless 802.11n 1T/1R PCIe driver: rt2800pci
IF: wlan0 state: up mac:
Card-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller driver: r8169
IF: eth0 state: down mac:
Drives: HDD Total Size: 1000.2GB (6.7% used)
ID-1: /dev/sda model: Hitachi_HDS72101 size: 1000.2GB
Partition: ID-1: swap-1 size: 8.59GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 30.5C mobo: N/A gpu: 50.0
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 204 Uptime: 4:47 Memory: 220.3/3280.3MB Client: Shell (bash) inxi: 2.3.5
#

It created a dotconfig after presenting me with a couple of hundred YyNnMm etc. options,
I changed a few and it's working okay so far :)

The attached gz is a fake gz.
Attachments
Screenshot.jpg
(58.75 KiB) Downloaded 289 times
DOTconfig-4.9.20--060417.gz
(167.57 KiB) Downloaded 112 times

User avatar
davids45
Posts: 1326
Joined: Sun 26 Nov 2006, 23:33
Location: Chatswood, NSW

Printers?

#495 Post by davids45 »

G'day,

Is it too early in this Stretch development for a humble user to mention CUPS and printers?

I tried wildman69's stretchpup a couple of days ago and just now the DELUXE-700 pup.

I can't get my Epson-XP200 printer to print using rcrsn51's pet which has worked in just about every other Pup for some years now.

Both Stretch Pups (Frugals) tried gave a 'filter failed' when trying a test-page print.

I found CUPS very annoying with dillo :evil: - I eventually worked out how to use QtWeb in this Stretch-Deluxe in place of dillo, and installed my own browser in Wildman68's Stretchpup before I could run CUPS conventiently in both Stretches.

Maybe this CUPS difficulty is why my Epson-XP200 printer won't print - I can scan with it and the ink utility sees the printer so it's just not printing as far as I can tell.

Everything else seems fine in both Frugals so far.

Thanks for any advice,

David S.

PS: Re the Deluxe:- vlc won't play simple videos - .mp4 or .avi; get an apologetic message about the no-go picture but the sound comes through; playing OK in Wildman69's Stretch.
Last edited by davids45 on Sun 09 Apr 2017, 00:35, edited 1 time in total.

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

Woof CE Debian Stretch and Devuan Ascii Based Development

#496 Post by Billtoo »

I did a build using the newest woof-CE:

# inxi -F
System: Host: puppypc26495 Kernel: 4.9.20-4G i686 (32 bit) Desktop: JWM 2.3.6 Distro: Dpup Stretch 7.0.0a1
Machine: Device: desktop System: Compaq-Presario product: AU194AA-A2L CQ5123F serial:
Mobo: MSI model: Boston v: 1.0 BIOS: Phoenix v: 5.24 date: 06/19/2009
CPU: Dual core Pentium E5200 (-MCP-) cache: 2048 KB
clock speeds: max: 2500 MHz 1: 1600 MHz 2: 1600 MHz
Graphics: Card: NVIDIA GF108 [GeForce GT 430]
Display Server: X.org 1.19.2 driver: nvidia tty size: 112x37 Advanced Data: N/A for root
Audio: Card-1 NVIDIA GF108 High Definition Audio Controller driver: snd_hda_intel
Card-2 Intel NM10/ICH7 Family High Definition Audio Controller driver: snd_hda_intel
Sound: Advanced Linux Sound Architecture v: k4.9.20-4G
Network: Card-1: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller driver: r8169
IF: eth0 state: up speed: 100 Mbps duplex: full mac:
Card-2: D-Link System AirPlus G DWL-G122 Wireless Adapter(rev.C1) [Ralink RT2571W] driver: rt73usb
IF: wlan0 state: N/A mac: N/A
Drives: HDD Total Size: 500.1GB (12.0% used)
ID-1: /dev/sda model: Hitachi_HDP72505 size: 500.1GB
Partition: ID-1: swap-1 size: 4.29GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: None detected - is lm-sensors installed and configured?
Info: Processes: 164 Uptime: 3 min Memory: 176.3/3152.6MB Client: Shell (bash) inxi: 2.3.5
#

I wanted to make the pae version of kernel-4.9.20 but it didn't complete fully when compiling with the kernel-kit.

This is working well so far.
Attachments
Screenshot.jpg
(84.95 KiB) Downloaded 896 times

Robert123
Posts: 362
Joined: Fri 20 May 2016, 05:22
Location: Pacific

#497 Post by Robert123 »

Machine: Emachines E625
build: 7.0.0a3 build by Ttuuxxx
Same problem with ext 4 and getting stretch to boot so used ext2.
would not boot consistently to desktop so added radeon.modeset=0 to menu.lst have also added acpi=off on separate line.
Applied trayfix.pet after some weird JWM behavior

Will keep using this build to test other problems and what works well.
Devuan Linux, Stardust 013 (4.31) updated [url]https://archive.org/details/Stardustpup013glibc2.10[/url]
s57(2018)barebone[url]https://sourceforge.net/projects/puppy-linux-minimal-builds/files/s57%282018%29barebones.iso/download[/url]

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

#498 Post by rcrsn51 »

have also added acpi=off on separate line.
That shouldn't be. Please post your current GRUB menu.lst file.

Robert123
Posts: 362
Joined: Fri 20 May 2016, 05:22
Location: Pacific

#499 Post by Robert123 »

For some reason modern pups give me inconsistent booting to desktop - Lucid doesn't namely 5.25. Boots to a black screen.




# menu.lst produced by grub4dosconfig-v1.9.2
color white/blue black/cyan white/black cyan/black
#splashimage=/splash.xpm
timeout 10
default 0

# Frugal installed Puppy

# Full installed Linux

title Dpup Stretch 7.0.0a1 (sda2/boot)
acpi=off
radeon.modeset=0
uuid 1f2a5e67-6206-4f3f-ad5a-4e911013fc9d
kernel /boot/vmlinuz root=/dev/sda2 ro

# Windows
# this entry searches Windows on the HDD and boot it up
title Windows\nBoot up Windows if installed
errorcheck off
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
find --set-root --ignore-floppies --ignore-cd /io.sys
chainloader /io.sys
errorcheck on

# Advanced Menu
title Advanced menu
configfile /menu-advanced.lst
commandline
Devuan Linux, Stardust 013 (4.31) updated [url]https://archive.org/details/Stardustpup013glibc2.10[/url]
s57(2018)barebone[url]https://sourceforge.net/projects/puppy-linux-minimal-builds/files/s57%282018%29barebones.iso/download[/url]

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

#500 Post by rcrsn51 »

Code: Select all

title Dpup Stretch 7.0.0a1 (sda2/boot)
acpi=off
radeon.modeset=0
uuid 1f2a5e67-6206-4f3f-ad5a-4e911013fc9d
kernel /boot/vmlinuz root=/dev/sda2 ro 
should look like

Code: Select all

title Dpup Stretch 7.0.0a1 (sda2/boot)
uuid 1f2a5e67-6206-4f3f-ad5a-4e911013fc9d
kernel /boot/vmlinuz root=/dev/sda2 ro acpi=off radeon.modeset=0

Post Reply