05-09-2024, 11:12 AM
(05-09-2024, 04:54 AM)sqwuade link Wrote: [...] The "Lite Welcome" app (Similar in appearance to Lite-Tweaks) seems to be working fine in LL7 [...]
That is what I could see, too. Have to recheck it though. But so far, I can confirm.
(05-09-2024, 04:54 AM)sqwuade link Wrote: [...] There were a lot of security changes in Ubuntu 24.04: [...]
As I said, I'm far from what you might call "programmer". Still, from my experience, the mess is generated by some user rights management.
Since policy has changed, it's difficult to know all implications on the old code.
Given the fact that the classes are based on inheritance, an error that never became obvious in the old code, might now lead to such results.
Here is one example: Line 1089, lite-tweaks-super:
Code:
(( PERCENTAGE = 100 \* ${i} / ${TOTAL_LINES} ))
This generates the following output:
Code:
/usr/bin/lite-tweaks-super: line 1089: ((: PERCENTAGE = 100 \ 2 / 1 : syntax error: invalid arithmetic operator (error token is "\ 2 / 1 ")
The only thing I can do, is do a quick install of Lite 6.0 (I guess i still have it) and test if this error is present in which case, the error has been passed from version to version.
Sadly, there might be many more others.
What bothers me is that most people rely on Jerry to fix it (those?) but this is, to put it lightly, INHUMAN.
Since you looked at the code, you can imagine what kind of hell is to go line by line in a code like the "Lite Tweaks", let alone the whole suite "Lite..."
lite-tweaks-super alone, has 1,102 lines. Reviewing the whole code, takes simply put, a lot of man-power. Since we're dealing here with something different than chopping woods, well... Just being Schwarzenegger-like, helps nothing.
What is the correct form of this line?
Code:
( PERCENTAGE = (100 \* ${i} ) / ${TOTAL_LINES} )
But this has logic for me.
I'm curious if that checks though.
Further more, the gauge implied here (PERCENTAGE has to be passed to some kind of control)... I neve remember seeing any % progress bar or the like.
A variation is a StatusBar that shows a string like PERCENTAGE + " %". Have you ever seen this? Otherwise, might be just an internal counter to trigger something else than showing the progress.
Șerban.
"It's easy to die for an idea. It's way harder TO LIVE for your idea!"
Current Machine:
Dell Precision T1700, 16 GB RAM, SSD Kingston A400, 480 GB.
Laptop:
ASUS X200MA , Intel® Celeron® N2830, 2 GB RAM, SSD Kingston A400, 480 GB.
Current Machine:
Dell Precision T1700, 16 GB RAM, SSD Kingston A400, 480 GB.
Laptop:
ASUS X200MA , Intel® Celeron® N2830, 2 GB RAM, SSD Kingston A400, 480 GB.