From ef92a28f667cc1e0c5d6a4be43b4d8fcbb39e578 Mon Sep 17 00:00:00 2001 From: "[yuri]" <[yuri.kuit@gmail.com]> Date: Mon, 10 Nov 2025 17:03:05 +0100 Subject: [PATCH] bugfix --- v2/debian-full.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/v2/debian-full.sh b/v2/debian-full.sh index e62c2e1..25a648d 100755 --- a/v2/debian-full.sh +++ b/v2/debian-full.sh @@ -66,6 +66,12 @@ if [[ "${DE}" == "xfce" || "${DDE}" == "xfce" ]]; then echo say_cyan "Applying XFCE defaults: fonts, browser, and terminal..." + # Ensure xfconf-query exists (for XFCE settings) + if ! command -v xfconf-query >/dev/null 2>&1; then + echo "${YELLOW}xfconf-query not found — installing xfce4-settings...${RESET}" + install_packages xfce4-settings + fi + # set fonts # Wait for xfconf to be available (only needed if running inside the same session) if command -v xfconf-query >/dev/null 2>&1; then @@ -78,6 +84,12 @@ if [[ "${DE}" == "xfce" || "${DDE}" == "xfce" ]]; then else say_yellow "xfconf-query not found — skipping XFCE font config (will apply at first login)." fi + + # Default Terminal = Alacritty + if command -v alacritty >/dev/null 2>&1; then + xfconf-query -c xfce4-session -p /sessions/Failsafe/Client0_Command -s alacritty --create -t string + xfconf-query -c xfce4-session -p /general/DefaultTerminal -s alacritty --create -t string + fi fi # End of script