NixOS / NixOS/nixpkgs

[25.05] Alt+Arrow suddenly changes TTY

Open
#422,331 24 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

6.topic: nixos
Dominant language
Nix
Stars
26.2k
Forks
20.1k
PR merge metrics
PR metrics pending

Description

It appears to me that since nixos-25.05, the key combination(s) Alt+Arrow key changes the TTY.

And indeed, my keymaps (de) show that:

$  sudo dumpkeys  | grep cr_Console
        alt     keycode 105 = Decr_Console    
        alt     keycode 106 = Incr_Console   

But why? This seems to have changed since 24.11 and there's AFAICS no documentation about this (breaking) change in the changelog. And especially there's no documentation how to revert to the old behaviour (simple don't do that... Ctrl+Alt+F1.. is sufficient 😆 )


Pinging some people that have contributed to nixos/modules/config/console.nix: @K900 @msanft because I don't know who would be the right one here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read nixos/modules/config/console.nix and reproduce the Alt+Arrow mappings with dumpkeys, comparing the behavior between NixOS 24.11 and 25.05. Done means determining why Decr_Console and Incr_Console are assigned and either restoring the previous behavior or documenting how to disable it.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.