On 14/11/2025 11:49, Zbigniew Jędrzejewski-Szmek wrote:
On Thu, Nov 13, 2025 at 09:34:37AM -0500, Allison King via devel-announce wrote:
This change will do the following:
Install kmscon by default, and update the symbolic link
/usr/lib/systemd/system/[email protected] to point to [email protected], to
start kmscon by default when switching VT.

I think those steps should be listed in "How to test"
(starting with "sudo dnf install kmscon" and ending with
"sudo ln -s [email protected] /etc/systemd/system/[email protected]").

Ok, I will add it there.


==== Improvements ====
* The look & feel of the VT console, will be much better.
* Users will be able to configure special fonts, and use more unicode
characters.
* Users will have the same keyboard layout has what they have in graphical
environment. (Currently the kernel keyboard layout are different).
* Users will be able to scroll in the console.

I tried kmscon in a VM and $TERM is set to vt102, so e.g. 'less'
doesn't work great. Somewhere else in the thread it was mentioned
that "kmscon sets $TERM to xterm-256color"… Do I need a version
from git to get this?

The default is xterm-256color for the last 10 years:
https://github.com/Aetf/kmscon/blob/main/src/kmscon_conf.c#L717

But on my test laptop, it's vt102 too.
It turns out, it's because kmscon starts "agetty" as the login process, and that agetty overrides the TERM environment variable.
https://github.com/Aetf/kmscon/commit/21cf668c58867a100272adea6f323cd56fc73e78

The main benefit of agetty is to process /etc/issue. So maybe we can implement that in kmscon instead.


When I switch between the kmscon console on tty3 and gnome-shell on tty1,
gnome-shell exits. (Looking at the log, I don't see any obvious crash,
but I see the login prompt again after switching back.)
Is this a known issue?

On Fedora by default, the gnome session is on tty2. So switching to tty1 start a new gdm prompt. I'm not sure why it's not on tty1, and that's why in the test I use tty3.


In Upgrade/compatibility impact, I think it should be mentioned
that mouse support with gpm will stop working.

Yes another tool that won't work, I will add it in the documentation part.

But mouse support will come soon to kmscon with https://github.com/Aetf/kmscon/pull/149


Zbsyzek

--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to