Celeb Glow
news | April 04, 2026

CTRL button in nano not registering (Ubuntu Server 16.04 in Virtualbox)

I am running Ubuntu server 16.04 LTS guest OS in Virtualbox 5.0.8 under Ubuntu MATE 15.10 LTS host OS. I am setting up a little development LAMP server and I am editing apache configuration files. I used nano to edit and everything seemed to work with the keyboard. However trying to save and exit the file doesn't seem to be working.

All of nano's commands seem to use the format of Ctrl + "Button". NOTE: The HOST Control button is Right Ctrl and I am trying to use the Left Ctrl for commands.Ctrl + X - is the command to exit the file. however pushing Ctrl + X (in combination, that is holding Left Ctrl and pressing the X button) only outputs the letter x to the file as if i was just pressing it by itself.

My main issue now is that I can't even exit the file to try it with vi instead (since it doesn't use any Ctrl + "Button" for simple editing (:wq will work).

Any help with this issue would be very much appreciated. Thanks.

2

3 Answers

Try F2. It's an alternate key for ^x -- that is Ctrl+x.

instructions displayed in terminal

Double tap esc, it works the same! Found out today from :

You can hit Escape twice instead of holding down the Control key, if you have trouble doing that. There are also some commands that require use of the Meta key. On most keyboard layouts, Meta equates to the Alt button.

I haven't been able to find an equivalent for alt, however.

Well Some playing around with different combinations of keys let me use Left Shift + Left Ctrl + X seemed to work just like pressing Left Ctrl. So my solution was add the Shift key to the combination.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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