this post was submitted on 02 May 2024
21 points (100.0% liked)

Linux

48331 readers
622 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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)

top 6 comments
sorted by: hot top controversial new old
[–] RedWeasel@lemmy.world 5 points 6 months ago (1 children)

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 4 points 6 months ago* (last edited 6 months ago) (1 children)

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 3 points 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 -4 points 6 months ago* (last edited 6 months ago) (1 children)

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.

[–] theshatterstone54 1 points 6 months ago (1 children)

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 1 points 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?