kde icon indicating copy to clipboard operation
kde copied to clipboard

Installation causes black screen and hang on Plasma 6.

Open ottergauze opened this issue 1 year ago • 2 comments

I decided to install the Catppuccin theme to my Plasma desktop to tie together all my other applications that use it, and after installing the theme, I'm left at a black screen when logging in.

I'm unable to obtain any diagnostic information, unfortunately, but supplying a way to reverse everything done by the installer script would be much appreciated.

ottergauze avatar Aug 13 '24 14:08 ottergauze

Made this with chatgtp for you brother

#!/bin/bash
# Uninstall Script for Catppuccin KDE Theme

# Function to remove files and directories if they exist
remove_if_exists() {
    if [ -e "$1" ]; then
        rm -rf "$1"
        echo "Removed $1"
    else
        echo "$1 does not exist, skipping."
    fi
}

# KDE theme paths
plasma_theme_dir="$HOME/.local/share/plasma/desktoptheme/Catppuccin"
color_scheme_dir="$HOME/.local/share/color-schemes"
konsole_scheme_dir="$HOME/.local/share/konsole"
window_decoration_dir="$HOME/.local/share/aurorae/themes/Catppuccin"
lookandfeel_dir="$HOME/.local/share/plasma/look-and-feel/Catppuccin"
cursordir="$HOME/.icons/Catppuccin-Cursors"

# Uninstalling plasma desktop theme
remove_if_exists "$plasma_theme_dir"

# Uninstalling color schemes
remove_if_exists "$color_scheme_dir/Catppuccin-Dark.colors"
remove_if_exists "$color_scheme_dir/Catppuccin-Light.colors"

# Uninstalling Konsole schemes
remove_if_exists "$konsole_scheme_dir/Catppuccin-Dark.colorscheme"
remove_if_exists "$konsole_scheme_dir/Catppuccin-Light.colorscheme"

# Uninstalling window decorations
remove_if_exists "$window_decoration_dir"

# Uninstalling look and feel package
remove_if_exists "$lookandfeel_dir"

# Uninstalling cursors
remove_if_exists "$cursordir"

echo "Uninstallation complete."

thebobbyboy420 avatar Nov 05 '24 06:11 thebobbyboy420

Made this with chatgtp for you brother

Thanks, but "I made this with ChatGPT" isn't exactly something that gets my vote of confidence. Regardless, I started again with a new user account since it effectively starts you from scratch. Anyone else who happens to have this issue is welcome to report back on if this works, though.

ottergauze avatar Nov 06 '24 12:11 ottergauze