Windows & X11

Sometimes you have to work in Windows. But filesystems in Windows is far from Linux versions and their permission model. That could be a problem sometimes. In this case, you can use VM or WSL.

X-Servers for Windows:



Add into ~/.bashrc:

export DISPLAY=:0.0


export DISPLAY=localhost:10.0


If you have HiDPI screen you need to tune both local Windows and remote Linux.

For Windows you should open “Properties” of shortcut to X-server -> “Compatibility” -> “Change high DPI settings” -> “Scaling performed by:” “Application”.

For Linux add into ~/.bashrc:

export GDK_SCALE=2 > /dev/null 2>&1



IMHO if you are unable to use OS X and iTerm, Tilix is the best option.


add-apt-repository ppa:webupd8team/terminix  # optionally if you want latest releases

apt install tilix dbus-x11 libsecret-1-0

I’ve also created a shortcut with settings for X-server configuration. To have proper scaling for HiDPI monitors you should run command GDK_SCALE=2 tilix

Sublime Text and Merge

Sublime Text depends on only one package.

# Ubuntu 18.04
apt install libgtk2.0-0

# Ubuntu 20.04
apt install libgtk-3-0

Sublime itself:

wget -qO - | apt-key add -
apt-get install apt-transport-https
echo "deb apt/stable/" | tee /etc/apt/sources.list.d/sublime-text.list
apt-get update
apt-get install sublime-text sublime-merge

Related links