BionicPup32 (UPupBB) (27 June 2020)

A home for all kinds of Puppy related projects
Message
Author
User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#701 Post by rockedge »

When runnning as root sudo can be used to run programs or scripts as another user which can be helpful at times

Code: Select all

sudo -u spot some_program.sh
-

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#702 Post by perdido »

If you are looking for a virus scanner.

clam anti virus compiled in bionicpup32
http://www.murga-linux.com/puppy/viewtopic.php?t=118996



.
Last edited by perdido on Sat 13 Jun 2020, 03:15, edited 1 time in total.

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#703 Post by B.K. Johnson »

peebee took the issue of long pathnames causing the incomplete display at the left to GitHub. After it was closed as too difficult, I thought I'd do a Frankenstein using MochiMoppel's dynamicmenu_recent.sh.(Thanks Mochi) The result can be seen in screenshot, ruplaces.png. If you are a Recently used user, please note that this version operates differently from that OOTB in the following respects.
1. Only the file names are displayed, not paths.
2. When a previously listed file is renamed, deleted or moved, it is excluded from subsequent lists.

I can do without the path. I can easily and quickly see the path in the ROX header when I click the file. The contents and file attributes are discernible in the usual way.

To modify your Recently used,

Code: Select all

 
Download the attached [i]menu_build_recent_docs.gz[/i] to anywhere convenient.
Remove the fake .gz 
Copy the [i]menu_build_recent_docs[/i] file to /usr/local/jwm_config, overwriting the existing file.
You can test immediately, but to make the change permanent, either click the Save icon on the desktop or save the session at shutdown. The latter is safer. Use the former only if there is plenty of free space in your personal storage file.

Attachments: ruplaces.png, menu_build_recent_docs.gz
Attachments
menu_build_recent_docs.gz
revised menu_build_recent_docs (remove fake .gz)
(690 Bytes) Downloaded 153 times
ruplaces.png
screenshot of hacked Places menu
(99.58 KiB) Downloaded 1098 times
[color=blue]B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM[/color]

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

#704 Post by peebee »

ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#705 Post by perdido »

Hi peebee
One of the changes I just noticed between bionicpup1805 and bionicpup1903 is the BootFlash USB installer. I like it :) Very nice, thanks for the useful tool!

GParted just needs to catch up now, it does not see all 3 partitions just a big iso9660 CD disk. :) All three partitions are available on the desktop when booting from the USB stick.
Attached a pic at the bottom of the post.

Some background for reference;
If you like the security of running from a live CD the new BootFlash USB installer can give you the same security from a usb stick. You may think "so what? - we
could always dd the hybrid iso image to usb stick". What makes the BootFlash USB installer a great tool is that it will automatically recover the unused space on the usb
stick by resizing the partitions,
that is something that I always had to manually do using tools from different systems.

Initially when you dd a hybrid .iso to usb pen drive it turns the whole usb stick into a big iso9660 write protected CD disk - getting the unused space back can be troublesome.
This new BootFlash USB installer resizes the partitions and recovers the unused space into an extra ext2, ext3, ext4, fat32, vfat, ntfs (your choice) formatted partition automatically.

#############################

EDIT - Some additional informaton about significant differences between upupbb 18.05 and bionicpup32 19.03 concerning remastering and writing a remastered .iso image to usb pen
drives using the BootFlash USB installer in BionicPup32 19.03. For best results I recommend using only the BionicPup32 19.03 hybrid .iso either in its original form or as a remastered
custom .iso. The reasons for this recommendation are listed below.

1.Bionicpup32 19.03 can create a custom remastered .iso while retaining the properties of its hybrid .iso and can subsequently write that custom .iso to usb pen drive where it will be fully
functional and capable of using the extra space created on the usb stick for storage after using the BootFlash USB installer. option.

A remastered custom Upupbb 18.05 .iso does not retain the hybrid properties of the original .iso and will fail to boot if installed onto a usb pen drive using the install program in
Bionicpup32 19.03. Additionally the install program will complain that the .iso is not a hybrid .iso which is good. I have not tried other puppy releases with the BootFlash USB
installer in BionicPup32 19.03.

