I rarely use CentOS as a desktop but purehate and myself set up a development box the other day to test some things. We needed the computer to not only function as a Linux server but also as a Desktop for some of the items we wanted to test. In doing so I have been playing around with various items and I find myself needing to open terminal windows on a regular basis so I wanted to know what the keyboard shortcut was to open a terminal window. The quick answer is that there is not a keyboard shortcut to open a terminal window by default on CentOS running the Gnome desktop environment. Below are some quick steps to add a keyboard shortcut to open a terminal window on a computer running the Gnome Desktop environment.
Gnome Desktop Environment: Create A Keyboard Shortcut To Open A Terminal Window
- Open Keyboard Shortcuts Configuration Window: First you need to launch the Keyboard Shortcuts configuration window which can be done by clicking System in the top navigation menu on your Gnome desktop, select Preferences from the drop down menu, and then click Keyboard Shortcuts from the Preferences menu. This will launch the Keyboard Shortcuts configuration menu as displayed in the below image.
- Locate Run A Terminal: Now in the Gnome Keyboard Shortcuts configuration window scroll down until you see “Run A Terminal” which is located under the Desktop sub section as displayed in the below image.
Notice the “Run A Terminal”, which means to launch a new terminal window, keyboard shortcut is disabled by default in the Gnome Desktop Environment.
- Modify Run A Terminal: Double click on Run A Terminal and then type the key combination you would like to be the one that launches a terminal window. In this example I click “Ctrl+t” or the control button and the “t” button at the same time to be the keyboard shortcut that opens a terminal window in the Gnome Desktop Environment. The below image shows the example of what the Keyboard Shortcuts configuration window will look like after it records the key combination.
- Test Gnome Keyboard Shortcut: Now close the Keyboard Shortcut configuration window and test your new keyboard shortcut by clicking ctrl+t to see if a new terminal window is launched. If successful you should see a terminal window similar to the below image.
So now you can apply the same concept to any other keyboard shortcut you would like to create. Now launching terminal windows from the Gnome Desktop Environment on a CentOS Linux server should be much easier.