Page 4 of 4

Easy OS link failure

Posted: Wed Sep 14, 2022 10:06 pm
by don570

I tested uextract 4.10 in Easy OS and it works somewhat.
I could make a launch icon on the desktop and it appears to work.
I could extract a pet file.

It appears that the pinstall.sh script doesn't create the right click links for ROX.
The script is run. I ran it in the terminal to see what would happen.
But nothing occurred (see image....)

screenshot-script-pinstall.png
screenshot-script-pinstall.png (71 KiB) Viewed 3662 times

__________________________________________________

usr/locl/apps/UExtract folder is created (see image)
I was able to manually create links to AppRun.
__________________________________________________


Re: UExtract-4.10 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Wed Sep 14, 2022 11:04 pm
by JakeSFR
don570 wrote:

It appears that the pinstall.sh script doesn't create the right click links for ROX.
The script is run. I ran it in the terminal to see what would happen.
But nothing occurred (see image....)

If you want to run UExtract's pinstall.sh script manually, you need to invoke it from / directory for it to work, so:

Code: Select all

cd /
/path/to/pinstall.sh

then it should create the symlinks, BUT:

Like I said before, there is something in Easy that prevents creating intended associations when installing a PET.
I checked and I think it's the build-rox-sendto script (invoked via petget) that abitrarily rebuilds all Open With symlinks, so basically everything done by UExtract's pinstall.sh will be reversed next time you install something.

Oh, and I just found this: https://forum.puppylinux.com/viewtopic. ... 679#p36679

There's not much I can do about it, that's how this system works.

Greetings!


Re: UExtract-4.10 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Wed Sep 14, 2022 11:48 pm
by don570

It's still useful with the desktop icon.
___________________________________


script to make links

Posted: Thu Sep 15, 2022 8:30 pm
by don570

I did some testing on Easy OS and found that a script to make the right click links is feasible.
First install the UExtract pet, then run the script to make the links (equivalent to a pinstall.sh script).
The script checks for the distro name.
Here's an example to make links to deb and pet packages and zip files.

Code: Select all

#!/bin/sh
cd  /etc; grep -q "Easy D" DISTRO_SPECS
if [ "$?" -eq 0 ]; then
mkdir -p /root/.config/rox.sourceforge.net/OpenWith/.application_zip
ln -fs /usr/local/apps/UExtract /root/.config/rox.sourceforge.net/OpenWith/.application_zip
mkdir -p /root/.config/rox.sourceforge.net/OpenWith/.application_vnd.debian.binary-package
ln -fs /usr/local/apps/UExtract  /root/.config/rox.sourceforge.net/OpenWith/.application_vnd.debian.binary-package
mkdir -p /root/.config/rox.sourceforge.net/OpenWith/.application_pet
ln -fs /usr/local/apps/UExtract  /root/.config/rox.sourceforge.net/OpenWith/.application_pet

fi

uextract for easy OS

Posted: Mon Sep 19, 2022 7:43 pm
by don570

I used the above method to make a pet of uextract for easy OS
http://forum.puppylinux.com/viewtopic.p ... a96abde280

However strange behaviour during right click of SFS files.

________________________________________________________


Re: uextract for easy OS

Posted: Mon Sep 19, 2022 8:13 pm
by JakeSFR

Yeah, this is really weird. I think you should carefully examine the symlinks as they are now.
Perhaps something's changed/broken them (a suspect: build-rox-sendto script).

Speaking of which - what if you install UExtract, the original PET as well as yours, with /usr/sbin/build-rox-sendto set to be non-executable?

Btw, I still can't boot Easy in QEmu in Fatdog - it just hangs at "Working-patition: sda2" with one CPU core maxed out and the used memory slooowly growing.
Gave it like 15 minutes and nothing else happened.

Greetings!


Re: UExtract-4.10 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Mon Sep 19, 2022 8:29 pm
by don570

Maybe it's not compatible with a windows partition.

I do a simple frugal install. It's a lot like fatdog linux .

To install EasyOS to the ext4 partition on the computer internal drive, copy those three files 'vmlinuz', 'initrd' and 'easy.sfs' across.

https://easyos.org/install/easy-frugal- ... ation.html

menu.lst file...

Code: Select all

title EasyOS Dunfell (partition sda3 folder easyos)
  find --set-root-uuid () 054a04b8-0f00-11ed-aeb9-287fcfeb4376
  kernel /easyos/vmlinuz rw wkg_uuid=054a04b8-0f00-11ed-aeb9-287fcfeb4376 wkg_dir=easyos
  initrd /easyos/initrd

Re: UExtract-4.11 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Thu Apr 06, 2023 5:06 pm
by JakeSFR

Version 4.11:

- fix extracting mp2 audio from .mpg vids
- fix extracting adpcm_ima_qt audio from .mov vids
- minor fixes and improvements
- new formats/extensions:

  • .3gpp (3GPP Media File) [avconv|ffmpeg]

  • .qt (Apple QuickTime Movie) [avconv|ffmpeg]

  • .rlib (Static Rust Library) [ar|7z]

  • .ucimg (FirstRib Savefile) [{cryptsetup|{gdisk|fdisk}}+mount]

First post updated.

Greetings!


Re: UExtract-4.11 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Fri Apr 07, 2023 1:14 am
by MochiMoppel

@JakeSFR :thumbup2:

Only a minor point: BLUECOL="\e[0;34m" leads to unreadable text in dark terminals.

uextract_bluecolor.png
uextract_bluecolor.png (50.43 KiB) Viewed 3190 times

Re: UExtract-4.11 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Fri Apr 07, 2023 7:18 pm
by JakeSFR
MochiMoppel wrote: Fri Apr 07, 2023 1:14 am

@JakeSFR :thumbup2:

Only a minor point: BLUECOL="\e[0;34m" leads to unreadable text in dark terminals.

Come on, it's not _that_ bad, I can read it fine (and I'm overdue for new glasses), it's just slightly unpleasant.
Besides, it's only info stuff, as opposed to more important warnings (yellow) and errors (red).

However, if it comes for the latter two, the format is like ${REDCOL}ERROR: ${OFFCOL}Error Message, so I might want to do it the same way also for the info messages: ${BLUECOL}INFO: ${OFFCOL}Info Message, for consistency.
I'll add it to my TO-DO list.

Thanks &
Greetings!


Re: UExtract-4.11 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Fri May 05, 2023 7:52 am
by Jasper

@JakeSFR

Thanks for your utility, I most probably use it several times a day without a thought :lol:

I have an error message and am unsure as if it is due to me or that it is a missing function in the application ie xz being unsupported

Image

Can you let me know?

*EDIT* ......Ooops checked your 1st post and see that it is a format not supported.

Can be added in a future update if possible?

Thanks :thumbup:


Re: UExtract-4.11 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Tue May 09, 2023 8:32 pm
by JakeSFR

Hey @Jasper!

Well, actually the problem seems to be your unsquashfs binary, which only supports gzip compression.
Here's 32bit, statically linked unsquashfs, which you can put in /usr/local/apps/UExtract/resources and UExtract should pick it up next time.
It supports gzip, lzma, lzo, lz4, xz and zstd.

https://we.tl/t-ItCOWeV2Vc

MD5: d4ee115183bd9de9d0ab98be132ab06e unsquashfs

Btw, make sure to make it executable.

Greetings!


Re: UExtract-4.11 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Tue May 09, 2023 10:18 pm
by Jasper

@JakeSFR

Thanks for the reply and the binary.

I saw the message in the directory and have some other binaries that can be utilised too :thumbup2:


Re: UExtract-4.11 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Wed May 10, 2023 2:24 pm
by mikeslr

Pre-Second-Cup-of-Coffee.

It took me awhile to realize that the issue reported by jasper in the third post before this one and SFR's gracious publication of a file to solve that issue only relates to running UExtract under a 32-bit system.

To make sure I got that right, I just UExtracted an xz-compressed file under Fossapup64-9.6. Extraction went smoothly without any warnings.


Re: UExtract-4.11 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Thu May 11, 2023 11:13 am
by Jasper

@mikeslr

I am using a 64bit OS and yes the 32bit binary works perfectly fine for me.

Image

this is a bit strange when I checked the two versions of the binary in both locations

Image

Image

It works regardless, so that's important to me and solved my problem :thumbup:


Re: UExtract-4.12 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Sun Mar 17, 2024 2:20 pm
by JakeSFR

@MochiMoppel: I was going to add some MIME types to the main desktop file, but noticed strange things happening.

For example, despite this line in /usr/share/applications/mimeinfo.cache:
application/x-7z-compressed=defaultarchiver.desktop;engrampa.desktop;uextract.desktop;
UExtract still doesn't show up in Firefox, although both defaultarchiver and engrampa are still available.
Same with application/zstd=engrampa.desktop;uextract.desktop; - only engrampa shows up.

And conversely, having uextract.desktop in these lines:

Code: Select all

application/x-gzip=defaultarchiver.desktop;engrampa.desktop;uextract.desktop;
application/gzip=uextract.desktop;

causes defaultarchiver to disappear from available handlers (engrampa is still there) and uextract becomes the default one.

At the end of the day it's too messy and unpredictable, so I'll just leave it as is for now.

Greetings!


Re: UExtract-4.12 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Sun Mar 17, 2024 2:21 pm
by JakeSFR

Version 4.12:

  • changed all blue info messages to the default color, but with blue 'INFO:' prefix (thanks to MochiMoppel)
  • minor fixes and improvements
  • new formats/extensions:
    • .bz3 (Bzip3 Compressed File) [b(un)zip3]

    • .bzip3 (Bzip3 Compressed File) [b(un)zip3]

    • .cpio.bz3 (Bzip3 Compressed CPIO Archive) [b(un)zip3+cpio]

    • .cpio.bzip3 (Bzip3 Compressed CPIO Archive) [b(un)zip3+cpio]

    • .lrv (Low-resolution Video File) [avconv|ffmpeg]

    • .pcv (Picocrypt Encrypted File) [picocrypt]

    • .rxdbak (RxDroid Backup File) [unzip|7z]

    • .tar.bz3 (Bzip3 Compressed Tar Archive) [b(un)zip3+tar]

    • .tar.bzip3 (Bzip3 Compressed Tar Archive) [b(un)zip3+tar]

    • .tbz3 (Bzip3 Compressed Tar Archive) [b(un)zip3+tar]

    • .xpak (Gentoo Binary Package) [{b(un)zip2|g(un)zip|(un)lz4|l(un)zip|(un)lzma|(un)lzop|(un)xz|(un)zstd}+tar]

    First post updated.

Greetings!


Re: UExtract-4.12 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Mon Mar 18, 2024 11:00 am
by MochiMoppel
JakeSFR wrote: Sun Mar 17, 2024 2:20 pm

@MochiMoppel: I was going to add some MIME types to the main desktop file, but noticed strange things happening.

Those strange things you describe happen in Firefox, but you wrote earlier

JakeSFR wrote: Sat Dec 09, 2023 6:56 pm

Well, both UExtract and PackIt are meant primarily as ROX right-click apps, so there's no postponing anything, everything's as intended. And they definitely weren't designed as Firefox's or anything else's handlers. ;)

So I now wonder why you are concerned about the behavior in Firefox. I assume that you tested in Fatdog. Strange that you see an effect at all. Here in BW64 I use LibreWolf. The browser seems to disregard /usr/share/applications/mimeinfo.cache. E.g. a typical line in mimeinfo.cache would read

Code: Select all

