You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sleep 600 | zenity --attach="$windowID" --width=300 --progress --title=$"Please wait..." --pulsate --no-cancel --auto-close --text $"Checking the integrity of the download and storage device..."&
43
+
sleep 600 |$GTK_DIALOG progress --title=$"Please wait..." --pulsate --no-cancel --auto-close --text $"Checking the integrity of the download and storage device..."&
41
44
fi
42
45
43
46
while [[ -n"$(ps -e | grep biglinux-verify)" ]];do
--text=$"<b>Do you want to proceed with the installation of this old version anyway?</b>\n\nBigLinux is a system with weekly updates and this version was released more than a month ago.\nWe recommend downloading a more recent version." \
72
+
--text=$"Do you want to proceed with the installation of this old version anyway? BigLinux is a system with weekly updates and this version was released more than a month ago. We recommend downloading a more recent version." \
68
73
--ok-label=$"Continue" \
69
74
--cancel-label=$"Close"
70
75
@@ -337,17 +342,12 @@ if [[ -d /sys/firmware/efi ]] && [[ "$(cat /tmp/efi-partitions)" = "" ]]; then
337
342
PARTITION=LEGACY
338
343
339
344
TEXT_01=$"Do you want to proceed with the installation in EFI mode?"
340
-
TEXT_02=$"The current boot is using <span color='#CC2222'>EFI</span> mode, but I did not find any EFI partition on this computer.
341
-
342
-
If this computer already has another system installed and you intend
343
-
to keep it installed, you will probably need to change the
344
-
configuration in the BIOS to boot in Legacy mode, also
345
-
called BIOS mode."
346
-
zenity --question \
345
+
TEXT_02=$"The current boot is using EFI mode, but I did not find any EFI partition on this computer. If this computer already has another system installed and you intend to keep it installed, you will probably need to change the configuration in the BIOS to boot in Legacy mode, also called BIOS mode."
346
+
$GTK_DIALOG question \
347
347
--icon-name=drive-harddisk \
348
348
--width=500 \
349
349
--title=$"Install the system" \
350
-
--text="<b>$TEXT_01</b>\n\n$TEXT_02" \
350
+
--text="$TEXT_01$TEXT_02" \
351
351
--ok-label=$"Continue" \
352
352
--cancel-label=$"Close"
353
353
@@ -361,15 +361,12 @@ if [[ ! -d /sys/firmware/efi ]] && [[ "$(cat /tmp/efi-partitions)" != "" ]]; the
361
361
LIVEBOOT=LEGACY
362
362
PARTITION=EFI
363
363
TEXT_03=$"Do you want to proceed with the installation in Legacy/BIOS mode?"
364
-
TEXT_04=$"The current boot is using <span color='#CC2222'>Legacy/BIOS</span> mode, but I found at least one EFI partition on this computer.
365
-
366
-
For the installation to be successful, you will probably need to
367
-
change the configuration in the BIOS to boot in EFI or UEFI mode."
368
-
zenity --question \
364
+
TEXT_04=$"The current boot is using Legacy/BIOS mode, but I found at least one EFI partition on this computer. For the installation to be successful, you will probably need to change the configuration in the BIOS to boot in EFI or UEFI mode."
365
+
$GTK_DIALOG question \
369
366
--icon-name=drive-harddisk \
370
367
--width=500 \
371
368
--title=$"Install the system" \
372
-
--text="<b>$TEXT_03</b>\n\n$TEXT_04" \
369
+
--text="$TEXT_03$TEXT_04" \
373
370
--ok-label=$"Continue" \
374
371
--cancel-label=$"Close"
375
372
@@ -435,7 +432,7 @@ if [[ -e "/tmp/start_calamares" ]]; then
435
432
sudo -u $user curl -X POST --data-binary "@/home/$user/calamares_error.log" \
436
433
-H "Content-Type: application/octet-stream" \
437
434
"https://filebin.net/$binId/$fileName"2>/dev/null | tee "/home/$user/transfer.url"| \
@@ -459,19 +456,19 @@ if [[ -e "/tmp/start_calamares" ]]; then
459
456
sudo -u $user falkon "$fileUrl"
460
457
else
461
458
# No browser found - display URL to user
462
-
zenity --info \
459
+
$GTK_DIALOGinfo \
463
460
--title=$"Log Sent" \
464
-
--text=$"Log successfully sent!\n\nURL: $fileUrl\n\nYou can use this URL to share the log." \
461
+
--text=$"Log successfully sent! URL: $fileUrl You can use this URL to share the log." \
465
462
--width=400
466
463
fi
467
464
}
468
465
469
466
# Handle specific efibootmgr error (EFI entry write failure)
470
467
if grep -q 'grub-install: error: efibootmgr failed to register the boot entry: Input/output error.' /home/$user/calamares_error.log;then
471
-
zenity --question \
468
+
$GTK_DIALOGquestion \
472
469
--width=480 \
473
470
--title=$"calamares LOG" \
474
-
--text=$"It was not possible to write the EFI entry to the motherboard, likely due to insufficient space.\n\nCheck the EFI manager for any entries that can be deleted and try installing the system again." \
471
+
--text=$"It was not possible to write the EFI entry to the motherboard, likely due to insufficient space. Check the EFI manager for any entries that can be deleted and try installing the system again." \
475
472
--ok-label=$"Open the EFI manager" \
476
473
--cancel-label=$"Close"
477
474
@@ -481,18 +478,18 @@ if [[ -e "/tmp/start_calamares" ]]; then
481
478
fi
482
479
483
480
# Prompt user for log action (view/send/close)
484
-
log_action=$(zenity --list \
481
+
log_action=$($GTK_DIALOGlist \
485
482
--width=480 \
486
483
--height=350 \
487
484
--title="Calamares LOG" \
488
-
--text=$"Do you want to view or send the installation log file to the cloud?\nGenerate a link to send in support groups." \
485
+
--text=$"Do you want to view or send the installation log file to the cloud? Generate a link to send in support groups." \
489
486
--radiolist \
490
487
--hide-column=2 \
491
488
--print-column=2 \
492
489
--column="" --column="ID" --column=$"Action" \
493
-
TRUE "open"$"Open" \
494
-
FALSE "send"$"Send to the cloud" \
495
-
FALSE "close"$"Close")
490
+
--row TRUE --row "open" --row$"Open" \
491
+
--row FALSE --row "send" --row$"Send to the cloud" \
0 commit comments