SDDM Login Themes awesome linux sddm theme

Source (link to git-repo or to original if based on someone elses unmodified work): https://framagit.org/MarianArlt/sddm-sugar-candy

14
9 .0
Description:

So extremely sweet your pancreas will have difficulties digesting its awesomeness.

Sweeten the login experience for your users, your family and yourself. Sugar Candy works on almost all major distributions—see below—and focuses on a straight forward user experience and superb functionality while still offering vast customization possibilities.

Sugar Candy is based on the Sugar series which was written completely from scratch making it clean and simple not only by looks but by design too.
All controls use the latest Qt Quick Controls 2 for increased performance on low end or even embedded systems and beautiful color transitions.

To learn how to control sugar levels read the section below about customization. Your secret sauce is located at ./sddm/themes/sugar-candy/theme.conf!
There are 46 customizable variables in total! This candy will be yours and only yours.

Installation


From within KDE Plasma

If you are on KDE Plasma—by default Manjaro, OpenSuse, Neon, Kubuntu, KaOS or Chakra for example—you are lucky and can simply go to your system settings and under "Startup and Shutdown" followed by "Login Screen (SDDM)" click "Get New Theme". From there search for "Sugar Candy" and install.

If for some reason you cannot find the category named "Login Screen (SDDM)" in your system settings then you are missing the module
sddm‑kcm
. Install this little helper with your package manager first. You will be grateful you did.

From other desktop environments

Download the tar archive from the Files(1) tab above and extract the contents to the theme directory of SDDM (change the path for the downloaded file if necessary):
$ sudo mkdir ‑p
/usr/share/sddm/themes

$ sudo tar ‑xzvf
~/Downloads/sugar‑candy.tar.gz
‑C
/usr/share/sddm/themes

This will extract all the files to a folder called "sugar-candy" inside of the themes directory of SDDM.

After that you will have to point SDDM to the new theme by editing its config file, preferrably at
/etc/sddm.conf
(create if necessary). You can take the default config file of SDDM as a reference:
/etc/sddm.conf/usr/lib/sddm/sddm.conf.d/sddm.conf


In the
[Theme]
section simply add the themes name to this line:
Current=sugar-candy
. If you don't care for SDDM options and you had to create the file from blank just add these two lines and save it. Also see the Arch wiki on SDDM.

Dependencies

SDDM >= 0.18 & Qt5 >= 5.11

Including: Qt Quick Controls 2, Qt Graphical Effects, Qt SVG, Qt Quick Layouts each >= 5.11

If the theme doesn't work by default make sure these are installed with their required version or higher—see below for distro specific package names! SDDM might need an enabled system service/daemon to work. This is often done automatically during installation. Take note that a lot of standard release distros like Debian, Mint, MX, Elementary, Deepin or Ubuntu LTS are still on earlier versions. If in doubt ask in your distros forums.

Debian based distros using the APT package manager:
(Ubuntu/Kubuntu/Kali/Neon/antiX etc.)
sudo apt install ‑‑no‑install‑recommends
sddm
qml‑module‑qtquick‑layouts
qml‑module‑qtgraphicaleffects
qml‑module‑qtquick‑controls2
libqt5svg5


Arch based distros using the pacman package manger:
(Obarun/Artix/Manjaro/KaOS/Chakra etc.)
sudo pacman -S --needed sddm
qt5‑graphicaleffects
qt5‑quickcontrols2
qt5‑svg


openSUSE using the zypper package manager:
sudo zypper install sddm
libqt5‑qtgraphicaleffects
libqt5‑qtquickcontrols2
libQt5Svg5
libQt5Svg5


Red Hat based distros using the dnf package manager:
(Fedora/Mageia/RHEL/CentOS)
sudo dnf install sddm
qt5‑qtgraphicaleffects
qt5‑qtquickcontrols2
qt5‑qtsvg


Configuration



The sugar series is extremely customizable by editing its included
theme.conf
file or even better by overwriting default values in
theme.conf.user
. You can change the colors and images used, the time and date formats, the appearance of the whole interface and even how it works.

The exact path to the theme.conf file differs ever so slightly from distro to distro. Most common ones are /usr/lib/sddm/themes and /usr/share/sddm/themes. Please refer to your distros manual. Overwrite default values in theme.conf.user instead of theme.conf to prevent changes from being overwritten when I push an update.

Pro tip: It's super annoying to log out and back in every time you want to see a change made to the theme.conf file. To preview your changes from your running desktop environment session issue:
sddm‑greeter ‑‑test‑mode ‑‑theme /usr/share/sddm/themes/sugar‑candy


