Skip to content

Add basic GUI based on Zenity#7

Open
shvchk wants to merge 1 commit intoValdikSS:masterfrom
shvchk:feature-gui
Open

Add basic GUI based on Zenity#7
shvchk wants to merge 1 commit intoValdikSS:masterfrom
shvchk:feature-gui

Conversation

@shvchk
Copy link
Copy Markdown

@shvchk shvchk commented May 29, 2019

Fixes #6

@ValdikSS
Copy link
Copy Markdown
Owner

ValdikSS commented Sep 7, 2019

This script should probably re-spawn itself as root, because it could not kill windows2usb script and its spawned processes, as they were running as root.
Take a look how I did it in windows2usb, in the end of file.

Comment thread windows2usb-gui

while [[ -z "$image" ]]
do
image="$(zenity --file-selection --title='Select image')"
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
image="$(zenity --file-selection --title='Select image')"
image="$(zenity --file-selection --file-filter='Image files (iso) | *.iso *.ISO' --file-filter='All files | *' --title='Select image')"

Comment thread windows2usb-gui
--title='Select bootloader mode' \
--column='' --column='ID' --column='Mode' --hide-column=2 \
FALSE 'mbr' 'BIOS Boot' \
TRUE 'gpt' 'UEFI Boot' \
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
TRUE 'gpt' 'UEFI Boot' \
TRUE 'gpt' 'UEFI Boot (recommended)' \

@ValdikSS
Copy link
Copy Markdown
Owner

ValdikSS commented Sep 7, 2019

And it would be much, much better to actually show the progress. Is it possible to parse 7z progress in percentage and show it in zenity progress bar?

@ValdikSS
Copy link
Copy Markdown
Owner

@shvchk ping

@ValdikSS
Copy link
Copy Markdown
Owner

ValdikSS commented Dec 8, 2019

@shvchk ping. I really want to merge that but it doesn't work correctly as for now.

@Twig6943
Copy link
Copy Markdown

Hey could you merge this? Its been half a decade lol

@Twig6943
Copy link
Copy Markdown

image Nvm this is probably going to break 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

Successfully merging this pull request may close these issues.

Simple GUI with Zenity / YAD

3 participants