Slimbook-Team / slimbookbattery

Slimbook Battery 4
https://slimbook.es/en/tutoriales/aplicaciones-slimbook/398-slimbook-battery-3-application-for-optimize-battery-of-your-laptop
GNU General Public License v3.0
252 stars 18 forks source link

Support for Ubuntu Lunar #105

Closed cHunter789 closed 1 year ago

cHunter789 commented 1 year ago

Currently there is no repository for Ubuntu 23.04. Could you please add?

siddhpant commented 1 year ago

You need to install it yourself. All repos are outdated.

cHunter789 commented 1 year ago

The problem is bigger. The installation script uses pip without a venv what is forbidden in new Ubuntu and Fedora and give me error:

error: externally-managed-environment

I have to modify this part of deploy.sh script:

if [[ ! $(pip3 install -r requirements.txt) ]]; then
        print_warn_bold "ERROR: Could not install Python dependencies."
        exit 1
fi

To this one (will work only for Ubuntu):

if [[ ! $(apt-get install python-gi-dev python-configparser) ]]; then
        print_warn_bold "ERROR: Could not install Python dependencies."
        exit 1
fi

Other solution could be to use pipx as described here: https://itsfoss.com/externally-managed-environment/