2. The BootFlash USB installer in BionicPup32 19.03 seems to work with all hybrid .iso images and reports(complains) if the .iso image you are asking it to write is not a hybrid .iso
- it will let you write it if you wish but the usb stick will not boot.

Please note that this does not mean that all hybrid .iso images written with the BootFlash USB installer will be able to see or use the additional drive space made available on the
written-to USB drive. An example is the upupbb_18.05 .iso as released, is is a hybrid .iso but does not see nor can it use the space freed up on the usb drive by the new BootFlash USB
installer in BionicPup32_19.03, - maybe due to operating system limits but would need further investigating to identify the exact cause.

In the case of a remastered custom .iso in upupbb 18.05 not retaining hypbrid capability, there may be differences in how the remastered custom .iso is produced in upupbb 18.05 or just
the limitations of the upupbb 18.05 operating system . FWIW, that issue would need further testing by remastering the upupbb 18.05 /livecdbuild/ directory using the Remaster Puppy Live-CD
tools in the BionicPup32 19.03 release - if that is even possible. Maybe I will try that and see if that produces a bootable usb that can read the additional space (would be interesting
mainly due to applying that process to other .iso puppy variants, both hybrid and non-hybrid in the chance it will produce a bootable usb that can use the reclaimed space on the usb stick.)

In summary, if you plan on doing a remaster and writing it as a live-cd to a usb pen drive then stick with the Bionicpup32 19.03 releases to guarantee that the remastered .iso will
retain its hybrid properties and will be capable of using the recovered drive space on the usb stick that the Bionicpup32 19.03 install program is now capable of providing.

Will be doing more testing to see what I can get away with using other puppy .iso variants remastered with the tools in BionicPup32 19.03
Attachments
Screenshot.jpg
This is really an iso9660 disk, a VFAT partition and an ext4 partition
GParted can only see the sdb1 CD part (that is the first partition) and does not see the sdb2 VFAT or sda3 ext4 partition
(23.22 KiB) Downloaded 858 times
Last edited by perdido on Fri 08 Nov 2019, 16:18, edited 5 times in total.

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#706 Post by OscarTalks »

Some issues that may only arise when compiling.
Now testing in 8.0+13

The file /usr/bin/xxd is a symlink to busybox which errors out.
Suggest replacing this with the real xxd executable from the xxd package (which is now separate but in earlier distros was part of the vim-common package).

The package libglib2.0-dev-bin should perhaps be added to the devx. The executable glib-compile-resources is in this package and was needed in a test build of netsurf-3.9

The libcurl situation still seems a bit peculiar. I think you are still missing a libcurl.so development symlink from the devx and this should be a link to libcurl.so.4.5.0 (the real lib) and not to the other libcurl "flavours" such as libcurl-gnutls or libcurl-nss. In the case of the latter, remove the dev package fully if the shared libs are not present (which they seem not to be as nothing actually depends on them as things are). The test netsurf build was trying to link to libcurl-nss and then didn't work when built. I had to add libcurl.so manually. You might also need a libcurl.so.3 for legacy as well as the libcurl.so.4

Also, I have re-compiled and re-uploaded DeaDBeeF-1.8.2 with the libcurl-nss dependency now corrected and linking to the usual libcurl.so.4
Oscar in England
Image

Gera
Posts: 9
Joined: Sat 21 Sep 2019, 19:49

#707 Post by Gera »

I have BionicPup32, August 2019 edition.

I have save file *.4fs on hard drive. I noticed that every 5 seconds hard drive is accessed even when nothing is happening. I suspect that operating system(OS) is automatically saving changes to save file *.4fs. How can I increase that period to 60 seconds?

And another issue is Light Web Browser that freezes ~once per day (I suppose it's Firefox 48, build-in browser in August edition). It freezes OS unexpectedly, when it happened usually I had YouTube pages with videos opened in 2 tabs. Nothing helps: ctrl-w to close tab or ctrl-shift-w to close browser window. Mouse pointer is slowed and soon everything hangs completely, plus CPU temperature is rising. Only ctrl-alt-backspace helps to restart X. Is that a known issue? What can help to prevent that hanging?

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#708 Post by bigpup »

I have save file *.4fs on hard drive. I noticed that every 5 seconds hard drive is accessed even when nothing is happening. I suspect that operating system(OS) is automatically saving changes to save file *.4fs. How can I increase that period to 60 seconds?
When you say not doing anything.
Is Bionicpup32 just booted to a desktop?
That is all that has been done?
What is Bionicpup32 installed on and booted from?
What format is the partition the save file is on?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#709 Post by perdido »

Gera wrote:I have BionicPup32, August 2019 edition.

I have save file *.4fs on hard drive. I noticed that every 5 seconds hard drive is accessed even when nothing is happening. I suspect that operating system(OS) is automatically saving changes to save file *.4fs. How can I increase that period to 60 seconds?

And another issue is Light Web Browser that freezes ~once per day (I suppose it's Firefox 48, build-in browser in August edition). It freezes OS unexpectedly, when it happened usually I had YouTube pages with videos opened in 2 tabs. Nothing helps: ctrl-w to close tab or ctrl-shift-w to close browser window. Mouse pointer is slowed and soon everything hangs completely, plus CPU temperature is rising. Only ctrl-alt-backspace helps to restart X. Is that a known issue? What can help to prevent that hanging?
Hi Gera,
There is a menu item that can control save interval.

Applications-->Setup-->PupControl Panel-->Event Manager-->Save Session

.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#710 Post by bigpup »

That only works in pupmode 7 or 13 operation.

Pupmode 12 directly writes to the save all the time.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Gera
Posts: 9
Joined: Sat 21 Sep 2019, 19:49

#711 Post by Gera »

Save file is on ntfs. I load from USB and Pupmode=12.
File /proc/sys/vm/dirty_expire_centisecs is empty
Should I change it? Will that affect how often Pup writes to save file?

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

fix-usb

#712 Post by foxpup »

@perdido
I suppose you know about the script fix-usb.sh you can use after dd.
It is in all iso's for newer Puppys and it was first in Fatdog:
http://distro.ibiblio.org/fatdog/web/fa ... drive.html

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

#713 Post by peebee »

ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
glene77is
Posts: 196
Joined: Tue 17 Aug 2010, 22:09
Location: Memphis, TN, USA
Contact:

#714 Post by glene77is »

[quote="Gera"]I have BionicPup32, August 2019 edition.
I have save file *.4fs on hard drive.
----------------------------------------------------------------------------------------------------

I have been using Flash Drives with Puppy Linux for 7 years.
At one time I even removed the hard-drives from my XP computer
and continued operating for 3 years ( only using USB flash drives ).
Flash drives are 1/10 speed of a hard-drive, but completely portable.
Now, I use a flash drive for booting Puppy Linux,
and I can select the M$XP system
or any of my five insalled Puppy Linux systems.
So, I encourage the use of the USB flash drive method.


I suggest :
(1) use "parted" to create a Linux partition EXT-2 on your ntfs hard-drive.
(2) Place all your Linux files in the EXT-2 partition.
(3) create your initial savefile as a directory in the EXT-2 partition.

About the frequent 'saving to hard-disk' problem ,
the advice from BigPup and PerDido is very good.............
"Applications-->Setup-->PupControl Panel-->Event Manager-->Save Session"
Right on track, IF you are using the "savefile directory" method.
Puppy Linux is more fun than a barrel of M$ monkeys :P
www.geocities.WS/glene77is
glene77is --- {^,^} --- electricity is shocking, Memphis, TN, USA.

dukecrom
Posts: 3
Joined: Sun 27 Oct 2019, 11:01

PAE

#715 Post by dukecrom »

EDIT2 : Yipieh-yeah I got it running using this guide --->

https://help.ubuntu.com/community/PAE

Basically it decribes how to use the forcepae parameter :)

The syntax is not "forecpae" but "forcepae -- forcepae" :)

