drag and drop deb-package installer

One way is to install deb-packages is to use drag and drop script or program.

deb-installer2-10-all.deb-and-script.zip

#!/bin/bash
# drag and drop deb-package installer
# RJP 28.6.2023
# This script was modified by marcelocripe on 28-06-2023 to receive the translations
# Este conjunto de instruções foi modificado por marcelocripe no dia 28-06-2023 para receber as traduções
# 21.5.2024 x-terminal-emulator is changed to xterm

TEXTDOMAINDIR=/usr/share/locale
TEXTDOMAIN=deb-installer2

yad --dnd --geometry=600x200 --on-top --no-buttons --title=$"deb-package installer" --text=$"Drag and drop deb-package for installation into this box " | while read selection
do
FILE=$(echo "$selection" | sed 's/file:\/\///')
FILE2=$(sed 's/ /\\ /g' <<< "$FILE") xterm -e /bin/bash -c "sudo dpkg -i $FILE2 || xterm -e sudo apt-get -fy install && desktop-menu --write-out-global" || \ sleep 1 yad --width=400 --center --buttons-layout=center --borders=5 --text-align=center --title=$"INFO" --text=$"READY" --button=$"Ok":1 --center done