And as if that wouldn't still be enough you can translate every single button and label because SDDM is still lacking behind with localization and clearly needs your help!

Background="Backgrounds/Mountain.jpg"
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)

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

ScaleImageCropped="true"
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).

ScreenWidth="1440"
ScreenHeight="900"
Adjust to your resolution to help SDDM speed up on calculations.

FullBlur="false"
PartialBlur="false"
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.

BlurRadius="100"
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.

HaveFormBackground="false"
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.

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

BackgroundImageHAlignment="center"
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.

BackgroundImageVAlignment="center"
As before but for the vertical position of the background picture relative to its visible area.

MainColor="white"
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 [project]444[/project] (not black for smoother antialias). Colors can be HEX or Qt names (e.g. red/salmon/blanchedalmond). See https://doc.qt.io/qt-5/qml-color.html

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

BackgroundColor="#444"
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.

OverrideLoginButtonTextColor=""
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.

InterfaceShadowSize="6"
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 for values above 5-7.

InterfaceShadowOpacity="0.6"
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.

RoundCorners="20"
Integer in pixels. Radius of the input fields and the login button. Empty for square. Can cause bad antialiasing of the fields.

ScreenPadding="0"
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 https://wiki.archlinux.org/index.php/fonts#Manual_installation

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

ForceRightToLeft="false"
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).

ForceLastUser="true"
Have the last successfully logged in user appear automatically in the username field.

ForcePasswordFocus="true"
Give automatic focus to the password field. Together with ForceLastUser this makes for the fastest login experience.

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

AllowEmptyPassword="false"
Enable login for users without a password. This is discouraged. Makes the login button always enabled.

AllowBadUsernames="false"
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.

Locale=""
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.

HourFormat="HH:mm"
Defaults to Locale.ShortFormat - Accepts "long" or a custom string like "hh:mm A". See http://doc.qt.io/qt-5/qml-qtqml-date.html

DateFormat="dddd, d of MMMM"
Defaults to Locale.LongFormat - Accepts "short" or a custom string like "dddd, d 'of' MMMM". See http://doc.qt.io/qt-5/qml-qtqml-date.html

HeaderText="Welcome!"
Header can be empty to not display any greeting at all. Keep it short.

SDDM may lack proper translation for every element. Sugar defaults to SDDM translations. Please help translate SDDM as much as possible for your language: https://github.com/sddm/sddm/wiki/Localization. These are in order as they appear on screen.

TranslatePlaceholderUsername=""
TranslatePlaceholderPassword=""
TranslateShowPassword=""
TranslateLogin=""
TranslateLoginFailedWarning=""
TranslateCapslockWarning=""
TranslateSession=""
TranslateSuspend=""
TranslateHibernate=""
TranslateReboot=""
TranslateShutdown=""
These don't necessarily need to translate anything. You can enter whatever you want here.

Legal Notice



Copyright (C) 2018 Marian Arlt.

Sugar Candy is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Sugar Candy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Sugar Candy. If not, see https://www.gnu.org/licenses/.

Other awesome projects



Motivate a developer

In the past years I have spent quite some hours on open source projects. If you are the type of person who digs attention to detail, know how much work is involved in it and/or simply likes to support makers with a coffee or a beer I would greatly appreciate your donation on my PayPayl account.
Alternatively downloading my themes directly from opendesktop or with the kde sddm system settings module will at least help me a little to be able to attend your issues and requests.
Please consider helping developers you think are worth a penny or two, literally.
Last changelog:

v1.6 9 months ago

- A few small fixes
- Mainly to update you guys after everything has fully been worked on.

10

Neules

21 days ago

10 Is there an option to change the keyboard layout?

Report

10

zesko

23 days ago

10 10 the best

Report

10

devianpctek

25 days ago

10 This is a beautiful theme, btw where can I find the second image (the one with the forest)

Report

10

anarchotaoist

1 month ago

10 10 the best! This should be the default Plasma login screen!

Report

anarcho-taoist

3 months ago

This is the most delicious login screen!
Is there a way though to not have the password field display letters?
Each entry displays the letter before turning into a dot when the next letter is typed. Somebody watching can still get your password.
Thanks!

Report

C S3

marianarlt

3 months ago

Thank you for the sweet words! If you don't mind please rate the theme at the top of the screen :) You can refer to the instructions above where I list all available configuration options. These variables should best be made in a file called theme.conf.user in the themes' directory. The variable you're looking for is ForceHideCompletePassword="false". Set this to true :)

Report

10

anarchotaoist

