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 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
2
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.
3
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.
4
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.
5
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"


6
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.
7
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!
8
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by Şerban S. on May 08, 2024, 05:26:15 AM »
I noticed that too Serban.  I then looked at my LL6.6 system and when you initiate "lite-tweaks" from the terminal it kicks out those same messages/errors when you run the scripts; even when as the tasks run correctly...

lite-tweaks
HOSTNAME
/usr/bin/lite-tweaks-super: line 1089: ((: PERCENTAGE = 100 \* 1 / 1 : syntax error: invalid arithmetic operator (error token is "\* 1 / 1 ")
WHISKER
/usr/bin/lite-tweaks: line 578: ((: PERCENTAGE = 100 \* 1 / 1 : syntax error: invalid arithmetic operator (error token is "\* 1 / 1 ")
Thanks for testing!
I went a little further, but things are weird.
I'll post in a few minutes...
9
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by sqwuade on May 08, 2024, 05:24:03 AM »
I noticed that too Serban.  I then looked at my LL6.6 system and when you initiate "lite-tweaks" from the terminal it kicks out those same messages/errors when you run the scripts; even when the tasks run correctly...

lite-tweaks
HOSTNAME
/usr/bin/lite-tweaks-super: line 1089: ((: PERCENTAGE = 100 \* 1 / 1 : syntax error: invalid arithmetic operator (error token is "\* 1 / 1 ")
WHISKER
/usr/bin/lite-tweaks: line 578: ((: PERCENTAGE = 100 \* 1 / 1 : syntax error: invalid arithmetic operator (error token is "\* 1 / 1 ")

10
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by Şerban S. on May 08, 2024, 04:42:31 AM »
Yeah, Lite Tweaks is a weird one, hard to debug. Staring from a terminal gives no clues.
Thank you Șerban :)

Installed on ASUS X200MA = OK.

Takes long (some 50 minutes), but when running, it definitely runs faster than LL 6.4 / 6.6.
I found that accidentally. When I migrate my /home, this keeps my Chrome open-tabs list.
So when I opened Chrome, I had about 20 documents opened. On a machine like this, this is just insane! Yet, it worked!
The RAM load, said I still had some 300 MB of RAM free, out of 1,8 GB. I was running also DoubleCommander, gnome-system-monitor, Pluma. I guess that was all. Maybe the Terminal too.
SWAP use, was some 350 MB out of 4096 MB.

The Lite Tweaks thing:

I scavenged a little through my machine.
What I found is the source of the error

Code: [Select]
/usr/bin/lite-tweaks-super: line 1089: ((: PERCENTAGE = 100 \* 2 / 1 : syntax error: invalid arithmetic operator (error token is "\* 2 / 1 ")
I opened up the "lite-tweaks-super", which is a shell script.
Unfortunately, my programming skills are way below understanding the full code, or even parts of it. Yet...

Can you explain how this works?

Code: [Select]
while read  line
  do
    $line     # Execute functions one by one
    if [ $? = 1 ]; then
      zenity --info --title=" $_LT" --text="Error:\n${line}" 2>/dev/null
    fi
  let i++
  (( PERCENTAGE = 100 \* ${i} / ${TOTAL_LINES} ))
    echo "$PERCENTAGE"
    if [ "$PERCENTAGE" == "100" ]; then
      echo "#Done"
      sleep 1
    fi
done| zenity --progress --width="320" --window-icon="$_RUN_ICON" --pulsate --no-cancel --title="  $_LT" --auto-kill --auto-close 2>/dev/null

Namely:

Code: [Select]
  (( PERCENTAGE = 100 \* ${i} / ${TOTAL_LINES} ))

(( PERCENTAGE = 100 \* ${i} / ${TOTAL_LINES} ))

The snippet is supposed to return the value to increase the ProgressBar with PERCENTAGE.
I have a hard time understanding the RED character in the line:
What exactly does the integer division (\) with the *?
Wasn't this supposed to be... ?
Code: [Select]
  (( PERCENTAGE = 100 \ ${i} / ${TOTAL_LINES} ))
Just asking... Anyway, as I said, my programming skills are at a very low level.

Running Lite Tweaks

Bad luck!

This is what I got:

Code: [Select]
sudo lite-tweaks
ls: cannot access '/root/.local/share/Trash/files/': No such file or directory

---
Checked: "Log Archives", "Package Cache".
Click Begin: Crush.


What exactly means [ '/root/.local/share/Trash/files/': No such file or directory] ?
I wanted to check the availability of the /root/.local/share/.
I could access it.
"Trash" is missing, indeed, but the process is marked as Root so:
I could create the "Trash". So, what is the problem?
As I see it, chaining a large number of scripts, requires each time reissuing sudo whatever-script, because when exiting, previous-script releases the privileged process and another process is started, with the current-user ($USER I guess) privileges. While this works at install time, because $USER = $SUPER, at session level, the $USER is different than $SUPER. So it is the $HOME, for this matter.

Now, if I understood it right, then the sequence is (should be) this:

Code: [Select]
BeginButton_OnClick
ask-for-$SUPER-password

On the other hand, if the first line of code is:
Code: [Select]
BeginButton_OnClick

mkdir /root/.local/share/Trash/files/
ask-for-$SUPER-password

then the result is:

Code: [Select]
mkdir /root/.local/share/Trash/files/
mkdir: cannot create directory ‘/root/.local/share/Trash/files/’: Permission denied
This might trigger an ErrorMSG number that exits the BeginButton_OnClick code, and the whole procedure lite-tweaks.

Here it is the test result:

Code: [Select]
sudo mkdir /root/.local/share/Trash/files/
[sudo] password for serban:
 serban ~

The dir is obviously empty, but it's there!

What is really weird is this:

Code: [Select]
tmp/ltlogs.log: Permission denied

How come that?
I could create and save the file as $USER (serban, in my case).
As I understand, any process derived from the $USER, has the same rights as the $USER.
So, is there any other $USER than $USER = $SUPER = serban?
And if so, how is it possible?
If this is still possible, I see only one solution: some browser-side script hijacked into the system.
Or at least, created an open door to take some control of parts of the system.
If so, I'm already out. That's way beyond my knowledge and understanding.
I use encryption for my connection, but my level of skills in this branch, well, it's symbolic, to say it lightly...
Pages: [1] 2 3 ... 10
-->
X Close Ad

Linux Lite 7.0 RC1 Released - See Release Announcement Section