Hi, It’s Ramzan

Linux Enthusiast - C/C++/Python/Lua - Aspiring Embedded System Engineer

Neovim Complete Setup and Integrating ChatGPT

Part 1: Setting Up NVChad Note: I am using Arch Linux. So, use terminal commands as per your Distro. Step 1: Removing any previous configuration Linux/MacOS Users rm -rf ~/.config/nvim rm -rf ~/.local/state/nvim rm -rf ~/.local/share/nvim Flatpak(Linux) Users rm -rf ~/.var/app/io.neovim.nvim/config/nvim rm -rf ~/.var/app/io.neovim.nvim/data/nvim rm -rf ~/.var/app/io.neovim.nvim/.local/state/nvim Window Users CMD rd -r ~\AppData\Local\nvim rd -r ~\AppData\Local\nvim-data Powershell rm -Force ~\AppData\Local\nvim rm -Force ~\AppData\Local\nvim-data Step 2: Installing NVChad Clone the NVChad repository Linux/MacOS: git clone https://github.com/NvChad/starter ~/.config/nvim && nvim Flatpak: git clone https://github.com/NvChad/starter ~/.var/app/io.neovim.nvim/config/nvim && flatpak run io.neovim.nvim Windows (CMD): git clone https://github.com/NvChad/starter %USERPROFILE%\AppData\Local\nvim && nvim Windows (Powershell): git clone https://github.com/NvChad/starter $ENV:USERPROFILE\AppData\Local\nvim && nvim Step 3: Basic Neovim commands to attempt further processes Type nvim or neovim on the terminal before any file name(optional) to enter into neovim environment. ...

February 8, 2025 · 5 min

Auto-Switch Audio in Arch Linux(LARBS): Speakers to Headphones

Automatically Switching Audio Output Between Speakers and Headphones on Arch Linux: A Comprehensive Guide Method 1:Using Pavucontrol(Graphical Method) If you prefer a more user friendly environment, then go for pavucontrol. Step 1:Install pavucontrol if it’s not already installed: sudo pacman -S pavucontrol Step 2: Launch pavucontrol: pavucontrol Step 3: Navigate to the Configuration tab. In pavucontrol, go to the Configuration tab. This section allows you to manage audio profiles for your devices. ...

February 8, 2025 · 2 min

Compile and Build Linux Kernel

Building Linux Kernel The process of building a Linux Kernel can be performed in several steps, but it may take time as per your hardware capabilities. Step 1: Download the Source Code Visit the Official Kernel Website and download the latest kernel source code. The downloaded files contains a compressed source code that you need to extract it. Step 2: Extract the Source Code After downloading, it is necessary to extract the source code. So, we will achieve this using tar command. ...

February 5, 2025 · 4 min

Grub Rescue Setup

Understanding GRUB Rescue and How to Fix It (A Guide to Diagnosing and Resolving Boot Errors) Introduction GRUB (Grand Unified Bootloader) is a critical component of Linux systems, responsible for loading the operating system. However, encountering the GRUB rescue prompt can be alarming. This blog explains why this happens and provides two practical methods to resolve it. Why Does GRUB Rescue Appear? The GRUB rescue prompt appears when the bootloader fails to locate critical files or configurations. Common causes include: ...

February 5, 2025 · 4 min