https://bugs.kde.org/show_bug.cgi?id=497204
--- Comment #45 from jackdinn <[email protected]> --- i just made a rough and ready hackup bash script to watch the panel. Its been working for me since this whole thing started (some time around X-mas). ``` ❱cat /home/greg/bash/monitor_plasma_panel.sh #!/bin/bash sleep 15 # Log file path LOG_FILE="/home/greg/bash/monitor_plasma_panel.log" # Command to restart Plasma RESTART_COMMAND="plasmashell --replace &" # Panel window properties PANEL_NAME="plasmashell" PANEL_HEIGHT=48 # Function to log messages log_message() { echo "$(date '+%Y-%m-%d %H:%M:%S') - $1" >> "$LOG_FILE" } # Function to check the panel status check_panel_status() { local panel_info panel_info=$(xwininfo -name "$PANEL_NAME" 2>/dev/null) if [[ -z "$panel_info" ]]; then log_message "Panel not found." return 1 fi # Extract the height of the panel local current_height current_height=$(echo "$panel_info" | awk '/Height:/ {print $2}') if [[ -z "$current_height" ]]; then log_message "Unable to determine panel height." return 1 fi if [[ "$current_height" -lt 3 ]]; then log_message "Panel height less than 3: $current_height (expected $PANEL_HEIGHT)." return 2 fi # log_message "Panel is running normally with height $current_height." return 0 } # Monitoring loop while true; do check_panel_status status=$? if [[ $status -ne 0 ]]; then log_message "Panel issue detected. Restarting Plasma..." eval "$RESTART_COMMAND" sleep 5 # Wait for Plasma to restart fi # Adjust the monitoring interval as needed (in seconds) sleep 10 done ``` However, i have disabled it atm because i got a system update today including plasmashell 6.3.4, so we shall see how 6.3.4 goes but im not holding my breath. -- You are receiving this mail because: You are watching all bug changes.
