linux

How to install Waydroid and fix bugs

Installtion At first install the package. sudo pacman -S waydroid then download the image. sudo waydroid init -s GAPPS Update it if you had it before. sudo waydroid upgrade enable the service sudo systemctl enable --now waydroid-container Google Services Now you are going to notice that you can’t add your google account. its fine as google services is not ready to be used yet. sudo waydroid shell -- sh -c "sqlite3 /data/data/*/*/gservices.

read more

The Importance of Setting Shader Cache Paths for Non-Steam Games

When running non-Steam games on Linux, it’s essential to set specific environment variables to optimize performance and ensure smooth gameplay. These environment variables control where shader cache files are stored, which can significantly impact the gaming experience. Here are the key shader cache paths you should set and why they matter: DXVK_STATE_CACHE_PATH DXVK_STATE_CACHE_PATH is used by DXVK, a Vulkan-based compatibility layer for Direct3D 9/10/11. Setting this path allows DXVK to store its state cache, which can drastically reduce stuttering caused by shader compilation during gameplay.

read more

How to Combine Audio Sources

Introduction Combining audio sources in PulseAudio can be a powerful feature for managing audio output on Linux systems. Whether you’re a music enthusiast, a gamer, or a multimedia creator, combining audio sources allows you to customize your audio setup to suit your needs. Load This command loads the PulseAudio module module-combine-sink. PulseAudio is a sound server for Unix-like operating systems, enabling features such as mixing multiple audio streams, network audio, and more.

read more

How to Fix Cracking Audio on linux

Is your Linux experience marred by persistent crackling audio? Don’t despair! Discover a swift solution to restore pristine sound quality to your system. rm -rf $HOME/.local/state/pipewire/media-session.d/ rm -rf $HOME/.local/state/wireplumber/ systemctl --user restart wireplumber pipewire pipewire-pulse Here’s a closer look at each command’s role in resolving your audio woes: rm -rf $HOME/.local/state/pipewire/media-session.d/: This command clears out any potential problematic configurations stored in the Pipewire media session directory. Pipewire, being the backbone of modern audio systems on Linux, can sometimes stumble upon configurations that lead to audio disturbances.

read more

How to Set Super key to Ulancher on gnome

If you’re a GNOME user and love using Ulauncher for quick app launches and searches, you might find it convenient to assign a specific key to launch Ulauncher. By default, the super key (also known as the Windows key) is often utilized for various system functions. However, with a few simple commands, you can reassign the super key to launch Ulauncher seamlessly. Firstly, open your terminal and enter the following commands:

read more

Restarting KDE

Sometimes, KDE Plasma might act up or become unresponsive, necessitating a restart of its components. Here’s a quick guide on how to restart KDE using a couple of commands. To restart KDE Plasma, you can utilize the following commands in your terminal: systemctl --user restart plasma-plasmashell && killall -9 krunner Breaking down the commands: systemctl --user restart plasma-plasmashell: This command restarts the Plasma shell, which is essentially the graphical environment of KDE Plasma.

read more

My New PC

Finally, I have bought my dream (budget) PC! Specs Case + PSU: Case Gamdias Aura GC1 Elite Mesh RGB Mid-Tower ATX Case + Helios E1-600W 80%+ Efficiency PSU Motherboard: MSI A520M-A PRO (MS-7C96) Cpu: AMD Ryzen™ 5 5500 Gpu: NVIDIA GeForce GTX 1650 Ram: 8x2 16gb 3200mhz ddr4 NVMe: CT500P2SSD8 500gb OS: Arch Linux OS So why did i chose Arch Linux over Windows? Windows So at first lets talk about windows, The main resone why i dont use windows right now is

read more

How to fix not enough ram error in some games

So some Games wont run and will give not enough memoery like Hogwarts legacy or the finals To fix that add vm.max_map_count=2147483642 to /etc/sysctl.d/90-override.conf, then run sudo sysctl -w vm.max_map_count=2147483642

read more

How to Improve Battery Life on Linux

Battery Life So at first, most distros ship with power-profiles-daemon. This app is good for changing profiles but doesn’t give you the best battery life, so we can remove it by running: sudo pacman -Rns power-profiles-daemon sudo apt purge power-profiles-daemon sudo dnf remove power-profiles-daemon Now we can install TLP, by running: sudo pacman -S tlp sudo apt install tlp sudo dnf install tlp Now configure TLP: sudo systemctl mask systemd-rfkill.service sudo systemctl mask systemd-rfkill.

read more

How to test gpu in linux

So you just installed linux and looking to test your gpu. Vulkan at frist install vulkan-tools. To test vulkan run vkcube if you see the cube then vulkan is working. Opengl Just run glxinfo | grep "OpenGL renderer". Laptops You midge have seen that distros no longer ship with prime-run. Don’t worry you can reinstall it. sudo nano /bin/prime-run #!/bin/bash export __NV_PRIME_RENDER_OFFLOAD=1 export __GLX_VENDOR_LIBRARY_NAME=nvidia export __VK_LAYER_NV_optimus=NVIDIA_only export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json exec "$@" sudo chmod +x /bin/prime-run

read more