I have deleted my Breeze theme for SDDM (don’t ask me how and why. lol) and I can’t find it anywhere. I have tried sudo pacman -S plasma-workspace, but it is not getting installed. Any other way to install it?
Thank you in advance

  • Cochise@lemmy.eco.br
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    19 days ago

    $ pacman -Ql sddm

    Shows me themes are on /usr/share/sddm/themes/

    $ pacman -Qo /usr/share/sddm/themes/breeze/

    Gives me the package that owns the dir: plasma-desktop

    So, to fix it, install plasma-desktop.

    -Qo option works even if the file is deleted.

    • penquin@lemm.eeOP
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      19 days ago

      That’s the one. Thank you so much.
      EDIT: Also thank you for the new commands. Never heard of those two commands. Pretty cool, honestly.

  • Jumuta@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    19 days ago

    does reinstalling breeze with pacman e.g. pacman -S breeze work?

    btw you’re using archlinux right?

    i’m dumb, I didn’t see that you were looking for the sddm theme

    • penquin@lemm.eeOP
      link
      fedilink
      arrow-up
      1
      ·
      19 days ago

      Installing breeze doesn’t work. I use endeavour OS. It happened a couple of months ago and I was able to get it back by installing plasma-workspace, but now this doesn’t work

  • stinky@redlemmy.com
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    11
    ·
    19 days ago

    Can I offer a ChatGPT response? I don’t really understand this stuff but here you go:

    1. Install the plasma-workspace and breeze packages explicitly

    Run the following commands to ensure both the plasma-workspace and breeze packages are installed:

    bash

    sudo pacman -S plasma-workspace breeze

    This will reinstall the breeze theme files if they are missing. If breeze was not listed as a dependency of plasma-workspace, this might restore the theme.

    1. Manually install the sddm-breeze theme

    The sddm-breeze theme is often part of the breeze package, but if it’s still missing, you can reinstall it specifically:

    bash

    sudo pacman -S sddm-breeze

    If you’re using a distribution like Arch Linux that separates components, this package might not be installed by default.

    1. Verify the theme path

    After installation, confirm that the theme files exist in /usr/share/sddm/themes/breeze.

    Use:

    bash

    ls /usr/share/sddm/themes/breeze

    If the directory exists and contains files, proceed to the next step. If not, something is wrong with the installation.

    1. Set the Breeze theme in the SDDM configuration

    Once you have the breeze theme installed, set it as the SDDM theme. Edit the SDDM configuration file:

    bash

    sudo nano /etc/sddm.conf.d/kde_settings.conf

    Ensure the following line is present under the [Theme] section:

    ini

    [Theme]

    Current=breeze

    Save the file and restart SDDM:

    bash

    sudo systemctl restart sddm

    1. Rebuild SDDM Cache

    Sometimes, SDDM might not pick up the theme due to cache issues. Clear and rebuild it:

    bash

    sudo rm -rf /var/lib/sddm/.cache

    Restart SDDM after clearing the cache.

    1. Manually Download and Install the Breeze Theme

    If all else fails, manually download the Breeze theme files. The source code for Breeze themes is often available on KDE’s GitLab. Clone or download the repository and place it in /usr/share/sddm/themes:

    bash

    git clone https://invent.kde.org/plasma/breeze-sddm-theme.git

    sudo mv breeze-sddm-theme /usr/share/sddm/themes/breeze

    Then, restart SDDM as before.

    • penquin@lemm.eeOP
      link
      fedilink
      arrow-up
      1
      ·
      19 days ago

      None of this works. Also git cloning the breeze theme asks for a username and password which I do have, but never work