Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Home and End key not working after su
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Mon Feb 05, 2024 10:14 am    Post subject: [solved] Home and End key not working after su Reply with quote

Hi there,

I did a new installation on a new computer. And I stumbled into a strange problem.

  • My logged-in user: Pos1 + End work as expected.
  • su - someother user/root: Pos1 + End output a ~


Found the Arch-Wiki. But in my case it isn't working only after su to a different user. Exiting back to the logged-in user let Pos1 and End key work as expected again.

How can I fix the behaviour of that keys?


Last edited by musv on Tue Mar 05, 2024 12:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Tue Mar 05, 2024 12:27 pm    Post subject: Reply with quote

Ok, found the solution in the Arch-Wiki.

/etc/inputrc:

# for rxvt
"\eOc": forward-word                                                           
"\eOd": backward-word
"\e[7~": beginning-of-line
"\e[8~": end-of-line


The last two lines did the trick. And I got it discovered with:
Code:
showkey --scancodes
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum