Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Friendly CLI #21

Open
slashtechno opened this issue Feb 9, 2021 · 3 comments
Open

User Friendly CLI #21

slashtechno opened this issue Feb 9, 2021 · 3 comments

Comments

@slashtechno
Copy link

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
Copy link
Owner

Botspot commented Feb 9, 2021

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
Copy link
Author

slashtechno commented Feb 9, 2021

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
Copy link
Owner

Botspot commented Feb 9, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants