Skip to content

Commit 84a7888

Browse files
committed
Update to new bigbashview style
1 parent 0e19883 commit 84a7888

File tree

100 files changed

+542
-54295
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+542
-54295
lines changed

usr/bin/biglinux-verify-md5sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ cd /run/miso/bootmnt/manjaro/x86_64/
1010

1111
rm -f /tmp/md5sum_big_fail
1212

13-
Message=$"Verificando o arquivo:"
14-
Message2=$"Verificando se ocorreram erros no download ou pendrive, pode demorar alguns minutos..."
13+
Message=$"Checking the file:"
14+
Message2=$"Checking for download or USB drive errors, this may take a few minutes..."
1515

1616
(
1717
echo "10"
@@ -40,20 +40,20 @@ if [ "$?" != "0" ] ; then
4040
fi
4141
) |
4242
zenity --auto-close --progress \
43-
--title=$"Verificando integridade do sistema" \
43+
--title=$"Checking system integrity" \
4444
--text="$Message2" \
4545
--percentage=0
4646

4747
verify=$?
4848

4949
if [ "$verify" = -1 ] || [ "$(cat /tmp/md5sum_big_fail 2>/dev/null)" = "1" ] ; then
5050
zenity --error \
51-
--text=$"Erro encontrado, baixe novamente o sistema ou utilize outro pendrive."
51+
--text=$"Error found, please download the system again or use another USB drive."
5252
elif [ "$verify" = 0 ] ; then
5353
zenity --info \
54-
--text=$"Os arquivos estão integros."
54+
--text=$"The files are intact."
5555
else
5656
zenity --info \
57-
--text=$"Verificação cancelada."
57+
--text=$"Verification canceled."
5858
echo 1 > /tmp/md5sum_big_fail
5959
fi

usr/bin/calamares-biglinux

Lines changed: 56 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ export TEXTDOMAINDIR="/usr/share/locale"
66
export TEXTDOMAIN=calamares-biglinux
77

88
# md5sum
9-
if [ "$(ps -e | grep biglinux-verify)" != "" ]; then
9+
if [ "$(ps -e | grep biglinux-verify)" != "" ]; then
1010
windowID="$(xprop -root '\t$0' _NET_ACTIVE_WINDOW | cut -f 2)"
11-
sleep 600 | zenity --attach="$windowID" --width=300 --progress --title=$"Aguarde..." --pulsate --no-cancel --auto-close --text $"Verificando a integridade do download e dispositivo de armazenamento..." &
11+
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..." &
1212
fi
1313

14-
while [ "$(ps -e | grep biglinux-verify)" != "" ]; do
14+
while [ "$(ps -e | grep biglinux-verify)" != "" ]; do
1515
sleep 1
1616
done
1717

@@ -24,20 +24,20 @@ if [ ! -f "/tmp/checksum_biglinux_ok.html" ]; then
2424
fi
2525
fi
2626

27-
#se a ISO foi gerada a mais de 30 dias emiter ALERTA
27+
# if the ISO was generated more than 30 days ago, issue ALERT
2828
if [ "$(echo $(( $(date +%s) / 86400 )))" -gt "$(( $(cat /etc/big-release | grep UNIX_TIMESTAMP= | cut -d "=" -f2) + 30 ))" ]; then
2929
yad --image=emblem-warning --image-on-top --form --width=500 --height=100 --fixed \
3030
--align=center \
31-
--field=$"<b>Deseja prosseguir com a instalação dessa versão antiga assim mesmo?</b>
31+
--field=$"<b>Do you want to proceed with the installation of this old version anyway?</b>
3232
:LBL" \
33-
--text $"O BigLinux é um sistema de atualizações semanais e esta versão foi lançada a mais de um mês.\nRecomendamos que faça o download de uma versão mais recente.
33+
--text $"BigLinux is a system with weekly updates and this version was released more than a month ago.\nWe recommend downloading a more recent version.
3434
" \
35-
--button=$" Continue":0 \
36-
--button=$" Fechar":1 \
37-
--center --on-top --borders=20 --title=$"Versão Desatualizada" \
35+
--button=$"Continue":0 \
36+
--button=$"Close":1 \
37+
--center --on-top --borders=20 --title=$"Outdated Version" \
3838
--window-icon=emblem-warning
3939

40-
if [ "$?" = "1" ];then
40+
if [ "$?" = "1" ]; then
4141
exit 1
4242
fi
4343
fi
@@ -312,72 +312,65 @@ do
312312
umount "$i"
313313
done
314314

