Ben Chuanlong Du's Blog

It is never too late to learn.

Ubuntu Crashes When Opening Settings

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

I encountered an issue with Ubuntu 20.04 on my machine. Ubuntu crashes when I try to open settings or video players. After searching online, it seems that the problem happens …

Docker Images for Remote Desktop

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips and Traps

  1. x11docker runs GUI applications and desktops in docker and podman containers.

  2. NoMachine is recommended for remote Desktop.

  3. If VNC is used for accessing remote desktop environment in a …

Install the Latest Version of Python in Ubuntu

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

There are a few ways to install a newer version of Python on Ubuntu. If you want to completely overwrite the system version of Python, it is suggested that you install …

Chinese Locale in Linux

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

First you have to make sure locales is installed. If not, you can install it using the following command (on Ubuntu/Debian).

sudo apt-get install locales

Ubuntu

# GB2312 encoding support
sudo …

Developing GUI Applications Using Qt5

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation on Ubuntu

wajig install qt5-default

Crop an Image in Qt

https://stackoverflow.com/questions/7010611/how-can-i-crop-an-image-in-qt

References

https://wiki.qt.io/Install_Qt_5_on_Ubuntu