Page 7 of 7

Re: SNApP (System Nonsuch ApP)

Posted: Tue Jun 27, 2023 3:02 pm
by stemsee

S.N.ApP-4.8.4.4

This has transtext post editing and translated audio playback.

gettext function has been removed, needs TGT, transtext gettext script.

bug prevented creation of new books.

Improved gettext markup


Re: SNApP (System Nonsuch ApP)

Posted: Thu Jun 29, 2023 11:30 pm
by stemsee

S.N.ApP-4.8.4.5

keyword bugfixes, and a few small rearrangements.

see next post


Re: SNApP (System Nonsuch ApP)

Posted: Fri Jun 30, 2023 1:43 pm
by stemsee

While I was learning about system startup. I followed a trail of scripts. So I decided to add a simple function which lists files in relevant directories. Selecting a list item views and edits it, Doubleclicking executes the item. Clicking ACTION executes edits in the Viewer. Edits in the viewer can of course be saved using keyword SAVE.

Directories listed:

/etc/rc.d/*
/etc/X11/*
/root/.fatdog/*
/root/Startup/*
/etc/xdg/Startup/*
/etc/xdg/autostart/*
/etc/xdg/Openbox/*
/etc/xdg/icewm/*

So system initiation starts with the bootloader, then to the OS loader, then to the initrd init, then switch root and fire up busybox init, or rc.sysinit, rc.network, rc.services, rc.Xstartwm, rc.Xdesktop, X11, xdg, .fatdog, Startups or similar. In my opinion one script should do, copying itself from initrd to the new root before switchroot, then continuing to boot to desktop.
link in file

S.N.ApP-4.8.4.6.txt
(66 Bytes) Downloaded 27 times

Re: SNApP (System Nonsuch ApP)

Posted: Sun Jul 02, 2023 1:46 pm
by stemsee

S.N.ApP-4.8.4.7

This release adds a new application startup method without executable or write permissions and no shebang, in addition to /usr/sbin/snapp.
Fixes a bug
Re-orders transeditor so mp3 files follow transtext files.
edit_startups maxdepth 1


Re: SNApP (System Nonsuch ApP)

Posted: Fri Jul 07, 2023 3:44 pm
by stemsee

last upload didnt work for me on a pristine install
snapp-4.8.4.8

https://drive.google.com/file/d/15fRMWS ... io7TIgwq7H
In fact to run the svg seems the menu entry desktopfile isn;t working.
edit Exec=

Code: Select all

Exec=bash -c "head -n3 /root/.config/snapp/icons/wifi7pc.svg | tail -n1 | sh"

Re: SNApP (System Nonsuch ApP)

Posted: Fri Jul 14, 2023 4:41 pm
by stemsee

By spreading an svg comment parenthesis across several lines the code that needs to executed is more easily accessed and piped to sh, while maintaining the integrity of the svg image. Then the encoded script is not executable, but the decoded script is. So without root permissions or even executable permissions we can elevate a series of processes to in the script to root privileges. Also the 'decoded script' is not shown by name in the Task Manager.

svg.png
svg.png (37.48 KiB) Viewed 1119 times
svg1.png
svg1.png (63.01 KiB) Viewed 1119 times

Re: SNApP (System Nonsuch ApP)

Posted: Mon Sep 25, 2023 2:23 am
by stemsee

Here is an update!

I had solved, ages ago, a display problem regarding backslash characters in the Viewer. However the solution was only applied to book viewing! Only today did I realize the solution could be applied universally. This means that when maingui opens and on selecting a function from the list, all formatting and backslash characters are viewed as per the original (as in the script). This further means that the viewer can now be more easily used to edit functions (which could be exported for immediate use), and for scripting.

backslash.png
backslash.png (186.13 KiB) Viewed 1011 times

Improved 'defconfn' to handle wifiscan and connect and profile creation, as well as connecting default profile, as long as not in wifiscanfn (or "$track"/scn flag does not exist).

This is the plain, unobfuscated snapp script to be placed in /usr/sbin or can be run from anywhere once executable permissions have been applied.
re-uploaded:

snapp.fake.gz
(189.31 KiB) Downloaded 28 times

Re: SNApP (System Nonsuch ApP)

Posted: Sat Sep 30, 2023 4:09 am
by stemsee

'flagfilterfn' should be an external function with its own file, called by the main script. The reason being that I have had to update the 'flags' case statements with new definitions, and I realize that updates will be continuous. So this will be implemented in the next update.

The help function needs a major overhaul and update with more detailed explanations.


Re: SNApP (System Nonsuch ApP)

Posted: Wed May 22, 2024 11:46 am
by stemsee

Yad 13 has many new options worth implementing.....


Re: SNApP (System Nonsuch ApP)

Posted: Tue Jun 11, 2024 2:17 pm
by stemsee

This is a small update.
Improved some displays, in tray and viewer.


Re: SNApP (System Nonsuch ApP)

Posted: Wed Jun 12, 2024 7:13 am
by stemsee

added a tray menu option > run .... just like the windows 'run cmd' ....

also now uses internal hostname for connections.


Re: SNApP (System Nonsuch ApP)

Posted: Fri Jun 14, 2024 10:09 am
by stemsee

In order to activate internal hostname for connections tray menu > Random Mac .... this generates and applies a random mac address and a random hostname which is not written to /etc/hostname

Number of Storage Devices in tray menu are limited to 33.