Essentially as the title says, I’m running SDDM with the Wayland backend on Fedora 40 Sway edition and I want to enable tap-to-click for my touchpad. Any ideas on how I can do that? I tried doing it in the xorf config but then I realised the x server isn’t even installed so SDDM is actually running on Wayland, and I don’t know how to do that on Wayland with SDDM. Any ideas?

Edit: So if Plasma is installed, SDDM uses kwin_wayland, and the docs say that it normally uses weston. But what happens when neither of those are installed? Well, as it turns out, on Fedora Sway, they use Sway as the compositor for SDDM (probably to lower the ISO size). So imagine my delight when I did a sudo -e /etc/sway/sddm-greeter.conf and copied the tap-to-click (and keyboard layout for good measure) blocks of code from my old sway config to that file, saved and logged out. It worked! So yeah, the secret is in realising what compositor SDDM is using (and I think you might be able to force a compositor of your choice in the SDDM config, but I’m not sure how)

  • RedWeasel@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 months ago

    SDDM uses kwin_wayland. Plasma store the setting for that in $(HOME)/.config/kcminputrc I believe that is used by a different part that is not used by SDDM. Best suggestion is to submit a feature request. Having proper input support would go along with power management as a needed feature for SDDM on wayland.

    • theshatterstone54@feddit.ukOP
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      6 months ago

      I should have clarified, as I don’t have plasma installed, I don’t think sddm can use kwin.

      In fact, the docs say it normally uses “weston --kiosk” by default

      • RedWeasel@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        6 months ago

        Either way you’d have to look at the compositor as that is what handles input. I haven’t used Weston, so I don’t know where to start.

  • boredsquirrel@slrpnk.net
    link
    fedilink
    arrow-up
    1
    arrow-down
    5
    ·
    edit-2
    6 months ago

    Try this, may be an AI hallucination

    mkdir /etc/sddm.conf.d
    cat > /etc/sddm.conf.d/custom.conf <
    • theshatterstone54@feddit.ukOP
      link
      fedilink
      arrow-up
      1
      ·
      6 months ago

      What AI service did you use to get this? It doesn’t work, but ChatGPT (3.5) just told me to edit the xorg config to add tap-to-click (which I did but it didn’t do anything, probably because X11 is not installed)

      • boredsquirrel@slrpnk.net
        link
        fedilink
        arrow-up
        1
        ·
        6 months ago

        Yes GPT 3, it gave me nothing with X11 at least. If SDDM had some abstraction configs for the compositors, that would work.

        Did you restart SDDM / the system? And did you try adding that directly to the main file?