sddm: починить тему WhiteSur после plasma-workspace 6.8 (экран входа rydiwo)
plasma-workspace 6.8.1 убрал VirtualKeyboardLoader из org.kde.breeze.components, а SDDM-тема WhiteSur (whitesur-kde 2024-11-18) всё ещё его инстанцирует. Гритер не мог загрузить Main.qml: Main.qml:316:9: VirtualKeyboardLoader is not a type Fallback to embedded theme и экран входа молча деградировал до встроенной плоской заглушки. - overlays/patch-whitesur-sddm.pl: заменить VirtualKeyboardLoader на Keyboards.KWinVirtualKeyboard (API актуальной breeze-темы), сохранив интерфейс inputPanel (keyboardActive/showHide), который используется в других местах Main.qml - overlays/pkgs.nix: overlay на whitesur-kde, гоняет патч по sddm/*/Main.qml - theming.nix: включить whitesur-cursors (kwin писал `Failed to load cursor theme "WhiteSur-cursors"`) - kde.nix: sddm.extraPackages = plasma-desktop + qtsvg (требование пакета) Проверено на rydiwo (поколение 91, display-manager перезапущен): Fallback to embedded theme — 0 раз, VirtualKeyboardLoader is not a type — 0, гритер создал вью на реальном выходе (DSI-1, 1324x828).
This commit is contained in:
1 parent
3ff32f7e7e
commit
730800d660
4 files changed
+90
-1
No files matched your search
@@ -23,6 +23,14 @@
|
||||
sddm = {
|
||||
enable = true;
|
||||
theme = "WhiteSur-light";
|
||||
# Required by the WhiteSur SDDM themes (see the note in
|
||||
# pkgs/by-name/wh/whitesur-kde/package.nix): the greeter needs the
|
||||
# org.kde.breeze.components QML module from plasma-desktop and qtsvg
|
||||
# for the theme's SVG assets.
|
||||
extraPackages = with pkgs; [
|
||||
kdePackages.plasma-desktop
|
||||
kdePackages.qtsvg
|
||||
];
|
||||
wayland = {
|
||||
enable = true;
|
||||
compositor = "kwin";
|
||||
|
||||
@@ -8,8 +8,9 @@
|
||||
systemPackages = with pkgs; [
|
||||
#qogir-kde
|
||||
#qogir-theme
|
||||
#whitesur-cursors
|
||||
qogir-icon-theme
|
||||
whitesur-cursors # WhiteSur look-and-feel sets this cursor; without it
|
||||
# kwin logs `Failed to load cursor theme "WhiteSur-cursors"`
|
||||
whitesur-gtk-theme
|
||||
whitesur-icon-theme
|
||||
whitesur-kde
|
||||
|
||||
Reference in new issue
Block a user