Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
414 changes: 331 additions & 83 deletions README.md

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions apps.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Catálogo de Aplicativos / Application Catalog
# Formato: categoria|nome_exibicao|pacote_termux
# Format: category|display_name|termux_package

# Navegadores / Browsers
browsers|Firefox|firefox
browsers|Chromium|chromium

# Editores / Editors
editors|Code OSS (VS Code)|code-oss
editors|Neovim|neovim
editors|Nano|nano
editors|Micro|micro

# Ferramentas de Dev / Dev Tools
devtools|Git|git
devtools|Python|python
devtools|Node.js|nodejs
devtools|Clang (C/C++)|clang
devtools|Rust|rust
devtools|Go|golang
devtools|Ruby|ruby

# Multimídia / Multimedia
multimedia|VLC|vlc
multimedia|MPV|mpv
multimedia|GIMP|gimp
multimedia|FFmpeg|ffmpeg

# Utilitários / Utilities
utilities|Neofetch|neofetch
utilities|htop|htop
utilities|tmux|tmux
utilities|Thunar (File Manager)|thunar
utilities|Ranger (TUI File Manager)|ranger
utilities|bat (cat replacement)|bat
utilities|ripgrep|ripgrep
utilities|fzf|fzf
utilities|zip/unzip|zip unzip
utilities|tar|tar

# Rede / Network
network|curl|curl
network|wget|wget
network|OpenSSH|openssh
network|Nmap|nmap
network|WoL|wol
network|iproute2|iproute2
233 changes: 233 additions & 0 deletions lang/en.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,233 @@
# ===== General =====
STRINGS[lang_name]="English"
STRINGS[yes_chars]="y|yes|s|sim"
STRINGS[no_chars]="n|no|nao|não"
STRINGS[yes_letter]="y"
STRINGS[no_letter]="n"
STRINGS[yes_no_prompt]="y/n"
STRINGS[invalid_option]="Invalid option. Try again."
STRINGS[answer_yes_no]="Answer with y or n."
STRINGS[press_enter]="Press ENTER to continue..."
STRINGS[back]="Back"
STRINGS[exit]="Exit"
STRINGS[or]="or"

# ===== Banner =====
STRINGS[banner_title]="Configuring Termux Linux/X11"
STRINGS[banner_status_desktop]="Desktop"
STRINGS[banner_status_gpu]="GPU"
STRINGS[banner_status_wine]="Wine"
STRINGS[banner_status_status]="Status"
STRINGS[status_running]="running"
STRINGS[status_stopped]="stopped"
STRINGS[status_installed]="installed"
STRINGS[status_not_installed]="not installed"
STRINGS[status_enabled]="enabled"
STRINGS[status_disabled]="disabled"

# ===== Logging =====
STRINGS[install_log_at]="Installation log: %s"
STRINGS[log_complete]="Full log: %s"
STRINGS[last_log_lines]="Last log lines:"
STRINGS[error_prefix]="ERROR"
STRINGS[unexpected_error_line]="Unexpected ERROR at line %s: %s"
STRINGS[step_completed]="Step %s/%s completed"
STRINGS[failed_at]="Failed at: %s"
STRINGS[attempt_failed]="Attempt %s/%s failed for %s. Retrying in %ss..."

# ===== Installation =====
STRINGS[installing]="Installing: %s"
STRINGS[trying_install_optional]="Trying to install optional package: %s"
STRINGS[installed]="Installed: %s"
STRINGS[optional_pkg_failed]="Optional package unavailable or failed: %s"
STRINGS[trying_install]="Trying to install %s: %s"
STRINGS[no_option_available]="No option available to install: %s (%s)"
STRINGS[already_installed]="Already installed: %s"
STRINGS[not_installed]="Not installed: %s"

# ===== Checks =====
STRINGS[checking_internet]="Checking internet..."
STRINGS[no_internet]="No internet connection or DNS unavailable."
STRINGS[must_run_in_termux]="This script must be run inside regular Termux, not in Linux/PC/proot."
STRINGS[pkg_not_found]="Command 'pkg' not found. Update/reinstall Termux."
STRINGS[waiting_apt]="Waiting for another apt/dpkg process to finish..."
STRINGS[apt_stuck]="Another apt/dpkg process has been stuck for too long. Close other Termux sessions and try again."

# ===== Device =====
STRINGS[architecture]="Architecture: %s"
STRINGS[device_info]="Device: %s %s"
STRINGS[wine_arm64_warning]="Wine/Hangover and GPU acceleration work best on ARM64/aarch64."

# ===== GPU =====
STRINGS[gpu_config_title]="GPU Configuration"
STRINGS[gpu_auto]="Automatic (recommended)"
STRINGS[gpu_force_adreno]="Force Adreno/Freedreno GPU acceleration"
STRINGS[gpu_disable]="Disable GPU acceleration / use software"
STRINGS[gpu_prompt]="Option [1-3, default=1]: "
STRINGS[gpu_adreno_detected]="Qualcomm/Adreno GPU detected. Acceleration will be enabled."
STRINGS[gpu_adreno_not_detected]="Adreno GPU not detected. Using compatible mode without forced acceleration."
STRINGS[gpu_forced_warning]="GPU acceleration was forced. If the screen goes black/freezes, run again and choose option 3."
STRINGS[gpu_disabled]="GPU acceleration disabled."
STRINGS[gpu_base_installed]="Graphics base installed"
STRINGS[gpu_base_install]="Installing Vulkan/Zink graphics base"
STRINGS[gpu_base_failed]="mesa-zink/vulkan-loader-android drivers failed. Continuing in software mode."
STRINGS[gpu_software_mode]="Software mode selected. Extra GPU drivers will not be forced."

# ===== Desktop =====
STRINGS[desktop_title]="Choose Desktop"
STRINGS[desktop_xfce4]="XFCE4 (recommended/most stable)"
STRINGS[desktop_lxqt]="LXQt (lightweight)"
STRINGS[desktop_mate]="MATE (medium)"
STRINGS[desktop_kde]="KDE Plasma (heavy/experimental)"
STRINGS[desktop_prompt]="Option [1-4, default=1]: "
STRINGS[desktop_chosen]="Desktop chosen: %s"
STRINGS[desktop_command_not_found]="Command '%s' was not found after installing %s. Check the log and try another desktop."
STRINGS[desktop_current]="Current desktop: %s"
STRINGS[desktop_change]="Change desktop environment"
STRINGS[desktop_reinstall]="Reinstall current desktop"
STRINGS[desktop_remove]="Remove current desktop"
STRINGS[desktop_view_status]="View installed desktop"
STRINGS[desktop_remove_confirm]="Are you sure you want to remove %s? [y/N]: "
STRINGS[desktop_removed]="Desktop %s removed."
STRINGS[desktop_none_installed]="No desktop installed."
STRINGS[desktop_config_title]="Configure Desktop"

# ===== Apps =====
STRINGS[apps_title]="Manage Applications"
STRINGS[apps_browsers]="Browsers"
STRINGS[apps_editors]="Code Editors"
STRINGS[apps_devtools]="Dev Tools"
STRINGS[apps_multimedia]="Multimedia"
STRINGS[apps_utilities]="Utilities"
STRINGS[apps_network]="Network"
STRINGS[apps_install_all]="Install All"
STRINGS[apps_install_category]="Install category: %s"
STRINGS[apps_select_prompt]="Select apps (e.g.: 1 3 5 or 'all'): "
STRINGS[apps_none_in_category]="No apps in this category."
STRINGS[apps_basic_tools]="basic tools"

# ===== Wine =====
STRINGS[wine_title]="Manage Wine/Hangover"
STRINGS[wine_install_prompt]="Install Wine/Hangover? [y/N]: "
STRINGS[wine_not_arm64]="Your device doesn't appear to be ARM64/aarch64. Wine/Hangover may not work well."
STRINGS[wine_shortcut_created]="Wine shortcut created."
STRINGS[wine_not_complete]="Hangover Wine doesn't appear to be fully installed."
STRINGS[wine_skipped]="Wine/Hangover skipped."
STRINGS[wine_install]="Install Wine/Hangover"
STRINGS[wine_remove]="Remove Wine/Hangover"
STRINGS[wine_status]="Wine status"
STRINGS[wine_remove_confirm]="Are you sure you want to remove Wine/Hangover? [y/N]: "
STRINGS[wine_removed]="Wine/Hangover removed."
STRINGS[wine_config_title]="Configure Wine/Hangover"

# ===== Themes =====
STRINGS[themes_title]="Themes & Personalization"
STRINGS[themes_dark]="Install dark theme"
STRINGS[themes_icons]="Install icon pack"
STRINGS[themes_wallpaper]="Set wallpaper"
STRINGS[themes_fonts]="Install fonts"
STRINGS[themes_dracula]="Dracula"
STRINGS[themes_nord]="Nord"
STRINGS[themes_gruvbox]="Gruvbox"
STRINGS[themes_arc_dark]="Arc Dark"
STRINGS[themes_papirus]="Papirus"
STRINGS[themes_adwaita]="Adwaita"
STRINGS[themes_select_theme]="Select theme: "
STRINGS[themes_select_icons]="Select icons: "
STRINGS[themes_installed]="Theme %s installed."
STRINGS[themes_icons_installed]="Icons %s installed."
STRINGS[themes_fonts_installed]="Fonts installed."
STRINGS[themes_wallpaper_set]="Wallpaper set."
STRINGS[themes_wallpaper_path]="Wallpaper path: "
STRINGS[themes_wallpaper_not_found]="Wallpaper file not found."

