Linux Is Best on Nostr: SOLUTION: Ditch SDDM and replace it with GDM. -- It is not what I was looking for, ...
SOLUTION:
Ditch SDDM and replace it with GDM. -- It is not what I was looking for, but it works.
ā ļø Caution: When you perform sudo nixos-rebuild switch
Or, as I commonly used: sudo nixos-rebuild switch --upgrade
You will be automatically logged out and see the GDM. You can log right back in and may receive a "no impute" display. Wait awhile, make sure that build finishes (because I'm unsure if it happens in the middle of the build or the build finished), then physically reboot your computer.
Someone using KDE Plasma will have to test and pay closer attention then I did (I walked out of the room for a bit). That said -- It works! I'll take it. š¤£
# ----------------------------------------
# š¼ļø Graphical Desktop.
# ----------------------------------------
# š¼ļø Enable KDE Plasma (Graphical Desktop).
# This enables the KDE Plasma desktop ā a modern, user-friendly graphical interface.
# It also enables GDM (the login screen), which is required for graphical logins.
# Without it, you won't see a login screen or access KDE.
services.desktopManager.plasma6.enable = true; # Enables the KDE Plasma desktop environment.
services.displayManager.sddm.enable = false; # Required Disable SDDM - Disabled because it does not work with a Virtual Keyboard.
services.xserver.displayManager.gdm.enable = true; # Required for graphical login. - GDM (Grnome Display Manager) works with VM Keyboard and can be used with KDE.
# āØļø This configuration enables the virtual keyboard.
# In addition to supporting accessibility needs, it can also be helpful if your Bluetooth keyboard fails to connect before logging in.
# Start Maliit virtual keyboard after graphical.target is reached.
systemd.services.maliit-keyboard = {
description = "Launch Maliit virtual keyboard.";
wantedBy = [ "graphical.target" ]; # Start after graphical.target (post-login screen).
serviceConfig.ExecStart = "${pkgs.maliit-keyboard}/bin/maliit-keyboard"; # Start Maliit keyboard.
serviceConfig.Restart = "always"; # Ensure it restarts if it crashes.
};
# š„ļø X11 vs Wayland.
# At the GDM login screen, you can choose either "Plasma (X11)" or "Plasma (Wayland)".
# Click the gear icon before logging in to pick your session.
#
# ā
Tip: If you're unsure, try Wayland ā you can switch back at any time.
# šŖ Enable Wayland (modern graphical system).
services.xserver.displayManager.gdm.wayland = true;
# š§āš» Keyboard Layout (X11 only).
# Sets the keyboard layout for X11. Wayland layouts are handled through KDE settings.
# Change the layout code below if you're using something other than US QWERTY.
services.xserver.xkb = {
layout = "us"; # ā¬
ļø Change this to your layout (e.g., "de", "fr", "uk").
variant = ""; # Optional: Variant for more specific layouts.
};
# ----------------------------------------
# š±ļø Touchpad & Input Device Support.
# ----------------------------------------
# This enables the libinput driver for touchpads and other input devices.
# KDE handles most input automatically under Wayland, but enabling this ensures
# proper support across both X11 and Wayland ā especially for touchpads and touchscreens.
services.libinput.enable = true; # Recommended for reliable input device support.
Published at
2025-05-24 19:44:59Event JSON
{
"id": "9d2c59f3118714c2a7278b2437ef6e7013f97edfa3794b893cf27aed90c7daec",
"pubkey": "2ebda027be8c8c3589adfccd694604e48e083a4cbe7d50dfa5619508ee36ab00",
"created_at": 1748115899,
"kind": 1,
"tags": [
[
"proxy",
"https://mk.absturztau.be/notes/a867du8ugh8p01wa",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.mostr.pub"
]
],
"content": "SOLUTION:\n\nDitch SDDM and replace it with GDM. -- It is not what I was looking for, but it works.\n\nā ļø Caution: When you perform sudo nixos-rebuild switch \n\nOr, as I commonly used: sudo nixos-rebuild switch --upgrade\n\nYou will be automatically logged out and see the GDM. You can log right back in and may receive a \"no impute\" display. Wait awhile, make sure that build finishes (because I'm unsure if it happens in the middle of the build or the build finished), then physically reboot your computer. \n\nSomeone using KDE Plasma will have to test and pay closer attention then I did (I walked out of the room for a bit). That said -- It works! I'll take it. š¤£\n\n\n\n# ----------------------------------------\n# š¼ļø Graphical Desktop.\n# ----------------------------------------\n\n# š¼ļø Enable KDE Plasma (Graphical Desktop).\n# This enables the KDE Plasma desktop ā a modern, user-friendly graphical interface.\n# It also enables GDM (the login screen), which is required for graphical logins.\n# Without it, you won't see a login screen or access KDE.\n\n services.desktopManager.plasma6.enable = true; # Enables the KDE Plasma desktop environment.\n services.displayManager.sddm.enable = false; # Required Disable SDDM - Disabled because it does not work with a Virtual Keyboard.\n services.xserver.displayManager.gdm.enable = true; # Required for graphical login. - GDM (Grnome Display Manager) works with VM Keyboard and can be used with KDE.\n\n# āØļø This configuration enables the virtual keyboard.\n# In addition to supporting accessibility needs, it can also be helpful if your Bluetooth keyboard fails to connect before logging in.\n\n# Start Maliit virtual keyboard after graphical.target is reached.\nsystemd.services.maliit-keyboard = {\n description = \"Launch Maliit virtual keyboard.\";\n wantedBy = [ \"graphical.target\" ]; # Start after graphical.target (post-login screen).\n serviceConfig.ExecStart = \"${pkgs.maliit-keyboard}/bin/maliit-keyboard\"; # Start Maliit keyboard.\n serviceConfig.Restart = \"always\"; # Ensure it restarts if it crashes.\n};\n\n\n# š„ļø X11 vs Wayland.\n# At the GDM login screen, you can choose either \"Plasma (X11)\" or \"Plasma (Wayland)\".\n# Click the gear icon before logging in to pick your session.\n#\n# ā
Tip: If you're unsure, try Wayland ā you can switch back at any time.\n\n# šŖ Enable Wayland (modern graphical system).\n services.xserver.displayManager.gdm.wayland = true;\n\n# š§āš» Keyboard Layout (X11 only).\n# Sets the keyboard layout for X11. Wayland layouts are handled through KDE settings.\n# Change the layout code below if you're using something other than US QWERTY.\n services.xserver.xkb = {\n layout = \"us\"; # ā¬
ļø Change this to your layout (e.g., \"de\", \"fr\", \"uk\").\n variant = \"\"; # Optional: Variant for more specific layouts.\n };\n\n# ----------------------------------------\n# š±ļø Touchpad \u0026 Input Device Support.\n# ----------------------------------------\n# This enables the libinput driver for touchpads and other input devices.\n# KDE handles most input automatically under Wayland, but enabling this ensures\n# proper support across both X11 and Wayland ā especially for touchpads and touchscreens.\n services.libinput.enable = true; # Recommended for reliable input device support.",
"sig": "fd5a2fb13c8e32ca061245042d31329b0e7510b67ffe732219e51d73ec4214e4dab9fba003d8e86addd3fa788fe3cc55165bf43a91a02560b90bf53684b9d8fb"
}