You are Here:
Linux Lite 7.0 RC1 Released - See Release Announcement Section



Recent Posts

Pages: [1] 2 3 ... 10
1
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by Şerban S. on Today at 08:58:57 AM »
[...] What if you make that change on a system where the Lite-Tweaks works, like 6.6?

It doesn't. That is the problem.
It didn't on LL 6.4, and it still doesn't.
Anyway, it seems that it only affects the way the progress of the current task is displayed in the message box that appears.
So, with or without this string formatting error, the script does what is supposed to do: removes something or whatever the current task is.
The only approach to Lite Tweaks is see if the error comes from the upstream packages. It seems that this is the case.
2
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by sqwuade on Today at 07:22:57 AM »
Interesting Serban.  Did this change make any difference?  What if you make that change on a system where the Lite-Tweaks works, like 6.6?

Code: [Select]
  ( PERCENTAGE = (100 \* ${i} ) / ${TOTAL_LINES} )
As you can see, I moved the inner brackets to enclose the computation of the integer value of the number of lines, which is a runtime value.
But this has logic for me.
I'm curious if that checks though.
3
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by Şerban S. on Today at 07:12:51 AM »
[...] 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.

[...] 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: [Select]
  (( PERCENTAGE = 100 \* ${i} / ${TOTAL_LINES} ))
This generates the following output:

Code: [Select]
/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: [Select]
  ( PERCENTAGE = (100 \* ${i} ) / ${TOTAL_LINES} )As you can see, I moved the inner brackets to enclose the computation of the integer value of the number of lines, which is a runtime value.
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.




4
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by sqwuade on Today at 12:54:01 AM »
Could the Lite-Tweaks app be rewritten in Python?  The "Lite Welcome" app (Similar in appearance to Lite-Tweaks) seems to be working fine in LL7, but those are written in python while the Lite-Tweaks is written in bash?

   /usr/bin/lite-welcome-live
else
   /usr/bin/lite-welcome-installed

The conversion to Python looks like it would be a bit of work but it could be a possible solution?

There were a lot of security changes in Ubuntu 24.04:
https://ubuntu.com/blog/whats-new-in-security-for-ubuntu-24-04-lts
5
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by sqwuade on May 08, 2024, 10:36:48 PM »
A lot of great posts here, thank you to all.
Not sure how I'm going to progress here with Lite Tweaks. It might be that it gets left out of 7x altogether.
If someone can come up with the solution, that's our only savior for now.

I'll take another look at it and see what I can find out.  I'm still betting the lite-tweaks issue is being caused by the the change of the polkit system.  That's the largest change to the base OS that I know of.  I haven't found a way (For testing purposes) to remove the new .rules system and rollback to the old .pkla system.  I'd like to see if the lite-tweaks would run on a system after doing that.
6
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by Şerban S. on May 08, 2024, 08:19:11 PM »
A lot of great posts here, thank you to all.
Not sure how I'm going to progress here with Lite Tweaks. It might be that it gets left out of 7x altogether.
If someone can come up with the solution, that's our only savior for now.
I'm in doubt if there's anything with your work.
As I see it, the upstream packages are far from being to date.
I got some 21+ updates that I hold. As for yesterday at about 15:00 GMT+3. Might be more now though.
Among those, are also zenity components, but there are many other key components too.
I guess I posted the terminal output yesterday.

Would it be a bad idea to just wait and see what comes from Ubuntu Core and re-test, from time to time?
At least, that's what I'm going to do.
I'll fire the update and see what happens, if any change at all.
After writing the shell script and testing, at least I know I have some means to steal some info while running Tweaks.
Anyway, there's still time. it's only the 9th of May...
Things might still settle down in our favor.
I wish I was a better programmer, but this is it...

Best regards, Șerban.
7
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by Jerry on May 08, 2024, 07:59:44 PM »
A lot of great posts here, thank you to all.
Not sure how I'm going to progress here with Lite Tweaks. It might be that it gets left out of 7x altogether.
If someone can come up with the solution, that's our only savior for now.
8
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by Şerban S. on May 08, 2024, 09:47:16 AM »
ASUS Terminal output:

