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)

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

    Try this, may be an AI hallucination

    mkdir /etc/sddm.conf.d
    cat > /etc/sddm.conf.d/custom.conf <<EOF
    [Input]
    EnableTap=true
    EOF
    

    In general avoid overwriting default files, as this .conf.d seems to be pretty standard. Your distro will handle the default .conf but may stop when you changed it manually.

    • theshatterstone54OP
      link
      fedilink
      arrow-up
      1
      ·
      8 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
        ·
        8 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?