Broad Terminal Compatibility & Flatpak/Desktop Launch Improvements
This version significantly expands Bootc-Manager compatibility when launched via application menu shortcuts (.desktop files), ensuring native support for a wide range of terminal emulators across various desktop environments (GNOME, KDE Plasma, COSMIC, among others) and distributions (Fedora, RHEL, AlmaLinux, Rocky Linux, Arch, etc.).
What's New
Expanded Terminal Emulator Support
-
Increased Compatibility: In addition to
ptyxisandgnome-terminal, the script now detects and automatically re-executes itself within the following terminals: -
GNOME Console:
kgxandgnome-console(default on AlmaLinux, RHEL, and recent GNOME installations) -
KDE Plasma:
konsole -
COSMIC Desktop:
cosmic-terminal -
Modern & GPU-Accelerated Terminals:
ghostty,kitty, andalacritty -
Classic Fallbacks:
x-terminal-emulatorandxterm -
Standardized Execution Syntax: Refactored the
$CMDvariable with proper quote escaping, preventing syntax errors when passing shortcut arguments in Bash/Zsh. -
Error Handling: Displays an informative message via stderr if no compatible emulator is found on the host system.
🛠️ Fixes and Adjustments
- Resolved
.desktopLaunch Failures: Eliminates the"unable to find terminal required for application"error when opening the script via the application menu on enterprise or atomic systems that lack a pre-installedptyxis. - Standardized Final Pause: The exit message displayed when the script is launched via the GUI has been adjusted to accept any key press (
Press any key to exit...).
How to Update
To update the script to version v0.6.0:
curl -fsSL https://raw.githubusercontent.com/diogopessoa/bootc-manager/main/bootc-manager.sh -o bootc-manager.sh
chmod +x bootc-manager.sh