Skip to content

uiriansan/SilentSDDM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning

This theme requires SDDM v0.21.0 or newer. Make sure your distro provides the correct version before installing.

silent.mp4

Presets

configs/default.conf
default.mp4
configs/rei.conf
blue-light.mp4
configs/ken.conf
ken.mp4
configs/silvia.conf
Record_select-area_20250619210838.mp4
configs/catppuccin-latte.conf
configs/catppuccin-frappe.conf
configs/catppuccin-macchiato.conf
configs/catppuccin-mocha.conf

Customization guide

Dependencies

  • SDDM ≥ 0.21;
  • QT ≥ 6.5;
  • qt6-svg;
  • qt6-virtualkeyboard
  • qt6-multimedia

Installation

Install script AUR packages for Arch NixOS flake Manual installation

Install script

Just clone the repo and run the script:

git clone -b main --depth=1 https://github.com/uiriansan/SilentSDDM && cd SilentSDDM && ./install.sh

Important

Make sure to test the theme before rebooting by running ./test.sh, otherwise you might end up with a broken login screen. Refer to the snippets page if something goes wrong and open an issue if you don't find the solution there.

AUR packages for Arch

If you run Arch Linux, consider installing one of the AUR packages:

# stable version
yay -S sddm-silent-theme
# git version
yay -S sddm-silent-theme-git

Then, replace the current theme and set the environment variables in /etc/sddm.conf:

sudoedit /etc/sddm.conf

    # Make sure these options are correct:
    [General]
    InputMethod=qtvirtualkeyboard
    GreeterEnvironment=QML2_IMPORT_PATH=/usr/share/sddm/themes/silent/components/,QT_IM_MODULE=qtvirtualkeyboard

    [Theme]
    Current=silent

Finally, test the theme to make sure everything is working:

cd /usr/share/sddm/themes/silent/
./test.sh

Important

Refer to the snippets page if something goes wrong and open an issue if you don't find the solution there.

NixOS flake

For NixOS with flakes enabled, first include this flake into your flake inputs:

inputs = {
   silentSDDM = {
      url = "github:uiriansan/SilentSDDM";
      inputs.nixpkgs.follows = "nixpkgs";
   };
};

Then you may configure sddm like so to use the theme:

{
  pkgs,
  inputs,
  ...
}: let
   # an exhaustive example can be found in flake.nix
   sddm-theme = inputs.silentSDDM.packages.${pkgs.system}.default.override {
      theme = "rei"; # select the config of your choice
   };
in  {
   # include the test package which can be run using test-sddm-silent
   environment.systemPackages = [sddm-theme sddm-theme.test];
   qt.enable = true;
   services.displayManager.sddm = {
      package = pkgs.kdePackages.sddm; # use qt6 version of sddm
      enable = true;
      theme = sddm-theme.pname;
      # the following changes will require sddm to be restarted to take
      # effect correctly. It is recomend to reboot after this
      extraPackages = sddm-theme.propagatedBuildInputs;
      settings = {
        # required for styling the virtual keyboard
        General = {
          GreeterEnvironment = "QML2_IMPORT_PATH=${sddm-theme}/share/sddm/themes/${sddm-theme.pname}/components/,QT_IM_MODULE=qtvirtualkeyboard";
          InputMethod = "qtvirtualkeyboard";
        };
      };
   };
}

The above example includes the test script (sddm-theme.test) into your systemPackages, which lets you test the theme by running test-sddm-silent. However, it is optional and can be omitted

For a more exhaustive example look at the example package in flake.nix.

Local development and testing under nix

First git clone the repository and cd into the resulting directory

git clone https://github.com/uiriansan/SilentSDDM.git
cd SilentSDDM/

Now you may make changes to the contents and test them out using the following

nix run .#test

Important

Refer to the snippets page if something goes wrong and open an issue if you don't find the solution there.

Manual installation

1. Install dependencies:

Arch Linux

sudo pacman -S --needed sddm qt6-svg qt6-virtualkeyboard qt6-multimedia-ffmpeg

Void Linux

sudo xbps-install sddm qt6-svg qt6-virtualkeyboard qt6-multimedia

Fedora

sudo dnf install sddm qt6-qtsvg qt6-qtvirtualkeyboard qt6-qtmultimedia

OpenSUSE

sudo zypper install sddm-qt6 libQt6Svg6 qt6-virtualkeyboard qt6-virtualkeyboard-imports qt6-multimedia qt6-multimedia-imports

2. Clone this repo:

git clone -b main --depth=1 https://github.com/uiriansan/SilentSDDM
cd SilentSDDM/

Note

You can also get the compressed files from the latest release.

3. Test the theme to make sure you have all dependencies:

./test.sh

Important

Refer to the snippets page if something goes wrong and open an issue if you don't find the solution there.

4. Copy the theme to /usr/share/sddm/themes/:

cd SilentSDDM/
sudo mkdir -p /usr/share/sddm/themes/silent
sudo cp -rf . /usr/share/sddm/themes/silent/

5. Install the fonts:

sudo cp -r /usr/share/sddm/themes/silent/fonts/* /usr/share/fonts/

6. Replace the current theme and set the environment variables in /etc/sddm.conf:

sudoedit /etc/sddm.conf

    # Make sure these options are correct:
    [General]
    InputMethod=qtvirtualkeyboard
    GreeterEnvironment=QML2_IMPORT_PATH=/usr/share/sddm/themes/silent/components/,QT_IM_MODULE=qtvirtualkeyboard

    [Theme]
    Current=silent

Customizing

The preset configs are located in ./configs/. To change the active config, edit ./metadata.desktop and replace the value of ConfigFile=:

ConfigFile=configs/<your_preferred_config>.conf

Note

Changes to the login screen will only take effect when made in /usr/share/sddm/themes/silent/. If you've changed things in the cloned directory, copy them with sudo cp -rf SilentSDDM/. /usr/share/sddm/themes/silent/


You can also create your own config file. There's a guide with the list of available options (there are more than 200 of them xD) in the wiki.

Important

Don't forget to test the theme after every change by running ./test.sh, otherwise you might end up with a broken login screen.

There are some extra tips on how to customize the theme on the snippets page.

Acknowledgements

I couldn't find the source of some of the images used here. E-mail me if you are the creator and want it removed or acknowledged.