Bug 2540963 - Shortcut is forgotten when opening the virtual console twice.
Summary: Shortcut is forgotten when opening the virtual console twice.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kmscon
Version: 45
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jocelyn Falempe
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-25 06:55 UTC by HORIE Seiichi
Modified: 2026-10-01 08:28 UTC (History)
1 user (show)

Fixed In Version: kmscon-10.0.4-1.fc46
Clone Of:
Environment:
Last Closed: 2026-10-01 08:28:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description HORIE Seiichi 2026-09-25 06:55:09 UTC
Some short cut configred in the /etc/kmscon/kmscon.conf doesn't work after opening virtual console multiple times. 

This is observed on the Fedora Kinoite 45 beta. Fedora KDE Plasma Desktop 45 beta works fine. 

Reproducible: Always

Steps to Reproduce:
1.Install pango by running `rpm-ostree install kmscon-pango` and then restart the PC.
2.Set a short cut by running `echo "grab-zoom-in=<Ctrl>semicolon" | sudo tee -a /etc/kmscon/kmscon.conf`
3.Restart the ksmcon service by running `sudo systemctl restart kmscon`. The virtual console is shown.
4.Now, Typing Ctrl+';' can enlarge the text.
5.Type Ctrl+Alt+F2 to show the desktop.
6.Type Ctrl+Alt+F3 to open the virtual console again.
7.Now, Ctrl+';' doesn't enlarget the text anymore.
Actual Results:
In the step 7 above, Ctrl+';' which is configured as short cut in the /etc/kmscon/kmscon.conf doesn't work anymore. 

Expected Results:
Whenever the virtual console is shown, the short cut works.

Additional Information:
This is observed on the fresh installed Fedora Kinoite 45 beta.
The both of the following platform reporoduced:
- VMware Workstation Pro.
- Fujitsu FMV LIFEBOOK U9311.

Note : This problem is not reproduced on the fresh installed Fedora KDE Plasma Desktop. It just works without problem.

Comment 1 Jocelyn Falempe 2026-09-25 14:28:37 UTC
I tried to reproduce on a Kinoite VM, and I think I understand the problem:

When your run `systemctl restart kmscon`, it starts a new instance on tty1 and switch to tty1
Then when you go back to tty3, it's the old kmscon instance that didn't see the /etc/kmscon/kmscon.conf change yet.

The correct command is `systemctl restart kmsconvt@tty3` to restart the kmscon instance on tty3

Also I think if you reboot, the shortcut should work, as all kmsconvt will be restarted.

Comment 2 HORIE Seiichi 2026-09-25 20:42:32 UTC
Thanks, 

The `systemctl restart kmsconvt@tty3` command solves my problem.

Comment 3 Fedora Update System 2026-09-28 09:42:03 UTC
FEDORA-2026-72d141adde (kmscon-10.0.4-1.fc46 and libtsm-4.8.0-1.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-72d141adde

Comment 4 Fedora Update System 2026-10-01 08:28:43 UTC
FEDORA-2026-72d141adde (kmscon-10.0.4-1.fc46 and libtsm-4.8.0-1.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.