1 month ago

Thank you! I missed that in the instructions. Apologies!

Report

9

gaetan1903

4 months ago

9 9 excellent
How can add profile picture ?

Report

C S3

marianarlt

3 months ago

If you're pictures don't show SDDM has no access to read the corresponding files. Please refer to https://wiki.archlinux.org/index.php/SDDM

Report

indianaroy

5 months ago

Hey, first of all love the theme
When I tried it my log in manager failed every time with the correct password, I had to open up the console and use "startx" to be able to get into my system and change it, is there somewhere to report the bug?
I'm using Clearlinux with Plasma (Wayland)

Report

C S3

marianarlt

3 months ago

Hello indianaroy, is this true only for this theme? Sounds like it could be a username with special characters? Can you say for sure that everything's fine with other themes? You can make a detailed(!) bug report here: https://framagit.org/MarianArlt/sddm-sugar-candy/-/issues

Report

10

archcore

5 months ago

10 10 the best

Report

C S3

marianarlt

3 months ago

Ty much for the love :)

Report

10

archcore

5 months ago

I love this theme!
I can't get focus to password field (tab doesn't work).
I edited both theme.conf and theme.conf.user by adding ForcePasswordFocus="true" but still I have to use mouse to focus to password field.

Report

10

archcore

5 months ago

Update: So I removed ForcePasswordFocus from theme.conf.user and everything works fine :D

Report

alexbraga

5 months ago

I love it! Thanks so much for this!
I'd just like to have an option to include user icon (avatar) as well, because it would look nice
Also I've noticed that even though I set NumLock on at system startup in Kubuntu 20.04, it's not affecting Sugar Candy. I still need to press the key anyway if I intend to type anything from there [it wasn't the case before Sugar Candy]

Report

C S3

marianarlt

5 months ago

Thanks for the kind words! This theme is specifically designed to work without pictures. I'm working on something new so stay tuned! You might wanna try Chili in the meantime :)
Thanks for the NumLock detail, I'll have a look!

Report

9

atavixion

6 months ago

9 9 excellent

This is great for Manjaro KDE, but could you make a loo-and-feel/lockscreen version too :)

Report

C S3

marianarlt

5 months ago

Thanks! I'll have a look into it. Please don't expect anything too soon though ^^;

Report

rashad

7 months ago

The best, but I have problem with it, every time I boot the laptop the theme not load and only black screen with cursor show, then I need to restart so the second time the theme load, another problem there is horizontal lines moves with the cursors, can you help me fix these problems?

Report

C S3

marianarlt

7 months ago

Sounds rather like a graphic driver issue to be honest. If it loads at some point, there's no good reason it should be the theme's fault. Please provide more info. Also consult you distros forums. Do you have any customizations regarding your distro's init and/or SDDM? Do other themes work on first boot? What distro is this?

Report

rashad

7 months ago

I'm using SSDM on arch, it seems like it was because of the background that I was using, because when I have changed it there is no problem anymore, idk why but this solved the problem, thank you for replying.

Report

C S3

marianarlt

7 months ago

Glad you got it sorted. Enjoy!

Report

4

vincelaus

7 months ago

