[Bug 286592] x11/sddm: Plasma Wayland, pressing Alt+Fn switches VT

[email protected] Sun, 02 Aug 2026 21:28:54 +0000
Newsgroups gmane.comp.kde.freebsd
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D286592

--- Comment #50 from Jesper Schmitz Mouridsen <[email protected]> ---
(In reply to Max Brazhnikov from comment #49)
Combining the seatd mimic which is solving the ctrl+c issue with my original
non fix with KDSKBMODE K_RAW seems to fix this

like this=20
(also add #include <sys/kbio.h> to  src/common/VirtualTerminal.cpp
#ifdef __FreeBSD__
                struct termios tios;

                if (tcgetattr(fd, &tios) !=3D 0) {
                    qFatal("Failed to get term attrs for VT %d: %s", vt,
strerror(errno));
                } else {
                cfmakeraw(&tios);
                    if (tcsetattr(fd, TCSAFLUSH, &tios) !=3D 0) {
                        qWarning("Failed to set term attrs for VT %d: %s", =
vt,
strerror(errno));
                    }
                }
                        ioctl(fd,KDSKBMODE,K_RAW);=20
#endif


lso

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=