Giter VIP home page Giter VIP logo

Comments (13)

Botspot avatar Botspot commented on June 4, 2024 1

Closing this issue for now. @Itai-Nelken Please reply back to this thread when your tool has been overhauled and had its name changed.

Thank you.

from pi-apps.

NoozAbooz avatar NoozAbooz commented on June 4, 2024

May I ask what the purpose of this is?

from pi-apps.

Botspot avatar Botspot commented on June 4, 2024

Not sure to be honest. Looks really simple though.
image 1
image 2

from pi-apps.

Itai-Nelken avatar Itai-Nelken commented on June 4, 2024

it's more for beginners to the pi and Linux, it just executes apt commands (apt update, apt install etc.) without having to know or remember the exact commands.

from pi-apps.

Itai-Nelken avatar Itai-Nelken commented on June 4, 2024

it's the first version, it's sort of still in "beta".
I plan to add more apps and other things.
the whole idea of the app is to be simple

from pi-apps.

Botspot avatar Botspot commented on June 4, 2024

it's the first version, it's sort of still in "beta".
I plan to add more apps and other things.
the whole idea of the app is to be simple

I think it would be best if we wait until your 'system-tools' has more features. It's a really good concept, but I think adding it to Pi-Apps now would be too early, and would be harmful in the long run.

from pi-apps.

Itai-Nelken avatar Itai-Nelken commented on June 4, 2024

ok, do you have any ideas of things I could add?

from pi-apps.

Botspot avatar Botspot commented on June 4, 2024

@Itai-Nelken I don't know, just polish it up, maybe post it on the Raspberry Pi forums and you will get plenty of suggestions/improvement ideas.

One thing in particular that I think could be improved: After installing gparted, I had to press Enter 3 times. And then the terminal closed. Do we really need to press Enter 3 times just for the terminal to disappear? That seems unnecessary to me.

from pi-apps.

Itai-Nelken avatar Itai-Nelken commented on June 4, 2024

@Botspot I know, I'm removing unnecessary steps and sleep and echo commands and instead of everything being one long script I'm braking it into smaller scripts.
I included the version I'm working on now if you wan't to look at it (it's just the scripts, and most apps don't have install scripts yet)
anyway thanks for the suggestions.

system-tools-beta.zip

from pi-apps.

Botspot avatar Botspot commented on June 4, 2024

also do you know how can I make the script return to the first screen after for example installing an app (or changing the password etc.)

Easy: a while loop and case statement. Below, I wrote a little program for you:

#!/bin/bash
pkg_list="gparted
blender
inkscape
chromium-browser
firefox-esr"

#make another list, this one with line numbers in front of each line
num_list="$(echo "$pkg_list" | awk '{print NR  ") " $s}')"

max_num="$(echo "$pkg_list" | wc -l)"
while true;do
  re='^[0-9]+$'
  while [[ ! $number =~ $re ]];do
    #this loop will not exit until a number is selected
    echo -e "You can install this stuff:
  ${num_list}
  Enter a number [1-${max_num}]"
    read number
  done
  #past this point, a number is selected.

  #take that number and convert it to the package name in the list
  pkg="$(echo "$pkg_list" | sed -n "${number}p")"
  echo "This command would be run: sudo apt install -y $pkg"
done

from pi-apps.

Itai-Nelken avatar Itai-Nelken commented on June 4, 2024

@Botspot Thanks

from pi-apps.

Botspot avatar Botspot commented on June 4, 2024

@Itai-Nelken Also, you should change the name of this to something more unique.
System-Tools is very generic, and on my system it's even a menu category.
snapshot

from pi-apps.

Itai-Nelken avatar Itai-Nelken commented on June 4, 2024

@Botspot would you add the "app" now?
it still isn't a final realease, but if I don't find any bugs in the next few weeks then it will be final.

from pi-apps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.