Archives For terminal

For those who want to install the latest Tilix terminal emulator 1.9.5 in Ubuntu 22.04 LTS. You can now get it from PPA repository.

Tilix is a popular tiling terminal emulator, that allows to split terminal window horizontally and/or vertically, and drag and drop re-arrange them. It also has many other great features including sync input between terminals, background images, quake mode (drop-down terminal), and custom hyperlinks.

The terminal emulator package is available in Ubuntu repository, but old. Though, the latest v1.9.5 has been released for 5 months. Changes in Tilix 1.9.5 include:

  • Disable advanced paste when there is no linebreak like iTerm2
  • Add environment variable when in quake mode
  • Add possibility to configure always enabled regex
  • And various bug-fixes.

1. Add PPA

The unofficial PPA so far contains the latest package for Ubuntu 22.04 only. Due to dependency issue, it does not build in Ubuntu 20.04.

To add the PPA, press Ctrl+Alt+T on keyboard to open terminal and run command:

sudo add-apt-repository ppa:ubuntuhandbook1/tilix

2. Update package cache

Ubuntu now automatically refresh the package cache while adding PPA. But, you have to run apt update command manually in some derivatives, e.g., Linux Mint.

sudo apt update

3. Install Tilix

Finally, install the software package by running command in terminal:

sudo apt install tilix

After installation, search for and open Tilix either from start menu or by searching from ‘Activities’ overview, depends on which DE you have.

How to Uninstall:

For any issue, you can install ppa-purge and use the tool to purge PPA. Which will also downgrade all installed packages from that PPA to the stock version in your Ubuntu:

sudo apt install ppa-purge && sudo ppa-purge ppa:ubuntuhandbook1/tilix

And if you need to terminal emulator any more, remove it either from Ubuntu Software or by running command in terminal:

sudo apt remove --autoremove tilix tilix-common

This simple tutorial shows how to change the default terminal emulator from Gnome Terminal to the one that you prefer in Ubuntu.

The default Gnome Terminal is great, but there are many good alternatives (e.g., tilix). If you prefer to use another one and want to set it as default, so you may press Ctrl+Alt+T to open it.

Step 1: Create symbolic link to x-terminal-emulator

Ubuntu seems default to x-terminal-emulator, which is a virtual package by default links to Gnome Terminal.

By creating a group of alternatives to the package allows to switch which one to use at any time with a single command.

Firstly, open terminal and run command to create a symbolic link (replace /usr/bin/tilix with your terminal emulator):

sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/tilix 1

Some terminal emulators may already created the symbolic link automatically after installation, so you can just skip this step.

Step 2: Select your terminal to use as default:

Next, run the command below will output all available alternatives:

sudo update-alternatives --config x-terminal-emulator

Type the number for the one that you prefer and hit Enter will set it as default terminal.

In the case, I selected 5: ‘/usr/bin/tilix.wrapper’. It’s a Tilix wrapper with command line arguments that created automatically during installation. Step 1,

Restore and remove the alternative link:

To revert back to Gnome Terminal, just re-run the command in Step 2 and choose number 0 or 1.

And to remove the link created via Step 1, use command (replace ‘/usr/bin/tilix’ accordingly):

sudo update-alternatives --remove x-terminal-emulator /usr/bin/tilix

That’s all. Enjoy!

Tilix, the popular tiling terminal emulator, released v1.9.5 with a few new features and some bug-fixes.

Tilix is a GTK+3 terminal emulator supports for splitting app window horizontally or vertically. It supports drag and drop re-arranging terminals, quake mode, custom hyperlinks, as well as many other features.

After a year of development, it finally announced the new 1.9.5 with only a few new features due to lack of maintainers.

New features in Tilix 1.9.5 include:

  • Disable advanced paste when there is no linebreak like iTerm2
  • Add environment variable when in quake mode
  • Add possibility to configure always enabled regex

Get Tilix 1.9.5 in Ubuntu:

There’s no binary package for current Ubuntu releases so far, though it’s proposed to be included in Ubuntu 22.04 LTS repository.

User may download the source code and build manually via the link below:

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

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.