View previous topic :: View next topic |
Author |
Message |
musv Advocate
Joined: 01 Dec 2002 Posts: 3337 Location: de
|
Posted: Mon Feb 05, 2024 10:14 am Post subject: [solved] Home and End key not working after su |
|
|
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 |
|
|
musv Advocate
Joined: 01 Dec 2002 Posts: 3337 Location: de
|
Posted: Tue Mar 05, 2024 12:27 pm Post subject: |
|
|
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 |
|
|
|