With those principles in mind Sugar 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.
To learn how to control sugar levels you should check the Sugar Wiki on Github or the very well documented and included theme.conf.
Here are some previews of nifty variable names you can set/unset/change to customize your sugar:
ThemeColor=, Font=, HourFormat=, ForceRightToLeft=, TranslateUsernamePlaceholder=
This is just a teaser. There are 27 customizable variables in total! This sugar will be yours and only yours.
Sugar comes in two flavors. This one is for the milky sweet. You can also check out Sugar Dark.
Please report bugs and feature requests on Github
Dependencies
sddm >= 0.18.0, qt5 >= 5.11, & qt5-quickcontrols2 >= 5.11.2
Make sure these are up to date!
Installing the theme
- From KDE Plasma:
If you are on KDE Plasma—by default openSuse, Neon, Kubuntu, KaOS or Chakra for example—you are lucky and can simply go to your system settings: "Startup and Shutdown" > "Login Screen (SDDM)" > "Get New Theme". Search for "Sugar Light" and install. If for some reason you cannot find the category named "Login Screen (SDDM)" in your system settings then you are missing '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 this site and extract the contents to the theme directory of SDDM (change the path for the downloaded file if necessary):
$ sudo tar -xzvf ~/Downloads/sugar-light.tar.gz -C /usr/share/sddm/themes
This will extract all the files to a folder called "sugar-light" 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.d/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: 'Current=sugar-light'. Also see the Arch wiki on SDDM.
Theming the theme
Sugar is extremely customizable by editing its included theme.conf file. You can change the colors and images used, the time and date formats, the appearance of the whole interface and even how it works.
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!
Please read the Sugar Wiki on Github for a detailed description of every variable available, what it does and the values it accepts. The theme.conf itself is also very well commented for you to get right at it.
Legal Notice
Copyright (C) 2018 Marian Arlt.
Sugar Light 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 Light 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 Light. If not, see https://www.gnu.org/licenses/.
Other awesome projects
- Chili—the hottest login theme for KDE Plasma
- Chili stand-alone fork for SDDM only
- Flat OSX like aurorae window decorations for your Linux desktop and its high contrast version
- Finely crafted folder icons for Linux
- Inline clock widget for KDE Plasma
Motivate a developer
Please share some love and pling this theme if you're a supporter or up vote if you like this theme! You can become a supporter of opendesktop and the people who create content for your linux desktop for a one time donation for a full year. Your donation will help and encourage a lot of people to create new decorations, icons, themes and keep them maintained.
Let's help each other and get away from closed source enterprise driven content that gets dumped and unsupported after six months.
Let's make Linux popular!
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.
Ratings & Comments
20 Comments
8 8 great
Thank you ( ^∇^)
10 Exactly what I was looking for - a nice, sleek and modern looking login theme that goes great with a light theme.
Thank you! Glad you like it o(^◇^)o
10 10 the best
Thank you l4k1 ( •⌄• ू )✧
Have an error in KDE Plasma. I install this theme but i recive this message: The current theme cannot be loaded due to the errors below, please select another theme. file:///usr/share/sddm/themes/sugar-light//Main.qml:20:20: Expected token ';' file://usr/share/sddm/themes/sugar-light//Main.qml:20:20: Expected a qualified name id
Hey nicosariego, I'm sorry for the inconvenience, this is most likely related to the below discussed version requirements. Line 20 Column 20 in Main.qml is the very first very basic Qt import statement which reads "import QtQuick 2.11". If this was a formatting issue where Qt would hard require the semicolon then every other user would have this error and not be able to use the theme at all. You may try to add the semicolon after those import statements in Main.qml and see if that makes a difference for your Qt version, in that case it's indeed a requirement that was removed in newer Qt versions. From there you'd probably get more formatting errors because this was specifically written to newer versions.
9 +
Hey marianarlt! I love the look of both sugar themes, and am running Kubuntu 18.10. I installed the theme through the Get New Theme option. I changed the resolution settings in theme.conf according to my hardware. But, all I see when I boot up is a giant keyboard, probably popping up from some accessibility function? Is there a way I can get your theme working right?
Update: Used the solution you suggested to another user in the comments for Sugar-Dark. Thanks!
Sorry for the late reply and the inconvenience. The behavior of the SDDM virtual keyboard is a pain for us creators as it gets forcely loaded by SDDM by default if there is no logic implemented to handle it otherwise. Maybe in some future I'll implement this well.
9 +
9 +
Nice SDDM theme , to bad it not work on Kubuntu 18.04 - it seems that the correct version of qt5 and qt5-quickcontrols are not installed there (Kubuntu 18.04) . . .
Hello vaxxipooh sorry indeed, distro versions with Qt lacking behind would have to upgrade. I see that Kubuntu latest is 18.10 Cosmic. Any reason not to do the upgrade? :)
Yes, the 18.04 is the LTS version. Any options to update Qt manually?
I would really advice against partial upgrades to system libraries on a LTS kernel. Qt is a pretty extensive library that provides functions for many programs. Things might break.
9 +
Thank you ⊂((・▽・))⊃