Botspot / Pi-Power-Tools

General Purpose Raspbian Image & SD Card Manager
GNU General Public License v3.0
193 stars 24 forks source link

User Friendly CLI #21

Open slashtechno opened 3 years ago

slashtechno commented 3 years ago

Similarly to #8 I was wondering if it would be possible to be able to launch image files easily from the command line. I know Vdesktop is works through the command line but is quite complicated. Below I put how it could look like. To boot an image (would launch VM shell and VM GUI): pi-power-tools boot <img file> To install a new image: pi-power-tools install pi-os-full

Botspot commented 3 years ago

I know Vdesktop is works through the command line but is quite complicated.

How is vdesktop complicated? I've been improving the user experience so now you can do things like:

vdesktop /home/pi/TwisterOSv1-5.img

Of course, like all good tools, vdesktop has other features you can enable or disable, if you want to. Without these optional features, vdesktop would be worse, not better.

To install a new image: pi-power-tools install pi-os-full

"Install"? Do you mean download an image, flash an image, or something else?

slashtechno commented 3 years ago

How is vdesktop complicated? I've been improving the user experience so now you can do things like:

vdesktop /home/pi/TwisterOSv1-5.img

I was experimenting around with Vdesktop and I could not seem to boot an image that would normally be easy to boot with Pi-Power-Tools.

To install a new image: pi-power-tools install pi-os-full

"Install"? Do you mean download an image, flash an image, or something else?

I mean download a new image, sorry I forgot to specify.

Also how do you enable/disable features.

Botspot commented 3 years ago

I was experimenting around with Vdesktop and I could not seem to boot an image that would normally be easy to boot with Pi-Power-Tools.

Well there's got to be a reason for that. Pi Power Tools directly runs vdesktop, so functionality should be exactly the same. (unless one vdesktop version is outdated or something)

I mean download a new image, sorry I forgot to specify.

I might consider doing that. However other projects like Pi-Apps are highly time-consuming. I may never get to it unfortunately.

Also how do you enable/disable features.

Every feature is explained on the vdesktop repository, and lists multiple ways to enable and disable each one. You can use the config file, or specify feature changes when you run vdesktop.
Options include the username to login with, the password, enabling VirGL, and other stuff.