EDIT: I found out that the Pentium M 1.7gHz FSB 400 CPU has PAE but it seems that it doesn't report it somehow.

So, can I to use forcepae?

Thanks in advance :)


--------------------------------------------------------------------------
I am using an old Thinkpad X32 with Pentium M 1.7 FSB 400, NON-PAE, NON-NX.

I want to use an up-to-date Puppy Linux Version and not some of those years old ones, so I put it on my YUMI stick and tried to install.
Alas I get the message that I should use forcepae and then that my CPU has no PAE and I should "use a kernel appropriate for your CPU"

Any chance that there will be a NON-PAE version which is not totally outdated?

I do not see the advantages of PAE on a 2GB, 32 bit machine using a small footprint distro which is known for to run on old Notebooks with low RAM profiles :)

What can I install which is quite modern and up-to-date?

Thanks in advance :)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#716 Post by bigpup »

Sorry, posted in wrong place.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

Tick Box for auto-launch handler in Bionic 64-bit

#717 Post by Subito Piano »

Bionic 64 working well -- but I haven't figured out how to have Rox-filer automatically open up when a USB drive is inserted. This is important because it's for school computers so it's just one more stumbling block to the junior and senior high school students using Linux -- they are used plugging in their USB sticks and seeing the files auomatically. Of course, I could do this from Puppy 4.0 or so, right up through Xenial Pup -- how do I set this up in Bionical?

Thanks!
[color=green]"God is love" - [url=https://www.esv.org/1+John+4/]I John 4:12[/url][/color]
ðŸ￾§ ðŸ￾§ ðŸ￾§ Rockin' on a 2007 IBM/Lenovo T60 Centrino Duo with 32-bit XenialPup 7.5! :D
(A/V Linux for live digital synth needs)

User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

Tick Box for auto-launch handler in Bionic 64-bit

#718 Post by Subito Piano »

Bionic 64 working well -- but I haven't figured out how to have Rox-filer automatically open up when a USB drive is inserted. This is important because it's for school computers so it's just one more stumbling block to the junior and senior high school students using Linux -- they are used plugging in their USB sticks and seeing the files auomatically. Of course, I could do this from Puppy 4.0 or so, right up through Xenial Pup -- how do I set this up in Bionical?

Thanks!
[color=green]"God is love" - [url=https://www.esv.org/1+John+4/]I John 4:12[/url][/color]
ðŸ￾§ ðŸ￾§ ðŸ￾§ Rockin' on a 2007 IBM/Lenovo T60 Centrino Duo with 32-bit XenialPup 7.5! :D
(A/V Linux for live digital synth needs)

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

Re: Tick Box for auto-launch handler in Bionic 64-bit

#719 Post by mikeslr »

Subito Piano wrote:Bionic 64 working well

Posted to the wrong thread?

-- but I haven't figured out how to have Rox-filer automatically open up when a USB drive is inserted
Isn't that handled by 'hotplug support'? Menu>System>Puppy Event Manager>
Activate Tab, place "x" in "Activate desktop hotplug support" box. Or do you want 'rox' not merely to show the mounted USB-Key as a desktop drive icon, but to also open a Window showing the USB-Key's contents?

User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#720 Post by Subito Piano »

The latter, as is the case up through xenial Pup.

Apologies as to misreading the thread! Hmm -- maybe a 64-bit thing? I'm using 32-bit Xenial and wanted 64-bit for the students, so I chose the latest, Bionical. Yesterday I downloaded 64-bit Xenial try it out. If it works as in 32-bit, I'll be fine.

We Linux enthusiasts tend to be quite a bit bleeding-edge oriented, always changing up to the latest version....Puppy lovers being perhaps less so...
[color=green]"God is love" - [url=https://www.esv.org/1+John+4/]I John 4:12[/url][/color]
ðŸ￾§ ðŸ￾§ ðŸ￾§ Rockin' on a 2007 IBM/Lenovo T60 Centrino Duo with 32-bit XenialPup 7.5! :D
(A/V Linux for live digital synth needs)

Post Reply