Upsteram bugs?

********************************
      TERMINAL OUTPUT 2:
********************************


Code: [Select]
Welcome to Linux Lite 7.0 serban
 
Wednesday 08 May 2024, 16:29:44
Memory Usage: 947/1853MB (51.11%)
Disk Usage: 9/30GB (34%)
Support - https://www.linuxliteos.com/forums/ (Right click, Open Link)
 
serban  ~  sudo apt upgrade
[sudo] password for serban:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following upgrades have been deferred due to phasing:
  gir1.2-glib-2.0 gir1.2-glib-2.0-dev libgirepository-2.0-0 libglib2.0-0t64 libglib2.0-bin libglib2.0-data libglib2.0-dev
  libglib2.0-dev-bin
The following packages have been kept back:
  inxi zenity zenity-common
The following packages will be upgraded:
  python3-apport python3-problem-report
2 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
Need to get 116 kB of archives.
After this operation, 0 B of additional disk space will be used.
N: Some packages may have been kept back due to phasing.
Do you want to continue? [Y/n]


********************************
      TERMINAL OUTPUT 1:
********************************


Lite Tweaks Issue...

Code: [Select]
Welcome to Linux Lite 7.0 serban
 
Wednesday 08 May 2024, 16:20:30
Memory Usage: 891/1853MB (48.08%)
Disk Usage: 9/30GB (34%)
Support - https://www.linuxliteos.com/forums/ (Right click, Open Link)
 
 serban  ~  sh /asus/Asus-Diverse/Weird-Lite-Tweaks-Spy-02a.sh
===========================================================

======ooo OOOOOO ooo======
Script to see what's wrong in Linux Lite 7.0 RC1 with Lite Tweaks
===========================================================
======ooo OOOOOO ooo======
    Get the machine and OS info:
Linux X200MA 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
    Get the current user:
serban
    Run Lite Tweaks from CLI:
Waiting 1 sec...
    I am running Lite Tweaks now...
    Making the selections...

    This message only appears AFTER the Begin OR Quit button WAS CLICKED.
Waiting 1 sec...
   Checking the current USER, AFTER working with Lite Tweaks:
serban
    Run Lite Tweaks as Root:
[sudo] password for serban:
ls: cannot access '/root/.local/share/Trash/files/': No such file or directory
    Clicked some button: Begin OR Quit

===========================================================
          Weird-Lite-Tweaks-Spy-02a.sh
===========================================================
                       --- THE END! ---
===========================================================
              © Şerban Stănescu, Wed-08-05-2024
===========================================================
 serban  ~ 


If someone can get something out of that, I'll be glad to hear "SOLVED"


9
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by Şerban S. on May 08, 2024, 06:47:23 AM »
One more test:

Still on LL 6.6.