application/x-tar=pextract.desktop;UExtract.desktop;xarchiver.desktop

When trying to open a tar archive in LibreWolf I'm given a choice like in a Russian election: Though with pextract, UExtract and xarchiver there are 3 candidates, LibreWolf offers "Default archiver (default)" and also Xarchiver under "Recommended Applications". Default archiver is the name for defaultarchiver file, which in turn is a wrapper script for Xarchiver. So I have the choice between Xarchiver and Xarchiver :lol:
I can change the default in /usr/share/applications/mimeapps.list, but that's about the only file that has any effect on the handler choices presented by the browser. There are also defaults defined in /etc/pmime.conf , probably created by the /usr/sbin/pmime script, but these settings are ignored by the browser.
So yes, in the browser MIME handlers are a mess. Only relevant if the user wants the browser to open an archive, irrelevant if the user instructs the browser to download the archive - which is the default behavior.

As for applications other than browsers everything works as expected in BW64. Here by default MIME declarations are included in the (main) UExtract.desktop file. No related files are created in ~/.config/rox.sourceforge.net/SendTo. I know that you don't like this. I still don't know why. It works :thumbup2:


Re: UExtract-4.12 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Mon Mar 18, 2024 1:58 pm
by Grey
MochiMoppel wrote: Mon Mar 18, 2024 11:00 am

When trying to open a tar archive in LibreWolf I'm given a choice like in a Russian election: Though with pextract, UExtract and xarchiver there are 3 candidates, LibreWolf offers "Default archiver (default)"

Nothing in common :P There were 4 candidates. But three archivers were unknown to anyone (who is the author, which version?!), so users chose the default time-tested archiver with high compression and speed ;)


Re: UExtract-4.12 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Mon Mar 18, 2024 5:56 pm
by JakeSFR
MochiMoppel wrote: Mon Mar 18, 2024 11:00 am

So I now wonder why you are concerned about the behavior in Firefox.

Because I don't want to introduce, or rather add, more chaos to it.

MochiMoppel wrote: Mon Mar 18, 2024 11:00 am

As for applications other than browsers everything works as expected in BW64. Here by default MIME declarations are included in the (main) UExtract.desktop file. No related files are created in ~/.config/rox.sourceforge.net/SendTo. I know that you don't like this. I still don't know why. It works :thumbup2:

I guess if it wasn't for Firefox (and other browsers, IIRC), I'd probably go for it, but it's so untidy; puts me off. :/

Greetings!


Re: UExtract-4.12 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Sat Apr 06, 2024 11:04 pm
by Jasper

@JakeSFR

Thanks for the update, as always my "go to" application :thumbup2:

I am using a different build of PuppyOS ie JammyPup64.

I have only realised that this only supports Gzip.

I did have this problem when I was using FossaPup64-95 and you kindly shared a SFS binary that resolved the issue:

viewtopic.php?p=88701#p88701

The link has expired and I was hoping that it is a "universal" binary that I could use with my current build?

If so, and if it is not too much trouble, could you share it once again?


Re: UExtract-4.12 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Sat Apr 06, 2024 11:22 pm
by JakeSFR

Sure, no problem, attached.

Greetings!


Re: UExtract-4.12 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Sun Apr 07, 2024 8:19 am
by Jasper

@JakeSFR

Thank you so much :thumbup:

I have been flitting between two devices to use the application.

I will 'put it away' in a safe place :thumbup2:

Have a great weekend!!


Re: UExtract-4.12 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Mon Apr 15, 2024 5:37 pm
by Jasper

@JakeSFR

I still am experiencing some difficulties with this application.

I am using Jammypup64 and this is the contents of my resources directory

Image

I have checked my Fossapup64-95 OS and the contents are the same as above and this presents no problems with extracting zstd archives.

Any suggestions?

** EDIT ** maybe I need to compile a static zstd binary?


