sddm-astronaut-theme

KeyitdevGPL-3.0活跃维护

一套面向 SDDM 的现代风格登录界面主题,用 QML 编写,能让 Linux 登录屏摆脱默认的简陋外观,换上宇航员等精致视觉方案。

Series of modern looking themes for SDDM.

暂无版本3,390star +8 / 7 天217fork同步于 2026-11-10 05:40 UTC

怎么上手

README 里没有找到可直接复制的安装命令

README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。

硬件要求

README 没有说明硬件要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    sddm-astronaut-theme

    Stars Forks Ko-fi

    sddm-astronaut-theme is a series of themes for the SDDM display manager made by Keyitdev.

    It's written using the latest version of Qt, which is Qt6. Its key features include virtual keyboard support and an installation script. This theme also support animated wallpapers. You can easily change its appearance by choosing another of the ten pre-made themes or creating your own. Each of these themes was created by modifying just one file - config.

    All themes were created for 1080p. However, they should work well in other resolutions.

    Preview of all themes

    all_themes.gif

    Preview of animated themes

    https://github.com/user-attachments/assets/2cfc947e-4621-4e98-b5f3-07d5e224b80c

    AstronautBlack hole
    astronautblack_hole
    Japanese aestheticPixel sakura static
    japanese_aestheticpixel_sakura_static
    Purple leavesCyberpunk
    purple_leavescyberpunk
    Post-apocalyptic hackerxxx
    post-apocalyptic_hacker

    Hyprland Kath

    https://github.com/user-attachments/assets/1d926e76-44f7-4d99-ac6d-d1abcd7ed688

    Pixel sakura

    https://github.com/user-attachments/assets/ea004765-7e84-4a0d-90cd-aaac97679f62

    Jake the dog

    https://github.com/user-attachments/assets/181d48c2-f152-45f5-b568-21145be180f6

    Installation

    Automatic Installation

    bash -c "$(curl -fsSL https://raw.githubusercontent.com/keyitdev/sddm-astronaut-theme/master/setup.sh)"
    

    Works on distributions using pacman, xbps-install, dnf, zypper.
    Remember to always read the scripts you run from the internet.

    NixOS Installation

    Using System Configuration with Custom Overrides

    While not officially packaged by the upstream maintainers, there is a community-maintained package maintained by @DaniD3v, @uxodb, and @qweered. You can install and customize the theme by creating an override of the package in your configuration.nix:

    let
      sddm-astronaut = (pkgs.sddm-astronaut.override {
        embeddedTheme = "japanese_aesthetic";  # or any other theme
        themeConfig = {
          # Customize colors and settings
          HeaderTextColor = "#d5c4a1";
          Background = "Backgrounds/your-custom-background.png";
          # ... other theme configuration options
        };
      }).overrideAttrs (oldAttrs: {
        # Optional: Inject custom background image
        installPhase = oldAttrs.installPhase + ''
          chmod u+w $out/share/sddm/themes/sddm-astronaut-theme/Backgrounds/
          cp ${./relative/path/to/your-custom-background.png} \
            $out/share/sddm/themes/sddm-astronaut-theme/Backgrounds/your-custom-background.png
        '';
      });
    in
    {
      environment.systemPackages = [ sddm-astronaut ];
      
      services.displayManager.sddm = {
        enable = true;
        package = pkgs.kdePackages.sddm;
        extraPackages = with pkgs; [
          kdePackages.qtmultimedia # Required for video backgrounds/audio
        ];
        theme = "sddm-astronaut-theme";
      };
    }
    

    Manual Installation

    1. Install dependencies

    sddm >= 0.21.0, qt6 >= 6.8, qt6-svg >= 6.8, qt6-virtualkeyboard >= 6.8, qt6-multimedia >= 6.8

    You may also want to install additional video codecs like h.264.

    sddm qt6-svg qt6-virtualkeyboard qt6-multimedia-ffmpeg     # Arch
    sddm qt6-svg qt6-virtualkeyboard qt6-multimedia            # Void
    sddm qt6-qtsvg qt6-qtvirtualkeyboard qt6-qtmultimedia      # Fedora
    sddm-qt6 libQt6Svg6 qt6-virtualkeyboard qt6-virtualkeyboard-imports qt6-multimedia qt6-multimedia-imports        # OpenSUSE
    sddm qt6-svg-dev qml6-module-qtquick-virtualkeyboard qt6-multimedia-dev qml6-module-qtquick-controls qml6-module-qtquick-effects libxcb-cursor0 # Debian trixie (13.5)
    
    1. Clone this repository
    sudo git clone -b master --depth 1 https://github.com/keyitdev/sddm-astronaut-theme.git /usr/share/sddm/themes/sddm-astronaut-theme
    
    1. Copy fonts to /usr/share/fonts/
    sudo cp -r /usr/share/sddm/themes/sddm-astronaut-theme/Fonts/* /usr/share/fonts/
    
    1. Edit /etc/sddm.conf
    echo "[Theme]
    Current=sddm-astronaut-theme" | sudo tee /etc/sddm.conf
    
    1. Edit /etc/sddm.conf.d/virtualkbd.conf
    echo "[General]
    InputMethod=qtvirtualkeyboard" | sudo tee /etc/sddm.conf.d/virtualkbd.conf
    

    Selecting a theme

    You can select theme by editing metadata (/usr/share/sddm/themes/sddm-astronaut-theme/metadata.desktop).

    Just edit this line:

    ConfigFile=Themes/astronaut.conf
    

    All available configs are in Themes directory.

    Previewing a theme

    You can preview the set theme without logging out by runnning:

    sddm-greeter-qt6 --test-mode --theme /usr/share/sddm/themes/sddm-astronaut-theme/
    

    Note that depending on the system configuration, the preview may differ slightly from the actual login screen.

    Sources

    Initially the theme was independed fork of MarianArlt's theme but now the project has come a long way and started to significantly deviate from the original. Many of the wallpapers and fonts used in this project are very popular and copied from one user to another, so I don't know who the original creator is. I also redesigned many of them, but here are links to some of the orginal artists who created these wonderful wallpapers:

    Supporting project

    You can support me simply by dropping a star on github or giving a subscription on YouTube.

    If you enjoyed it and would like to show your appreciation, you can make a donation using kofi.

    Ko-fi

    Distributed under the GPLv3+ License.
    Copyright (C) 2022-2025 Keyitdev.