Resolving Chinese Input and Browser Scaling Issues on Ubuntu 24.04 with Wayland
Ubuntu 24.04 continues to use Wayland as the default display server, offering smooth animations and macOS-like gestures such as three-finger desktop switching. However, two usability issues arise under Wayland:
Fcitx-based Chinese input methods (e.g., Sogou, Baidu) fail to function properly.
When fractional scaling is enabled for high-DPI disp ...
Posted on Wed, 09 Sep 2026 16:38:24 +0000 by sineadyd
Setting Up ROS, Kinect, and ORB-SLAM on Ubuntu
Understanding ORB-SLAM is essential for visual navigation tasks. For more details, refer to the provided resource.
The lab provided an Intel NUC with an i5 processor running Ubuntu 14.04, which is quite outdated. OpenCV version 2.4.9 is also old, indicating this machine has been in use for a while. The goal is to set up ROS, Kinect driver, and ...
Posted on Sun, 06 Sep 2026 16:42:44 +0000 by schwim
Automating MySQL Backups on Ubuntu Systems
Creating Backup Directories
Begin by establishing a dedicated directory for backups:
mkdir -p /home/apps/backup/mysqllive
Securing Database Credentials
For enhanced security, store database credentials in a configuration file instead of embedding them in scripts.
Create and edit the MySQL dump configuration file:
sudo vim /etc/mysql/conf.d/mys ...
Posted on Thu, 03 Sep 2026 16:54:06 +0000 by FireDrake
Node.js Installation Guide for Major Linux Distributions
Using Package Managers to Install Node.js
For CentOS/RHEL Systems
EPEL Repository Method (For Older Versions)
# Install EPEL repository
sudo yum install epel-release -y
# Install Node.js
sudo yum install nodejs -y
# Verify installation
node -v
# Complete uninstallation
sudo yum remove nodejs npm -y
sudo yum clean all
NodeSource Repositor ...
Posted on Thu, 03 Sep 2026 16:52:24 +0000 by flhtc
Setting Up Redis, MySQL, and Nginx on Ubuntu 20.04
Installing Redis from Source
To deploy Redis, download the source code from the official Redis website. Extract the archive and prepare the build enviroment:
tar -xvf redis-x.x.x.tar.gz
cd redis-x.x.x
sudo apt update
sudo apt install build-essential pkg-config
Compile the source code using the provided makefile:
make MALLOC=libc
sudo make inst ...
Posted on Thu, 03 Sep 2026 16:49:47 +0000 by mforan
Setting Up OpenCV with Python Development Environment on Ubuntu and Building Recognition Demos
Installling Python
Begin with installing Python version 2.7 as the development environment.
sudo apt-get install python2.7
sudo apt-get install python2.7-dev
Installing OpenCV
Multiple installation methods exist, starting with the most straightforward apporach.
sudo apt-get install python-opencv
Camera Access Demo
Basic Test Example
import cv ...
Posted on Thu, 03 Sep 2026 16:20:31 +0000 by witold
Installing JDK on Ubuntu: A Comprehensive Guide
Methods for Installing JDK on Ubuntu
There are two primary approaches to installing JDK on Ubuntu:
Using the apt package manager
Manual installation from downloaded packages
The apt method is recommended as it simplifies future updates through apt-get upgrade.
Method 1: Installing via apt
This section covers both OpenJDK and Oracle JDK instal ...
Posted on Tue, 01 Sep 2026 16:46:29 +0000 by scott532
Setting Up PySpark and Building a Word Count Application on Ubuntu
Getting PySpark running on Ubuntu involves installing several dependencies and configuring your environment properly. This guide walks through the complete setup process and demonstrates how to build a word counting application.
Prerequisites Installation
Before installing PySpark, you need to set up the Java runtime environment since Spark run ...
Posted on Tue, 11 Aug 2026 16:37:35 +0000 by iamchris
Ubuntu 24.04 LTS Setup and Hardware Optimization for ThinkPad X1 Carbon Gen 6
Hardware Specification
ThinkPad X1 Carbon (6th Gen, 2018)
Intel Core i5-8350U, 16 GB RAM, 512 GB SSD
Ubuntu 24.04.4 LTS
Base Installation
Multi-boot USB creation tools such as Ventoy simplify installing Ubuntu alongside existing operating systems. Once installed, most hardware functions out of the box, though several components benefit from m ...
Posted on Mon, 03 Aug 2026 16:24:45 +0000 by MBenefactor
Configuring WiFi on ELF2 Development Board Running Ubuntu System with Intel AX200
Configuring WiFi on ELF2 Development Board Running Ubuntu System with Intel AX200
Before proceeding with WiFi configuration, you need to flash the Ubuntu system onto the development board. There are two approaches available:
Method 1: Copy kernel modules from an existing buildroot system's /usr/lib/modules directory to the corresponding locatio ...
Posted on Sun, 02 Aug 2026 16:17:56 +0000 by darkjedig