315-
316-
317315
# boot EFI without partition EFI
318316
if [ -d /sys/firmware/efi ] && [ "$(cat /tmp/efi-partitions)" = "" ] ;
319317
then
320318
LIVEBOOT=EFI
321319
PARTITION=LEGACY
322320

323-
TEXT_01=$"Deseja prosseguir com com a instalação em modo EFI?"
324-
TEXT_02=$"O boot atual está utilizando o modo <span color='#CC2222'>EFI</span>, porém não encontrei nenhuma
325-
partição EFI neste computador.
321+
TEXT_01=$"Do you want to proceed with the installation in EFI mode?"
322+
TEXT_02=$"The current boot is using <span color='#CC2222'>EFI</span> mode, but I did not find any EFI partition on this computer.
326323
327-
Se este computador já possui outro sistema instalado e você pretende
328-
que ele permaneça instalado, provavelmente será necessário alterar a
329-
configuração na BIOS para fazer boot em modo Legacy, também
330-
chamado de modo BIOS."
324+
If this computer already has another system installed and you intend
325+
to keep it installed, you will probably need to change the
326+
configuration in the BIOS to boot in Legacy mode, also
327+
called BIOS mode."
331328
yad --image=drive-harddisk --image-on-top --form --width=500 --height=100 --fixed \
332329
--align=center \
333330
--field="<b>$TEXT_01</b>
334331
:LBL" \
335332
--text "$TEXT_02
336333
" \
337-
--button=$" Continue"!gtk-apply:0 \
338-
--button=$" Fechar"!gtk-cancel:1 \
339-
--center --on-top --borders=20 --title=$"Instalar o sistema" \
334+
--button=$"Continue"!gtk-apply:0 \
335+
--button=$"Close"!gtk-cancel:1 \
336+
--center --on-top --borders=20 --title=$"Install the system" \
340337
--window-icon="/usr/share/icons/hicolor/scalable/apps/icon-big-hd-install.svg"
341338

342-
if [ "$?" = "1" ];
343-
then
339+
if [ "$?" = "1" ]; then
344340
exit
345341
fi
346342
fi
347343

348344

349-
# boot legacy and partition EFI
350-
if [ ! -d /sys/firmware/efi ] && [ "$(cat /tmp/efi-partitions)" != "" ] ;
351-
then
345+
# legacy boot and EFI partition
346+
if [ ! -d /sys/firmware/efi ] && [ "$(cat /tmp/efi-partitions)" != "" ]; then
352347
LIVEBOOT=LEGACY
353348
PARTITION=EFI
354-
TEXT_03=$"Deseja prosseguir com com a instalação em modo Legacy/BIOS?"
355-
TEXT_04=$"O boot atual está utilizando o modo <span color='#CC2222'>Legacy/BIOS</span>, porém encontrei pelo
356-
menos uma partição EFI neste computador.
349+
TEXT_03=$"Do you want to proceed with the installation in Legacy/BIOS mode?"
350+
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.
357351
358-
Para que a instalação seja bem sucedida, provavelmente será necessário
359-
alterar a configuração na BIOS para fazer boot em modo EFI ou UEFI."
352+
For the installation to be successful, you will probably need to
353+
change the configuration in the BIOS to boot in EFI or UEFI mode."
360354
yad --image=drive-harddisk --image-on-top --form --width=500 --height=100 --fixed \
361355
--align=center \
362356
--field="<b>$TEXT_03</b>
363357
:LBL" \
364358
--text "$TEXT_04
365359
" \
366-
--button=$" Continue"!gtk-apply:0 \
367-
--button=$" Fechar"!gtk-cancel:1 \
368-
--center --on-top --borders=20 --title=$"Instalar o sistema" \
360+
--button=$"Continue"!gtk-apply:0 \
361+
--button=$"Close"!gtk-cancel:1 \
362+
--center --on-top --borders=20 --title=$"Install the system" \
369363
--window-icon="/usr/share/icons/hicolor/scalable/apps/icon-big-hd-install.svg"
370364

371-
if [ "$?" = "1" ];
372-
then
365+
if [ "$?" = "1" ]; then
373366
exit
374367
fi
375368
fi
376369

377370
rm -f /tmp/start_calamares
378371

