Created
July 10, 2025 09:33
-
-
Save naranyala/fc3f1826ea5fb8d594a76cfd53281147 to your computer and use it in GitHub Desktop.
complete your missing XFCE plugins/applets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# List of commonly used XFCE plugins/applets | |
plugins=( | |
xfce4-whiskermenu-plugin # Modern application menu | |
xfce4-battery-plugin # Battery monitor | |
xfce4-weather-plugin # Weather display | |
xfce4-netload-plugin # Network load monitor | |
xfce4-cpugraph-plugin # CPU usage graph | |
xfce4-diskperf-plugin # Disk performance monitor | |
xfce4-sensors-plugin # Hardware sensors (needs lm-sensors) | |
xfce4-systemload-plugin # System load monitor | |
xfce4-timer-plugin # Countdown timer | |
xfce4-places-plugin # Quick access to folders | |
xfce4-pulseaudio-plugin # Audio volume control | |
xfce4-clipman-plugin # Clipboard manager | |
xfce4-genmon-plugin # Generic monitor (run custom scripts) | |
xfce4-mailwatch-plugin # Mail checker | |
xfce4-smartbookmark-plugin # Quick web search | |
xfce4-datetime-plugin # Enhanced date/time display | |
xfce4-notes-plugin # Sticky notes | |
xfce4-taskmanager # Lightweight task manager | |
xfce4-xkb-plugin # Keyboard layout switcher | |
xfce4-eyes-plugin # Fun eyes that follow your cursor | |
) | |
echo "π Updating package list..." | |
sudo apt update | |
echo "π¦ Installing XFCE plugins..." | |
for plugin in "${plugins[@]}"; do | |
if dpkg -l | grep -q "$plugin"; then | |
echo "β $plugin is already installed." | |
else | |
echo "β¬οΈ Installing $plugin..." | |
sudo apt install -y "$plugin" | |
fi | |
done | |
echo "π§ Optional: Detecting hardware sensors (for xfce4-sensors-plugin)..." | |
if command -v sensors >/dev/null 2>&1; then | |
echo "β lm-sensors already installed." | |
else | |
echo "β¬οΈ Installing lm-sensors..." | |
sudo apt install -y lm-sensors | |
sudo sensors-detect --auto | |
fi | |
echo "π All done! You can restart the panel with: xfce4-panel -r" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment