Skip to content

GistOfSpirit/TerminalStyleLogin

Repository files navigation

TerminalStyleLogin

An SDDM theme that looks like a terminal

Screenshot of the login prompt

Features

  • Fully controllable by keyboard
  • Allows power management
  • Allows session selection (up to 9)
  • Intended to imitate the appearance of a tty login
  • Configurable font family/size and background/foreground colour
  • Compatible with QT5 and QT6

Todo (perhaps)

  • Add translation support
  • Add user selection via menu
  • Allow selecting from more than 9 sessions

Limitations

  • No accessibility features!
  • Virtual keyboard will not appear
  • Mouse cursor is invisible
  • Cannot be controlled by mouse

Screenshots

Sample login prompt:

Screenshot of the login prompt

Sample power options menu:

Screenshot of the power options

Sample session menu:

Screenshot of the session menu

Configuration

  • fontFamily: Name of the font to use (reference)
  • fontSize: The size of the font in points (reference)
  • foreground: The colour of the font (reference)
  • background: The colour of the background (it will fill the entire screen) (reference)

Note for installation

If you install from this repository, first run the scripts/build.sh script to produce a build directory, and use the contents of this directory to install.

Alternatively, delete Proxy.qml and rename RealProxy.qml to Proxy.qml.

Proxy.qml contains dummy values and functions that are useful while testing with sddm-greeter --test-mode and will not work when in actual use.

Note for QT compatibility

The theme's code should be compatible with both QT5 and QT6, based on my tests. However QT6 requires the QtVersion=6 line added in metadata.desktop.

It seems that this doesn't break QT5 compatibility because the versions of SDDM using QT5 don't read this property at all.

If this turns out to be incorrect, I may need to release separate versions of the theme for each QT version, with only that property being different.