Re: Did anybody ever use Gphoto2 with Whiptail or Dialog?

Alan Corey <[email protected]> Sat, 7 Nov 2020 11:48:49 -0500
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <CAOh3dDbz-OmMynhQFNne=zpVMXw+sXvAfOnJ3K9eac6A1vRq1Q@mail.gmail.com>
Oh, I meant to include this link:
https://en.m.wikibooks.org/wiki/Bash_Shell_Scripting/Whiptail

On 11/7/20, Alan Corey <[email protected]> wrote:
> Dialog has been around for years, Whiptail is a Debian (I think)
> adaptation of it.  It's meant for adding GUI-like user interfaces to
> Bash scripts.  They work with or without Xorg, you can make menus and
> checkboxes, that sort of stuff.  It's usable over an ssh connection
> since it's really curses, there's something similar in DOS I remember
> from my Turbo Pascal days in the 1980s.
>
> On a Raspberry Pi, raspi-config is written using it, it's just a Bash
> script..
>
> Because Gphoto2 has the ability to list choices for options, if you
> could store those into arrays in Bash and spew them out as choices on
> the screen, you could make it read cameras and possible options on
> startup.  A couple years ago I was trying to imagine a program for
> controlling cameras that would work well on a Raspberry Pi with a
> touchscreen (and batteries).  Whiptail should be usable on a $10
> Raspberry Pi ZeroWT which has wifi and bluetooth.  There are some
> 640x480 touchscreens for them around.
> --
> -------------
> I already voted, leave me alone.
>


-- 
-------------
I already voted, leave me alone.