4 4 soso Unable to install correctly in Kubuntu 18.04 :( The instructions for debian/ubuntu are wrong/outdated about install of quick controls :( and have not been able to determine exact package to install to get it working on my distro :(

Report

C S3

marianarlt

7 months ago

Also if you're up for some debugging to get this working (maybe for others as well): We need theme specific output, so one way could be to test the theme from CLI. From within your desktop session launch a terminal (probably Konsole in your case since its Kubuntu) and type the following:

sddm-greeter --test-mode --theme /usr/share/sddm/themes/sugar-candy

Whatever the visual result may be, the terminal will now give you very theme-specific feedback regarding errors like missing packages for the tested theme. Please get back with any errors (EE) you might see there.

Report

v1.6 9 months ago

- A few small fixes
- Mainly to update you guys after everything has fully been worked on.

v1.5 9 months ago

- The username input now gets selected on focus for intuitive and even faster navigation
- New option to allow usernames with mixed case lettering. This is highly discouraged! (Request)
- New option to allow login without password. Makes the login button always enabled.
- The user dropdown select now only shows the username not the real name. The real names caused several kinds of issues.

v1.4 1 year ago

- Username now gets automatically converted to lowercase at login to prevent errors

v1.3 1 year ago

- The Login button can now be activated with Return/Enter keys
- Up/Down arrow keys now intuitively navigate through the whole interface
- Enter/Return keys can be used to login directly from within the username and password fields

v1.2 1 year ago

- Added option to fully hide and disable power buttons

v1.1 1 year ago

- Added full support for the Qt Virtual Keyboard
- Minor fixes and adjustments

12345678910
1422
product-maker Neules Nov 03 2020 10 the best
Is there an option to change the keyboard layout?
product-maker zesko Oct 31 2020 10 the best
10 the best
product-maker devianpctek Oct 29 2020 10 the best
This is a beautiful theme, btw where can I find the second image (the one with the forest)
product-maker anarchotaoist Sep 24 2020 10 the best
10 the best! This should be the default Plasma login screen!
product-maker gaetan1903 Jul 20 2020 9 excellent
9 excellent How can add profile picture ?
product-maker archcore Jun 09 2020 10 the best
10 the best
product-maker atavixion May 04 2020 9 excellent
9 excellent This is great for Manjaro KDE, but could you make a loo-and-feel/lockscreen version too :)
product-maker vincelaus Apr 11 2020 4 soso
4 soso Unable to install correctly in Kubuntu 18.04 :( The instructions for debian/ubuntu are wrong/outdated about install of quick controls :( and have not been able to determine exact package to install to get it working on my distro :(
product-maker kvanheurck Mar 07 2020 10 the best
simply love all the customization options
product-maker nicosariego Feb 11 2020 10 the best
10. I would like a different welcome message to appear depending on the time. I guess creating a script but it would be very complicated
product-maker flanaso Jan 10 2020 10 the best
Love it
product-maker archman73 Jan 07 2020 10 the best
10 the best My number 1 favorite, thank you!
product-maker skinamarink Dec 28 2019 10 the best
Excellent theme. I got the same artifact as rplanchuelo below, and fixed it the same way. I don't the artifact on my laptop, just on my 4K desktop.
product-maker itsjustarumour2 Dec 03 2019 10 the best
10 the best
product-maker eckzies Nov 16 2019 10 the best
Fab theme, looks great out of the box but the easy customizability makes this one of the best themes on here. Speaking of, is there any way to change the padding/width of the login region? (i.e if I wanted it to be 1/4 instead of 1/3rd of the screen) Cheers
product-maker rplanchuelo Oct 19 2019 10 the best
10 the best
product-maker saeed-baig Oct 17 2019 9 excellent
9 excellent Beautiful theme
product-maker sakura-rose Oct 13 2019 10 the best
uwu
product-maker cozza89 Sep 17 2019 10 the best
10 the best Love this theme. My favourite by far. Only issue I have is the numpad enter button doesn't work to confirm password when it works on other themes. The main enter button still works
product-maker arun94 Jul 30 2019 9 excellent
9 excellent
product-maker lokawn Jul 26 2019 10 the best
10 the best
product-maker NickLion Jul 12 2019 10 the best
Only one wish for this — some easy for packaging (when package update wouldn't erase all changes) theme support and switching between different variants.
product-maker arielaxionl Jul 11 2019 10 the best
10 the best! For Arch Linux user, the qt5-virtualkeyboard package should be an optional depends.
product-maker unc926 Jul 07 2019 10 the best
10 en iyisi
product-maker vinceliuice Jul 07 2019 10 the best
10 the best, That's really amazing!
product-maker l4k1 Jul 06 2019 10 the best
10 the best
product-maker mrcuve0 Jul 06 2019 10 the best
10 the best I should give you 10 only for your accurate and clear product description. It's clear you are putting an amazing effort (I loved your attention on the performance!) and you are concentrating on very important aspects. Also, the final product is very pleasant and complete. I think I'm in a good position to know all the effort and time you spent in these products (although for my products is probably 1/10th of yours), from the building phase to the issue/support phase. Keep up the good work!
Be the first to comment
duhr
Nov 11 2020
zesko
Oct 31 2020
devianpctek
Oct 29 2020
atavixion
May 04 2020
vincelaus
Apr 12 2020
undefinedhax
Feb 23 2020
henrique3k
Dec 26 2019
XenoPL
Nov 28 2019
frederikstroem
Oct 09 2019
ASiddique
Aug 08 2019
jasonwood
Aug 03 2019
lokawn
Jul 26 2019
mrcuve0
Jul 06 2019
l4k1
Jul 06 2019
vinceliuice
Jul 07 2019
mrcuve0
Jul 06 2019
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
2 Plings
1 Affiliate
Details
license
GPLv3
version
1.6
updated Feb 01 2020
added Jul 03 2019
downloads 24h
202
mediaviews 24h 0
pageviews 24h 102