theme.conf 6.68 KB
Newer Older
Marian's avatar
Marian committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84

## Path relative to the theme root directory. Most standard image file formats are allowed including support for transparency. (e.g. background.jpeg/illustration.GIF/Foto.png/undraw.svgz)

## Double between 0 and 1 used for the alpha channel of a darkening overlay. Use to darken your background image on the fly.

## Whether the image should be cropped when scaled proportionally. Setting this to false will fit the whole image instead, possibly leaving white space. This can be exploited beautifully with illustrations (try it with "undraw.svg" included in the theme).

## Adjust to your resolution to help SDDM speed up on calculations

## [Blur Settings]

## Enable or disable the blur effect; if HaveFormBackground is set to true then PartialBlur will trigger the BackgroundColor of the form element to be partially transparent and blend with the blur.

## Set the strength of the blur effect. Anything above 100 is pretty strong and might slow down the rendering time. 0 is like setting false for any blur.

## [Design Customizations]

## Have a full opacity background color behind the form that takes slightly more than 1/3 of screen estate;  if PartialBlur is set to true then HaveFormBackground will trigger the BackgroundColor of the form element to be partially transparent and blend with the blur.

## Position of the form which takes roughly 1/3 of screen estate. Can be left, center or right.

## Horizontal position of the background picture relative to its visible area. Applies when ScaleImageCropped is set to false or when HaveFormBackground is set to true and FormPosition is either left or right. Can be left, center or right; defaults to center if none is passed.

## As before but for the vertical position of the background picture relative to its visible area.

## Used for all elements when not focused/hovered etc. Usually the best effect is achieved by having this be either white or a very dark grey like #444 (not black for smoother antialias)
## Colors can be HEX or Qt names (e.g. red/salmon/blanchedalmond). See

## Used for elements in focus/hover/pressed. Should be contrasting to the background and the MainColor to achieve the best effect.

## Used for the user and session selection background as well as for ScreenPadding and FormBackground when either is true. If PartialBlur and FormBackground are both enabled this color will blend with the blur effect.

## The text of the login button may become difficult to read depending on your color choices. Use this option to set it independently for legibility.

## Integer used as multiplier. Size of the shadow behind the user and session selection background. Decrease or increase if it looks bad on your background. Initial render can be slow no values above 5-7.

## Double between 0 and 1. Alpha channel of the shadow behind the user and session selection background. Decrease or increase if it looks bad on your background.

## Integer in pixels. Radius of the input fields and the login button. Empty for square. Can cause bad antialiasing of the fields.

## Integer in pixels. Increase or delete this to have a padding of color BackgroundColor all around your screen. This makes your login greeter appear as if it was a canvas. Cool!

Font="Noto Sans"
## If you want to choose a custom font it will have to be available to the X root user. See

## Only set a fixed value if fonts are way too small for your resolution. Preferrably kept empty.

## [Interface Behavior]

## Revert the layout either because you would like the login to be on the right hand side or SDDM won't respect your language locale for some reason. This will reverse the current position of FormPosition if it is either left or right and in addition position some smaller elements on the right hand side of the form itself (also when FormPosition is set to center).

## Have the last successfully logged in user appear automatically in the username field.

marianarlt's avatar
marianarlt committed
## Give automatic focus to the password field. Together with ForceLastUser this makes for the fastest login experience.
Marian's avatar
Marian committed
86 87 88 89

## If you don't like to see any character at all not even while being entered set this to true.

Marian's avatar
Marian committed
90 91 92
## Do not show the button for the virtual keyboard at all. This will completely disable functionality for the virtual keyboard even if it is installed and activated in sddm.conf

Marian's avatar
Marian committed
93 94 95
## Completely disable and hide any power buttons on the greeter.

marianarlt's avatar
marianarlt committed
96 97 98 99 100 101
## Enable login for users without a password. This is discouraged. Makes the login button always enabled.

## Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard! Also shows username as is instead of capitalized.

Marian's avatar
Marian committed
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134

## [Locale Settings]

## The time and date locale should usually be set in your system settings. Only hard set this if something is not working by default or you want a seperate locale setting in your login screen.

## Defaults to Locale.ShortFormat - Accepts "long" or a custom string like "hh:mm A". See

DateFormat="dddd, d of MMMM"
## Defaults to Locale.LongFormat - Accepts "short" or a custom string like "dddd, d 'of' MMMM". See

## [Translations]

## Header can be empty to not display any greeting at all. Keep it short.

## SDDM may lack proper translation for every element. Suger defaults to SDDM translations. Please help translate SDDM as much as possible for your language: These are in order as they appear on screen.

Marian's avatar
Marian committed
Marian's avatar
Marian committed
## These don't necessarily need to translate anything. You can enter whatever you want here.