Skip to content

CommanderPi not working on Rasberry Pi4 with Twister or Rasberian #75

Description

@srebel06

I am new and have been pulling my hair out looking through comment issues for a solve on this. I finally just uploaded TwisterOS and still can not use CommanderPi. All of the tutorials I have found to overclock didn't work because the command lines to change the voltage and arm are not in my config.txt or firmware/config.txt, so CommanderPi seemed like the right program. Below is what is coming back now that I have TwisterOS.

#!/bin/bash
if ! cat /proc/cpuinfo | grep Model | sed 's/Model.: //g' | grep -q 'Raspberry Pi' ;then
error "User error: CommanderPi can only be installed on Raspberry Pi devices. Your device is: $(cat /proc/cpuinfo | grep Model | sed 's/Model.
: //g')"
fi

rm -rf ~/CommanderPi &>/dev/null || sudo rm -rf ~/CommanderPi || error "Failed to remove CommanderPi folder!"

Get dependencies

install_packages python3 python3-psutil python3-tk python3-pil python3-pil.imagetk || exit 1
git_clone https://github.com/Jack477/CommanderPi || error "failed to download repository!"
cd CommanderPi || error "failed to enter repository!"

make sure start.sh is executable

chmod +x src/start.sh
sudo python3 c_desktop.py $USER || error "Could not install commanderpi!"
sudo chown $USER:$USER ~/Desktop/commanderpi.desktop
chmod +x ~/Desktop/commanderpi.desktop

Any help is appreciated

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions