I've just installed xfce4 lightweight desktop on 14.04 server but the console and LXTerminal do not works as I expected when using arrow keys to control the cursor. When I press an arrow key it appears that a representation of the key code is output to the console rather than acted on. The OS was just installed and neither console nor terminal worked this way in the previous 14.04.x installation (with lightweight gnome).

The arrow keys don't work in Byobu Terminal either.

How do I force the terminal (and console) to recognize the navigation keys?

EDIT The reason is that on boot the shell is sh (dash), which is about one tenth the size of bash.

The as yet unanswered questions are how to I set the system shell to bash and should I do this?


As noted in my edit above, the machine boots to /bin/sh - dash. To assign existing users to bash or set bash for new users see How do you change the default shell for ALL USERS to bash?

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.