Files
uninstall_joplin_linux/uninstall_joplin.sh
T
2026-07-23 12:34:27 +02:00

34 lines
1.0 KiB
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
# Joplin Uninstall Script - Unofficial
echo "Starting uninstallation of Joplin..."
# 1. Remove application directory
if [ -d "$HOME/.joplin" ]; then
rm -rf "$HOME/.joplin"
echo "✓ Removed binary folder ~/.joplin"
else
echo " ~/.joplin not found, skipping."
fi
# 2. Remove desktop entry
if [ -f "$HOME/.local/share/applications/appimagekit-joplin.desktop" ]; then
rm -f "$HOME/.local/share/applications/appimagekit-joplin.desktop"
echo "✓ Removed desktop entry"
else
echo " Desktop entry not found, skipping."
fi
# 3. Remove icon
if [ -f "$HOME/.local/share/icons/hicolor/512x512/apps/joplin.png" ]; then
rm -f "$HOME/.local/share/icons/hicolor/512x512/apps/joplin.png"
echo "✓ Removed application icon"
else
echo " Icon not found, skipping."
fi
echo "-------------------------------------------------------"
echo "Done! Joplin has been removed."
echo "Note: Your notes and config files in ~/.config/ were kept for safety."
echo "-------------------------------------------------------"