Coder Social home page Coder Social logo

marianarlt / sddm-sugar-light Goto Github PK

View Code? Open in Web Editor NEW
78.0 4.0 11.0 17.57 MB

The sweetest theme around for SDDM, the Simple Desktop Display Manager.

Home Page: https://www.opendesktop.org/p/1272119

License: GNU General Public License v3.0

QML 100.00%
sddm sddm-theme linux login-screen awesome-sauce interface-design qt5-qml qtquick-controls2

sddm-sugar-light's Introduction

Screenshot of the interface of the Sugar Light theme for SDDM

Sugar Light login theme for SDDM

Sugar is extremely customizable and so sweet it will probably cause you diabetes just from looking at it. Sweeten the login experience for your users, your family and yourself. Sugar is cross platform and all about user experience and functionality. 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 and beautiful color transitions.

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.

Dependencies

sddm >= 0.18.0, qt5 >= 5.11, & qt5-quickcontrols >= 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 and under "Startup and Shutdown" followed by "Login Screen (SDDM)" click "Get New Theme". From there 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 openDesktop 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/.

Mockup psd created by Qeaql-studio - Freepik.com

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.

sddm-sugar-light's People

Contributors

marianarlt avatar nyanloutre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sddm-sugar-light's Issues

Go to password field on Enter

  • Create a variable to control this behavior
  • Bind Keys.onReturnPressed {} to username
  • Make it conditional only if username.activeFocus && config.variable
  • Document the new option
  • Advance version, upload and release

How to change background color of the left bar?

Title. I was wondering how to change the color of the bar on the left that houses the login button, username + password entry, clock, etc... I'm trying to make a fork of this that follows the Tokyo Night VSCode colors but I was lost on how to change the background color of this bar.

Translation & glitch graphics issues

Hi, this is my first time that I use this theme and I had some issue.
First the keyboard isssue #2

And second, there is a problem with the translation:
The Welcome message is not translated. The suspend button text doesn't show up. The "show password" sentence is not translated.

In addition, in french we say "s'identifer" or "se connecter" instead of "identification"

img_20181118_191617

error module "QtQuick" version 2.11 is not installed (but it's installed)

So I just installed a SDDM theme on my Debian 9 and it threw

error module "QtQuick" version 2.11 is not installed

I've installed qt5-default via my package manager and also installed qml and qml-module-qtquick-controls
That didn't fix the issue so I removed it (kept qtchooser), installed qt5.11.3 from source with Desktop gcc 64-bit, setting it up with qtchooser and setting the variable QT_SELECT in my .bashrc and current terminal.

But I still got the same error.
I never used Qt or any of it's modules/APIs so I'm not sure how else I can install and setup Qt and QtQuick to get my SDDM theme to work.
Could somebody point me in the right direction?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.