mirror of https://github.com/cutefishos/launcher
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
4 weeks ago | |
|---|---|---|
| common | 1 month ago | |
| daemon | 4 weeks ago | |
| data | 4 weeks ago | |
| helper | 4 weeks ago | |
| tests | 4 weeks ago | |
| .gitignore | 1 month ago | |
| CMakeLists.txt | 4 weeks ago | |
| README.md | 4 weeks ago | |
README.md
cutefish-dm
The Cutefish display manager. It runs the login screen
(cutefish-compositor --login) and the Wayland session the user picks, Cutefish
or any other wayland-sessions entry such as GNOME or Plasma, with no black
frame or console in between.
The login screen runs on VT1 and the session on VT2, so every handover is a switch between two VTs that are already drawing. On a single VT the console would flash whenever a compositor exits.
cutefish-dmis the root daemon. The login screen talks to it overGREETD_SOCKwith greetd's protocol;start_sessionmay name awayland-sessionsid instead of a command.cutefish-dm-helperruns PAM and the session for one login, like greetd's session worker and sddm-helper.cutefish-sessioncallscom.cutefish.DisplayManager.SwitchToGreeterbefore it logs out, so the login screen is already up when the session ends.
Dependencies
Qt 6.8 (Core, DBus, Network) and PAM; cutefish-compositor at runtime.
Build
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
sudo cmake --install build
The Debian package creates the login screen's user; a source install needs it once:
sudo adduser --system --group --home /var/lib/cutefish-greeter cutefish-greeter
Enable
sudo systemctl disable sddm
sudo systemctl enable cutefish-dm
Optional settings go in /etc/cutefish-dm.conf; see daemon/config.cpp.
Tests
cmake -S . -B build -DBUILD_TESTING=ON
cmake --build build
ctest --test-dir build --output-on-failure