# ===== Scripts =====
STRINGS[creating_scripts]="Creating startup scripts"
STRINGS[scripts_created]="Scripts created."
STRINGS[creating_shortcuts]="Creating shortcuts"

# ===== Backup =====
STRINGS[backup_title]="Backup / Restore Config"
STRINGS[backup_save]="Save current configuration"
STRINGS[backup_restore]="Restore previous configuration"
STRINGS[backup_export]="Export to external storage"
STRINGS[backup_saved]="Configuration saved to: %s"
STRINGS[backup_restored]="Configuration restored from: %s"
STRINGS[backup_not_found]="No backup found."
STRINGS[backup_exported]="Backup exported to: %s"
STRINGS[backup_export_path]="/sdcard/termux-linux-backup"
STRINGS[backup_list]="Available backups:"
STRINGS[backup_select]="Select backup: "
STRINGS[backup_config_loaded]="Previous configuration loaded: Desktop=%s, GPU=%s"

# ===== Maintenance =====
STRINGS[maint_title]="Maintenance & Diagnostics"
STRINGS[maint_update]="Update system"
STRINGS[maint_check_integrity]="Check installation integrity"
STRINGS[maint_view_install_log]="View installation logs"
STRINGS[maint_view_start_log]="View startup logs"
STRINGS[maint_clean_cache]="Clean package cache"
STRINGS[maint_diagnostics]="Run full diagnostics"
STRINGS[maint_recreate_scripts]="Recreate start/stop scripts"
STRINGS[maint_cache_cleaned]="Cache cleaned."
STRINGS[maint_updating]="Updating system..."
STRINGS[maint_updated]="System updated."
STRINGS[maint_components_missing]="%s component(s) missing. Use the menu to reinstall."
STRINGS[maint_all_ok]="All components are installed."
STRINGS[maint_found]="found"
STRINGS[maint_not_found]="NOT found"

# ===== Main menu =====
STRINGS[menu_title]="Main Menu"
STRINGS[menu_full_install]="Full Installation"
STRINGS[menu_apps]="Manage Applications"
STRINGS[menu_desktop]="Configure Desktop"
STRINGS[menu_gpu]="Configure GPU"
STRINGS[menu_audio]="Configure Audio"
STRINGS[menu_wine]="Manage Wine/Hangover"
STRINGS[menu_themes]="Themes & Personalization"
STRINGS[menu_maintenance]="Maintenance & Diagnostics"
STRINGS[menu_backup]="Backup / Restore Config"
STRINGS[menu_exit]="Exit"
STRINGS[menu_prompt]="Choose an option: "
STRINGS[menu_invalid]="Invalid option."
STRINGS[menu_goodbye]="Goodbye!"

# ===== Full install steps =====
STRINGS[step_preparing]="Preparing environment"
STRINGS[step_updating]="Updating system"
STRINGS[step_adding_repos]="Adding repositories"
STRINGS[step_graphics_server]="Installing graphics server"
STRINGS[step_installing_desktop]="Installing %s"
STRINGS[step_configuring_gpu]="Configuring GPU"
STRINGS[step_installing_audio]="Installing audio"
STRINGS[step_installing_apps]="Installing apps and utilities"
STRINGS[step_configuring_wine]="Configuring Wine/Hangover"
STRINGS[step_creating_scripts]="Creating startup scripts"
STRINGS[step_creating_shortcuts]="Creating shortcuts"

# ===== Completion =====
STRINGS[install_complete]="INSTALLATION COMPLETE"
STRINGS[install_desktop_label]="Desktop"
STRINGS[install_gpu_label]="GPU"
STRINGS[install_start_cmd]="Start"
STRINGS[install_stop_cmd]="Stop"
STRINGS[install_info_cmd]="Info"
STRINGS[install_log_label]="Log"
STRINGS[install_open_x11]="After starting, open the Termux-X11 app to see the interface."
STRINGS[install_start_now]="Start the desktop now? [y/N]: "

# ===== Audio =====
STRINGS[audio_title]="Configure Audio"
STRINGS[audio_install]="Install PulseAudio"
STRINGS[audio_test]="Test audio"
STRINGS[audio_restart]="Restart PulseAudio"
STRINGS[audio_status]="PulseAudio status"
STRINGS[audio_installed]="PulseAudio installed."
STRINGS[audio_running]="PulseAudio is running."
STRINGS[audio_not_running]="PulseAudio is not running."
STRINGS[audio_restarted]="PulseAudio restarted."

# ===== Language =====
STRINGS[lang_title]="Selecione o idioma / Select language"
STRINGS[lang_prompt]="Opção / Option [1-2]: "
Loading