GithubHelp home page GithubHelp logo

sddm-kcm's Introduction

INTRODUCTION

IRC Network

SDDM is a modern display manager for X11 and Wayland sessions aiming to be fast, simple and beautiful. It uses modern technologies like QtQuick, which in turn gives the designer the ability to create smooth, animated user interfaces.

SDDM is extremely themeable. We put no restrictions on the user interface design, it is completely up to the designer. We simply provide a few callbacks to the user interface which can be used for authentication, suspend etc.

To further ease theme creation we provide some premade components like a textbox, a combox etc.

There are a few sample themes distributed with SDDM. They can be used as a starting point for new themes.

SCREENSHOTS

sample screenshot

VIDEOS

RESOURCES

INSTALLATION

Qt >= 5.15.0 is required to use SDDM.

SDDM runs the greeter as a system user named "sddm" whose home directory needs to be set to /var/lib/sddm.

If pam and systemd are available, the greeter will go through logind which will give it access to drm devices.

Distributions without pam and systemd will need to put the "sddm" user into the "video" group, otherwise errors regarding GL and drm devices might be experienced.

VIRTUAL TERMINALS

SDDM is assumed to start at the tty specified by the cmake variable SDDM_INITIAL_VT which is an integer and defaults to 1.

If SDDM_INITIAL_VT wasn't available, SDDM will use the next available one instead.

You can override SDDM_INITIAL_VT if you want to have a different one if, for example, you were planning on using tty1 for something else.

LICENSE

Source code of SDDM is licensed under GNU GPL version 2 or later (at your choosing). QML files are MIT licensed and images are CC BY 3.0.

TROUBLESHOOTING

NVIDIA Prime

Add this at the bottom of the Xsetup script:

if [ -e /sbin/prime-offload ]; then
    echo running NVIDIA Prime setup /sbin/prime-offload, you will need to manually run /sbin/prime-switch to shut down
    /sbin/prime-offload
fi

No User Icon

SDDM reads user icon from either ~/.face.icon or FacesDir/username.face.icon

You need to make sure that SDDM user have permissions to read those files. In case you don't want to allow other users to access your $HOME you can use ACLs if your filesystem does support it.

setfacl -m u:sddm:x /home/username
setfacl -m u:sddm:r /home/username/.face.icon

Custom DPI

In order to set custom DPI for high resolution screens you should configure Xorg yourself. An easy way is to pass an additional argument to Xorg.

Edit /etc/sddm.conf, go to the X11 section and change ServerArguments like this:

ServerArguments=-nolisten tcp -dpi 192

to set DPI to 192.

As an alternative you can edit Xorg configuration xorg.conf, please refer to the Xorg documentation.

sddm-kcm's People

Contributors

aavci1 avatar davidedmundson avatar ilpianista avatar plfiorini avatar rshah avatar sfranzen avatar swaechter avatar yurchor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sddm-kcm's Issues

Translations won't work

We're using KDE's i18n for translations.

This requires a script run on KDE's servers that generates .pot files which are then uploaded to the translators website. We then have packaging scripts that then copy the translation .po files into the tarball when making a release.

Simplest fix would be for me to just move this repo into KDE. I imagine this would be controversial.
Comments?

Cursor setting shows the user installed cursor themes

Cursor setting should only show cursor themes installed system-wide. Instead it shows cursor theme installed by the user too. But this themes are not usable in SDDM even if set.

How to reproduce in KDE:

Open System Settings
Click Workspace Appearance
Click Cursor Theme
Click Get New Theme and install a cursor theme. This theme is installed into the $HOME/.icons/cursor_theme_name and is not available system-wide, thus shouldn't be visible in the KCM.

No Themes showing in sddm-kcm

Using latest git pulls of SDDM and SDDM-KCM (20130731), packaged for openSUSE, and I'm getting just blank white boxes in the "Themes" Tab of the kcm module. The sddm themes are installed in /usr/share/apps/sddm/themes, and include metadata.desktop files. Is sddm-kcm expecting them to be somewhere else?

KCM module crashed

When I installed sddm kcm module it crash from systemsettings.

Application: Preferencias del sistema (systemsettings), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1f2b740 (LWP 2545))]

Thread 4 (Thread 0xaeb3fb40 (LWP 2546)):
#0 0xb77ab424 in __kernel_vsyscall ()
#1 0xb5d71690 in __GI___poll (fds=0xae202278, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2 0xb328a74b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3 0xb327bd00 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4 0xb327be61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5 0xb60d099f in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6 0xb609d26c in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7 0xb609d561 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8 0xb5f8866c in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9 0xb607b7bd in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0xb5f8ba58 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0xb3351d4c in start_thread (arg=0xaeb3fb40) at pthread_create.c:308
#12 0xb5d7fdde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xae066b40 (LWP 2547)):
#0 0xb77ab424 in __kernel_vsyscall ()
#1 0xb5d71690 in __GI___poll (fds=0xad702298, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2 0xb328a74b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3 0xb327bd00 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4 0xb327c1db in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5 0xae158b7a in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6 0xb32a1303 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7 0xb3351d4c in start_thread (arg=0xae066b40) at pthread_create.c:308
#8 0xb5d7fdde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xad6ffb40 (LWP 2548)):
#0 0xb77ab424 in __kernel_vsyscall ()
#1 0xb335596b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2 0xb5d8d6ec in __pthread_cond_wait (cond=0xb4557670, mutex=0xb4557658) at forward.c:139
#3 0xb44451cd in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4 0xb44451ff in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5 0xb3351d4c in start_thread (arg=0xad6ffb40) at pthread_create.c:308
#6 0xb5d7fdde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb1f2b740 (LWP 2545)):
[KCrash Handler]
#6 0xb6015929 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7 0xb6015fb4 in QDir::QDir(QString const&) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8 0xb752e666 in Plasma::Package::listInstalledPaths(QString const&) () from /usr/lib/libplasma.so.3
#9 0xaebaef86 in ThemesModel::populate (this=0x9c7c650) at /home/ppx/Descargas/sddm-kcm-master/themesmodel.cpp:84
#10 0x09c7c0d8 in ?? ()

Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Make Qt 5 Release

Not sure how else to email all of you, so I'll use a bug report.
Any objections to me merging the Qt5 branch and tagging a release?

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.