379-
cd /usr/share/bigbashview/bcc/apps/bigbashview-calamares/
380-
QT_QUICK_BACKEND=software QMLSCENE_DEVICE=softwarecontext QTWEBENGINE_CHROMIUM_FLAGS="--disable-logging --disable-gpu --no-sandbox --single-process --disable-gpu-compositing" bigbashview -n $"Instalar o BigLinux" -s 1100x650 -c transparent index.sh.htm -i /usr/share/icons/hicolor/scalable/apps/icon-big-hd-install.svg
372+
cd /usr/share/bigbashview/apps/calamares/
373+
bigbashview -s 1100x600 -n calamares-biglinux -p calamares-biglinux -c transparent -w frameless index.html
381374

382375
# Start calamares
383376
if [ -e "/tmp/start_calamares" ]; then
@@ -391,29 +384,29 @@ if [ -e "/tmp/start_calamares" ]; then
391384
cp /root/.cache/calamares/session.log /home/$user/calamares.log
392385
chown $user:$user /home/$user/calamares.log
393386

394-
send () {
395-
#sudo -u $user curl --upload-file "/home/$user/calamares.log" https://transfer.sh | tee "/home/$user/transfer.url" | zenity --modal --progress --pulsate --no-cancel --auto-close --text $"Enviando, aguarde..."
396-
sudo -u $user curl -data-binary -H "filename: /home/$user/calamares.log" https://filebin.net | tee "/home/$user/transfer.url" | zenity --modal --progress --pulsate --no-cancel --auto-close --text $"Enviando, aguarde..."
397-
398-
if [ -f /usr/bin/falkon ];then
399-
sudo -u $user falkon https://filebin.net/$(cat "/home/$user/transfer.url" | grep '"id": "' | cut -f4 -d'"')
400-
elif [ -f /usr/bin/brave ];then
401-
sudo -u $user brave-browser --new-window --no-sandbox https://filebin.net/$(cat "/home/$user/transfer.url" | grep '"id": "' | cut -f4 -d'"')
402-
fi
403-
}
404-
405-
yad --buttons-layout=center \
406-
--width=480 \
407-
--button=$"Abrir":1 \
408-
--button=$"Enviar para a nuvem":2 \
409-
--button=$"Fechar":3 \
410-
--title=$"calamares LOG" \
411-
--text=$"\nDeseja visualizar ou enviar o arquivo de log da instalação para a nuvem?\ngerar um link para enviar no grupos de suporte.\n"
412-
413-
case $? in
414-
1) sudo -u $user kate /home/$user/calamares.log;;
415-
2) send;;
416-
3) echo $"Fechando arquivo..." ;;
417-
esac
387+
send () {
388+
sudo -u $user curl --data-binary -H "filename: /home/$user/calamares.log" https://filebin.net | tee "/home/$user/transfer.url" | zenity --modal --progress --pulsate --no-cancel --auto-close --text $"Sending, please wait..."
389+
390+
if [ -f /usr/bin/falkon ]; then
391+
sudo -u $user falkon https://filebin.net/$(cat "/home/$user/transfer.url" | grep '"id": "' | cut -f4 -d'"')
392+
elif [ -f /usr/bin/brave ]; then
393+
sudo -u $user brave-browser --new-window --no-sandbox https://filebin.net/$(cat "/home/$user/transfer.url" | grep '"id": "' | cut -f4 -d'"')
394+
fi
395+
}
396+
397+
yad --buttons-layout=center \
398+
--width=480 \
399+
--button=$"Open":1 \
400+
--button=$"Send to the cloud":2 \
401+
--button=$"Close":3 \
402+
--title=$"calamares LOG" \
403+
--text=$"\nDo you want to view or send the installation log file to the cloud?\nGenerate a link to send in support groups.\n"
404+
405+
case $? in
406+
1) sudo -u $user kate /home/$user/calamares.log ;;
407+
2) send ;;
408+
3) echo $"Closing file..." ;;
409+
esac
410+
418411
fi
419412
fi
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
ufw gufw
2+
rustdesk-bin rustdesk
3+
pavucontrol-qt pavucontrol
4+
pamac-updates-menu update-manager
5+
manjaro-printer printer
6+
libreoffice-fresh libreoffice
7+
libreoffice-still libreoffice
8+
ksystemlog activity-log-manager
9+
helvum org.pipewire.Helvum
10+
gnome-sound-recorder org.gnome.SoundRecorder

0 commit comments

Comments
 (0)