Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrow keys don't work in konsole, yakuake #29951

Closed
michaelpj opened this issue Sep 30, 2017 · 8 comments · Fixed by #51412
Closed

Arrow keys don't work in konsole, yakuake #29951

michaelpj opened this issue Sep 30, 2017 · 8 comments · Fixed by #51412

Comments

@michaelpj
Copy link
Contributor

Issue description

The arrow keys, and also Home, End etc. don't work in konsole or yakuake.

Pressing them does nothing - in particular it does not print an escape code, which makes me think that this isn't a TERMINFO problem.

I am using these from XFCE, rather than KDE, but I would hope that that would be supported.

Steps to reproduce

Install konsole. Try to use the arrow keys.

Technical details

  • System: 18.03pre116572.9824ca6975 (Impala)
  • Nix version: 1.11.15
  • Nixpkgs version: 18.03pre116572.9824ca6975
  • Sandboxing enabled: yes
@FRidh
Copy link
Member

FRidh commented Sep 30, 2017

I think it was @edolstra that mentioned this on the mailing list #nixos as well. Did you find a solution?

@edolstra
Copy link
Member

I didn't, I switched to Plasma.

@michaelpj
Copy link
Contributor Author

Possibly relevant: running showkey I get output for arrow keys, but nothing when running showkey -a.

@qknight
Copy link
Member

qknight commented Nov 10, 2017

i switched to xfce4-terminal but we need to fix this, konsole is rather important for us.

@michaelpj
Copy link
Contributor Author

I also switched to Plasma, where it works.

One thing I think I discovered when trying to debug this is that it is not a TERM issue, or anything relating to interpretation of escape sequences. Rather than getting uninterpreted escape sequences, it appears that konsole just doesn't get sent the sequences at all.

@qknight
Copy link
Member

qknight commented Nov 10, 2017

@michaelpj xev started from konsole can still get cursor keys, konsole still can't receive them.

@mbertolutti
Copy link

mbertolutti commented Nov 11, 2017

The navigation keys are not working because konsole can't find the data file for the default keyboard translator.

As a temporary workaround, I manually placed default.keytab in my home directory under .kde/share/apps/konsole/.

For a real fix, konsole would need to look at the correct path in the nix store. Right now it relies on QStandardPaths::GenericDataLocation. Maybe this should include /nix/store/<application>/share?

@qknight
Copy link
Member

qknight commented Feb 20, 2018

@mbertolutti this solution is awesome, can you also fix the problem in nixpkgs? afterwards contact me to get a reward!

Synthetica9 added a commit to Synthetica9/nixpkgs that referenced this issue Dec 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants