Phone connected over USB to a laptop streaming photos, music and apps into a backup box

Fast Android backup with ADB

Want to create a full backup of your Android phone without root access? ADB (Android Debug Bridge) is your best friend. This method works on all Android versions and gives you complete control over what gets backed up. Android phone with USB debugging enabled Computer with ADB installed USB cable # Ubuntu/Debian sudo apt install android-tools-adb # Windows: Download Android SDK Platform Tools # macOS: brew install android-platform-tools ...

September 22, 2025 · 2 min · thomasf
minecraft

Running Minecraft Bedrock Client and Server on Linux

Running a local Minecraft Bedrock server on Linux is perfect for playing with your kids on the same network. Minecraft Bedrock is incredibly fun for family gaming sessions, and setting up your own server gives you complete control over the experience. Use the excellent itzg/minecraft-bedrock-server Docker container. Create a folder e.g. minecraft and in that folder the file docker-compose.yml: services: bds: image: itzg/minecraft-bedrock-server environment: EULA: "TRUE" ports: - "19132:19132/udp" volumes: - ./data:/data stdin_open: true tty: true Then create a folder data and start your server with: ...

August 22, 2025 · 2 min · thomasf
Large file split into chunks uploading in parallel from a terminal to a cloud bucket

Upload Large Files to Cloudflare R2 with rclone (One-liner)

I have a custom operating system with the name KompassOS (www.kompassos.nl) and sometimes we need to upload big ISO files to cloudflare. But if the files all the files bigger than 300MB you have to upload with the S3 API. So Need to upload large files (>300MB) to Cloudflare R2? Here’s how to do it with a single rclone command without creating config files. Create an R2 bucket in your Cloudflare dashboard Generate API credentials in Cloudflare R2 → Manage R2 API Tokens Install rclone rclone copy ./your-file.iso ':s3,provider=Cloudflare,access_key_id=YOUR_ACCESS_KEY,secret_access_key=YOUR_SECRET_KEY,endpoint=YOUR_ACCOUNT_ID.r2.cloudflarestorage.com,no_check_bucket=true,force_path_style=true:your-bucket/' provider=Cloudflare - Tells rclone to use R2-specific settings no_check_bucket=true - Prevents bucket creation attempts (avoids 403 errors) force_path_style=true - Ensures compatibility with R2’s API Replace YOUR_ACCOUNT_ID with your Cloudflare account ID Replace YOUR_ACCESS_KEY and YOUR_SECRET_KEY with your R2 credentials Replace your-bucket with your bucket name Regular file uploads in web interfaces are limited to 300MB. This method uses rclone’s multipart upload capability, allowing files of any size to be uploaded directly to R2 storage. ...

August 19, 2025 · 1 min · thomasf

NCDU Shell tool with GUI for cleanup your disk

When managing disk space, having a quick and efficient tool at your fingertips can be a game-changer. Enter ncdu—a lightweight, terminal-based disk usage analyzer that provides an interactive and visual overview of your file system directly from the command line. ncdu (NCurses Disk Usage) is a command-line utility that scans your directories and files to show you exactly where your disk space is being used. With its ncurses-based interface, ncdu offers an intuitive way to navigate through large file systems, making it easier to identify and clean up space hogs. ...

April 1, 2025 · 2 min · thomasf

Creating a Shared Internet Connection for Gaming During Vacations

When staying at holiday parks or vacation rentals, internet connectivity is often limited or unreliable. This can be frustrating when you want to enjoy some gaming time with your kids. The solution? Create your own WiFi sharing setup using two wireless interfaces – your laptop’s built-in WiFi and a USB WiFi dongle. Requirement: a working internet connection. In my case: LandalPremiumWifi ...

February 28, 2025 · 2 min · thomasf

Automated Password Typing in Linux with ydotool

When working with remote desktop sessions in Linux, especially nested ones (like RDP inside Citrix), typing passwords can be challenging. Special characters and capital letters often don’t transmit correctly, leading to frustrating login attempts. This guide presents a robust solution using ydotool that handles all password characters correctly, even in nested remote sessions. Common issues when typing passwords in remote sessions include: Shift key states not being properly recognized Special characters getting mangled Inconsistent behavior with capital letters Characters being dropped or misinterpreted Our solution uses ydotool, a modern input automation tool for Wayland. The script we’ve developed handles every possible password character correctly by: ...

January 16, 2025 · 3 min · thomasf
edit disks

Extend Linux ext4 disk with cfdisk

There are times when you need to extend a disk to accommodate more data or improve performance. While using UI tools to extend disks can make the process easier and more intuitive, there are situations where these tools aren’t available. In such cases, knowing how to extend a disk using command-line tools can be invaluable. This post will guide you through the process of extending a disk without the need for graphical interfaces like gparted. ...

August 31, 2024 · 2 min · thomasf

Optimizing RDP Performance on Linux: My Best Settings with xfreerdp

If you’re like me and rely heavily on Remote Desktop Protocol (RDP) to connect to Windows servers from a Linux environment, you know how crucial performance can be. After experimenting with numerous settings, I’ve found a configuration that delivers the best performance using xfreerdp. Here’s a breakdown of the settings that worked wonders for me. xfreerdp is an open-source RDP client that offers a plethora of customization options, making it a powerful tool for Linux users needing to connect to Windows servers. Its flexibility allows for fine-tuning, which is essential for optimizing performance. ...

July 27, 2024 · 2 min · thomasf

iptraf-ng: A Lightweight Yet Powerful Alternative to TCPDump and Wireshark

Iptraf-ng stands out as an excellent alternative to Wireshark and tcpdump, offering a robust set of features for comprehensive network traffic analysis. This versatile tool gathers a wide range of information, including TCP connection details, interface statistics, and TCP/UDP traffic breakdowns. Its key features make it a compelling choice: IP Traffic Monitoring: Provides real-time insights into IP traffic across your network. Detailed Interface Statistics: Displays comprehensive statistics on IP, TCP, UDP, ICMP, non-IP packets, and more. TCP and UDP Service Monitoring: Monitors incoming and outgoing packets for commonly used TCP and UDP application ports. LAN Statistics Module: Identifies active hosts on the LAN, offering data activity statistics. Protocol Display Filters: Enables users to customize displays for specific protocols like TCP, UDP, and others. Logging Capabilities: Allows for the logging of network activity, facilitating detailed analysis. As a user-friendly and efficient network monitoring tool, iptraf-ng presents itself as a valuable alternative to Wireshark and tcpdump. Its capabilities make it particularly well-suited for those seeking a reliable solution for network analysis and troubleshooting. The example screenshot of the IP traffic monitor underscores its user-friendly interface and robust functionality, positioning iptraf-ng as a commendable choice in the realm of network monitoring tools. ...

February 4, 2024 · 1 min · thomasf
nvidia

Old 2010 Macbook Nvidia Ubuntu black screen fix

All the credits are for Andreas @ https://askubuntu.com/questions/264247/proprietary-nvidia-drivers-with-efi-on-mac-to-prevent-overheating/613573#613573 Nvidia is always a pain in the ass on Linux. Especially with a old white 2010 macbook. I have black screen issues every time so I create this article so I can easy find it when I reinstall this laptop ;-) First find the right identifiers. We need both the IDs for the graphics card and the PCI-E bridge that it is connected to. Issue the following command in a shell: ...

November 22, 2022 · 2 min · thomasf