Code: [Select]
sudo /usr/bin/lite-tweaks-super
[sudo] password for serban:
cat: /tmp/myltuser: No such file or directory
/usr/bin/lite-tweaks-super: line 1089: ((: PERCENTAGE = 100 \* 1 / 0 : syntax error: invalid arithmetic operator (error token is "\* 1 / 0 ")

Then:

Code: [Select]
sudo /usr/bin/lite-tweaks-super
cat: /tmp/myltuser: No such file or directory
/usr/bin/lite-tweaks-super: line 1089: ((: PERCENTAGE = 100 \* 1 / 0 : syntax error: invalid arithmetic operator (error token is "\* 1 / 0 ")


Code: [Select]
sudo /usr/bin/lite-tweaks
cat: '/root/.config/xfce4/panel/whiskermenu-*.rc': No such file or directory

Still, the zenity window appeared and is functional.
See previous post with the Terminal outputs.
10
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by Şerban S. on May 08, 2024, 06:27:21 AM »
@Jerry

Getting angry

I wrote this simple script an ran it:

Code: [Select]
#!/bin/bash
# Weird-Lite-Tweaks-Spy.sh
# Script to see what's wrong in Linux Lite 7.0 RC1 with Lite Tweaks
#
# ======================
# ===  Wed-08-05-2024 ===
# ======================
# © Şerban Stănescu, 2024
# ---
# Version 0.1, Wed-08-05-2024
# # #
# #
# TESTED: Wed-08-05-2024;
#
# ======ooo OOOOOO ooo======
echo "==========================================================="
echo ""
echo "======ooo OOOOOO ooo======"
echo " Script to see what's wrong in Linux Lite 7.0 RC1 with Lite Tweaks"
echo "==========================================================="
echo "======ooo OOOOOO ooo======"
whoami
lite-tweaks
echo " Waiting 1 sec... "
sleep 1
echo "   Checking the $USER, AFTER working with Lite Tweaks "
whoami

echo ""
echo "==========================================================="
echo "      Weird-Lite-Tweaks-Spy.sh"
echo "==========================================================="
echo "                       --- THE END! ---"
echo "==========================================================="
echo "              © Şerban Stănescu, Wed-08-05-2024"
echo "==========================================================="


Now, things get really weird, and this is WHY:
I ran the script on the current machine, which is Linux Lite 6.6, on Dell Precision T1700 (see the left Forum widget)

Here is the output:

Code: [Select]
===========================================================

======ooo OOOOOO ooo======
Script to see what's wrong in Linux Lite 7.0 RC1 with Lite Tweaks
===========================================================
======ooo OOOOOO ooo======
serban
APTGETCLEAN|SYSDARCLOGS
/usr/bin/lite-tweaks-super: line 1089: ((: PERCENTAGE = 100 \* 1 / 2 : syntax error: invalid arithmetic operator (error token is "\* 1 / 2 ")
/usr/bin/lite-tweaks-super: line 1089: ((: PERCENTAGE = 100 \* 2 / 2 : syntax error: invalid arithmetic operator (error token is "\* 2 / 2 ")
REMKERNELS
tee: /tmp/ltlogs.log: Permission denied
tee: /tmp/ltlogs.log: Permission denied
/usr/bin/lite-tweaks-super: line 1089: ((: PERCENTAGE = 100 \* 2 / 1 : syntax error: invalid arithmetic operator (error token is "\* 2 / 1 ")
Waiting 1 sec...
   Checking the serban, AFTER working with Lite Tweaks
serban

===========================================================
      Weird-Lite-Tweaks-Spy.sh
===========================================================
                       --- THE END! ---
===========================================================
              © Şerban Stănescu, Wed-08-05-2024
===========================================================
Press ENTER to exit...

If you watch close the code, the $USER variable from the script, was replaced with the current user, which means that there is only one user on the machine, which is right.
But then, who wants to write into the file "/tmp/ltlogs.log" and gets kicked out: "/tmp/ltlogs.log: Permission denied"?
I created the file (see previous posts) without any problem, saved it so what ghost is this?!
"Who", is actually some process (PID). But how can a process be started by $USER = nobody, since even the most "nobody" user is $GUEST, and on this machine, there IS only ONE user: serban.

Confused...

I checked the rights on the sequence of scripts.
 $USER has rx rights, but lacks w. Meaning I can execute any of the scripts, but I am denied the writing rights.
This might generate the "/tmp/ltlogs.log: Permission denied", due to user/owner mismatch.
Yet, the Lite Tweaks works on Lite 6.6, even if it throws errors.
In Lite 7.0 RC1 Though, it crashes when pressing the "Begin" button.
The strange thing though, is that it only crashed on the tasks that require the $SUPER rights.
I have to check that again, too.
I have to move on ASUS X200MA to see what is the output of the script "Weird-Lite-Tweaks-Spy.sh".

Best regards!
Pages: [1] 2 3 ... 10
-->
X Close Ad

Linux Lite 7.0 RC1 Released - See Release Announcement Section