- C++ 74.1%
- QML 17.9%
- CMake 5.4%
- Perl 1.2%
- Shell 1%
- Other 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
During development and testing, in both vm and on hardware, mddm/weston were failing to display the mouse cursor. The mouse worked fine, the cursor was just invisible. Weston adds the poitner on the first motion and can then send an enter event with serial 0. Qt doesn't set a cursor with that serial, so the cursor stayed invisible. Hide and show the window once, after the first enter event, to get a new one. This works around https://qt-project.atlassian.net/browse/QTBUG-146015 and can be removed once the minimum Qt version includes a fix. |
||
| .woodpecker | ||
| ci | ||
| cmake | ||
| components | ||
| data | ||
| docs | ||
| releng | ||
| services | ||
| src | ||
| test | ||
| .clang-format | ||
| .commit-template | ||
| .git-blame-ignore-revs | ||
| .gitattributes | ||
| .gitignore | ||
| .mailmap | ||
| ChangeLog | ||
| CMakeLists.txt | ||
| CONTRIBUTORS | ||
| INSTALL.md | ||
| LICENSE | ||
| LICENSE.CC-BY-3.0 | ||
| README.md | ||
INTRODUCTION
MDDM 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.
MDDM 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 MDDM. They can be used as a starting point for new themes.
RESOURCES
INSTALLATION
Qt >= 6.0.0 is required to use MDDM.
MDDM runs the greeter as a system user named "mddm" whose home directory needs
to be set to /var/lib/mddm.
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 "mddm" user into the "video" group, otherwise errors regarding GL and drm devices might be experienced.
VIRTUAL TERMINALS
MDDM is assumed to start at the tty specified by the cmake variable MDDM_INITIAL_VT which is an integer and defaults to 1.
If MDDM_INITIAL_VT wasn't available, MDDM will use the next available one instead.
You can override MDDM_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 MDDM is licensed under GNU GPL version 2 or later (at your choosing). MDDM is a fork of SDDM. QML files are MIT licensed and images are CC BY 3.0.
TROUBLESHOOTING
No User Icon
MDDM reads user icon from either ~/.face.icon or FacesDir/username.face.icon
You need to make sure that MDDM 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:mddm:x /home/username
setfacl -m u:mddm:r /home/username/.face.icon
Custom DPI
In order to set custom DPI for X11 sessions on high resolution screens you should configure Xorg yourself. An easy way is to pass an additional argument to Xorg.
Edit /etc/mddm.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.