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

Delete key not working in terminal #168

Closed
skurty opened this issue Nov 5, 2019 · 15 comments
Closed

Delete key not working in terminal #168

skurty opened this issue Nov 5, 2019 · 15 comments
Labels
bug Something isn't working

Comments

@skurty
Copy link

skurty commented Nov 5, 2019

I installed Regolith on an Ubuntu 18.04 and the delete key is not working in the terminal. It's well working in other applications but not in this one.

@TTBeNnI
Copy link

TTBeNnI commented Nov 11, 2019

Does the backspace key work in bash or another shell?
For me it only did not work in st (simple terminal) the default.

If you want to switch it, you could follow https://github.com/regolith-linux/regolith-desktop/wiki/HowTo:-Change-the-default-terminal-from-st-to-gnome-terminal

@kgilmer
Copy link
Member

kgilmer commented Nov 12, 2019

In addition to @TTBeNnI 's good question, any suggestions on how this issue can be reproduced? What type of keyboard are you using? Any specific region or locale settings?

@kgilmer kgilmer added the bug Something isn't working label Nov 12, 2019
@bnsv
Copy link

bnsv commented Nov 15, 2019

I am experiencing the same problem. my delete button won’t work in terminal, so currently I use backspace to erase. My machine is kubuntu 18.04 LTS, and installing regolith via ppa.

@Filip-K
Copy link

Filip-K commented Nov 19, 2019

Same here with Ubuntu 19.10 on ThinkPad T480s, Regolith installed via PPA. The problem seems to occur in st only. Any way we can help?

@kgilmer
Copy link
Member

kgilmer commented Nov 20, 2019

Need to find a way to root-cause the issue. If anyone is able/willing to compile st from source, that would be a good way to see if it's related to any patches in the Regolith variant...

@kgilmer
Copy link
Member

kgilmer commented Nov 20, 2019

I have not seen the issue, and I use US keyboard and US locale settings in Ubuntu. If those experiencing the issue have another keyboard layout or locale setting that may also be an issue...

@Filip-K
Copy link

Filip-K commented Nov 20, 2019

I just noticed that the st FAQ has a question called "Why doesn't the Del key work in some programs?". Both solutions cited there work for me, but I still find it strange that for some people it works out of the box. I use a mix of en_US.UTF-8 and en_GB.UTF-8 locale settings, and a US keyboard with a US layout.

@kgilmer
Copy link
Member

kgilmer commented Nov 20, 2019

Nice find @Filip-K ! @bnsv, @skurty , does this also resolve the issue for you?

https://git.suckless.org/st/file/FAQ.html#l25

@kgilmer
Copy link
Member

kgilmer commented Nov 20, 2019

FWIW I tried various changes to "Region and Language" in the gnome-control-center trying to reproduce the issue but was unable to find a combination that would reproduce it.

@ScreamingHawk
Copy link

I have this issue as well. gnome-terminal didn't have the issue so switching to that was the quickest solution.

@Filip-K
Copy link

Filip-K commented Nov 21, 2019

Just to wrap it up a bit. I think this is not an issue with Regolith, but a feature of st, as described in their FAQ. If you want to stick with st, the cleanest persistent solution might be to cp /etc/inputrc ~/.inputrc and uncomment set enable-keypad on there.

@ScreamingHawk
Copy link

@Filip-K This did indeed fix the issue for me. Thank you!! ❤️

@bnsv
Copy link

bnsv commented Nov 21, 2019

@Filip-K Yes right, it turns out not a Regolith issue. When in st, then I enter a tmux session, the delete key works normally. Also if I switched to Konsole (KDE’s terminal) the delete key is just work fine. Thank you.

@kgilmer
Copy link
Member

kgilmer commented Nov 25, 2019

I have added @Filip-K 's fix to the wiki's Troubleshooting page. Thanks again @Filip-K ! Closing issue.

@kgilmer kgilmer closed this as completed Nov 25, 2019
@omarsamad-plutoflume
Copy link

+1

this is still an issue, delete key does not work in bash for ragolith-termianl, entering vim within ragolith-terminal delete works as expected, its only on the bash prompt.

FYI, delete key works for gnome-terminal as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants