Archives For terminal

KGX is a simple and user-friendly terminal emulator for GNOME. It aims to be a “Core” app for GNOME and Phosh, graphical shell for mobile devices like Purism’s Librem 5.

Rather than replacing GNOME Terminal, it’s on target to serve casual Linux user who rarely needs a terminal to carry out simple command line tasks. Via libhandy library, the terminal adjusts nicely to small screen sizes and for touch usage.

KGX terminal emulator. Image from thisweek.gnome.org

The name KGX is the station code for King’s Cross, the London terminus of the East Coast Main Line. The app is available in Ubuntu repositories since Ubuntu 21.04, though the package version is lag behind.

The stock KGX in Ubuntu 21.10 has a semi-transparent app window and the UI looks kinda like Gnome terminal. Though it’s lightweight and has less features.

KGX in Ubuntu 21.10

Install KGX in Ubuntu 21.10 / 22.04:

For Ubuntu 21.04, Ubuntu 21.10 and next Ubuntu 22.04, it’s easy to try out this terminal emulator by pressing Ctrl+Alt+T on keyboard, and then run command in terminal to install it:

sudo apt install kgx

Then, search for and open the terminal emulator from activities overview.

While the stock package is always old, you may build it from source which is available at KGX project page.

Display Asterisks when typing password

When you run a command started with sudo in Ubuntu terminal, it asks you to insert the password for your user with no visual feedback as you type.

For beginners who feel uncomfortable with this terminal feature, below will teach you how to tweak your Ubuntu so that Gnome terminal (and TTY console) displays asterisks when you type in your password.

Terminal with password feedback

Terminal with password feedback by displaying asterisks

1. Press Ctrl+Alt+T on keyboard to open a terminal window. Or open terminal from Unity Dash.

Open Terminal to run commands

2. Paste the below command in terminal and hit enter. Type in your password when prompt.

sudo visudo

It will open the configuration file “/etc/sudoers” in terminal with nano editor.

Edit sudoers in Ubuntu

3. Make a new line:

Defaults        pwfeedback

under the line:

Defaults        env_reset

So it looks like this: (NOTE that the space between Defaults and pwfeedback should be a tab)

Enable password feedback in terminal

4. Now save the changes. Press Ctrl+X, type y to answer yes, press Enter to accept default file name.

Close this terminal window and done.