Re: UExtract-4.12 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Mon Apr 15, 2024 6:41 pm
by JakeSFR
Jasper wrote: Mon Apr 15, 2024 5:37 pm

** EDIT ** maybe I need to compile a static zstd binary?

No, the unsquashfs binary has all needed things already compiled-in.

But I think I know what's happening here.
UExtract probes for unsquashfs binary using these names, in this order:

unsquashfs4 -> unsquashfs -> unsquashfs3

given that, at least at some point, the first one was the latest version.

So, I think JammyPup has unsquashfs4 binary/link somewhere in PATH and that's why the one from the resources directory is not being picked up.

Try to change its (the one in resources dir) name to unsquashfs4 and see what happens.

Greetings!


Re: UExtract-4.12 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Mon Apr 15, 2024 7:00 pm
by Jasper

@JakeSFR

Changing the name to unsquashfs4 did the trick :thumbup2:

Image

Thank you ......... you've saved me having to go back and forth between two devices :lol:


Re: UExtract-4.13 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Mon May 20, 2024 11:09 am
by JakeSFR

Version 4.13:

- added more MIME types
- (un)xz can also extract LZIP
- can extract XZ compressed MAR archives
- can extract old cryptoloop savefiles using cryptsetup
- minor fixes and improvements
- new formats/extensions:

  • .cpio.zz (ZZ Compressed CPIO Archive) [g(un)zip+cpio+<internal>]

  • .tar.zz (ZZ Compressed Tar Archive) [g(un)zip+tar+<internal>]

  • .zx0 (ZX0 Compressed File) [salvador]

First post updated.

Greetings!


Re: UExtract-4.13 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Mon May 20, 2024 8:25 pm
by mikewalsh

@JakeSFR :-

Thanks, Jake. Excellent work as always. Can't imagine life without this, y'know? Image

Mike. ;)


Re: UExtract-4.13 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Tue May 21, 2024 8:06 am
by jamesbond

Indeed. Before the days of PackIt and UExtract, it was second nature for me to drop to CLI and the compression programs from it. But now I wonder how I survived that long without these two :thumbup2:


Re: UExtract-4.14 - A Universal/Utter/Ultimate/Uhatever Extractor

Posted: Fri Jul 26, 2024 1:27 pm
by JakeSFR

Thanks guys! :)
___________

Version 4.14:

- added '-r, --recursive' CLI option (automatically used via right-click GUI)
- fixed extracting .lnx archives
- fixed extracting cloned Fossil repos
- fixed extracting GMail's .mbox
- fixed dead links in Weblinks
- some refactoring, fixes and improvements
- removed 1 extension (.cdd) - I had a wrong sample file
- new formats/extensions:

  • .aar (Android Archive) [unzip|7z]

  • .afzplug (AfterShot Pro Plugin Archive) [unzip|7z]

  • .d41 (1541/2031/3040/4040 disk image) [c1541]

  • .d67 (CBM2040 (DOS1) disk image) [c1541]

  • .d80 (CBM8050 disk image) [c1541]

  • .d82 (CBM8250/1001 disk image) [c1541]

  • .d90 (CBM D9090/60 disk image) [c1541]

  • .g41 (GCR-encoded 1541 disk image) [c1541]

  • .g64 (GCR-encoded 1541 disk image) [c1541]

  • .g71 (GCR-encoded 1571 disk image) [c1541]

  • .gfar (Greenfoot Archive") [unzip|7z]

  • .gpkg.tar (Gentoo Binary Package) [tar+{g(un)zip|b(un)zip2|b(un)zip3|l(un)zip|(un)lz4|(un)lzma|(un)lzop|(un)xz|(un)zstd}]

  • .osf (OsmAnd Export File) [unzip|7z]

  • .rbk (Rethink: DNS Backup File) [unzip|7z]

  • .x64 (1541/2031/3040/4040 disk image) [c1541]

  • .zw1 (EPLAN Data Backup Project) [7z]

First post updated.

Greetings!