My personal dotfiles. It includes Arch configs and my windows configs and suggestions.
- Windows: Suggestions, config files
- Arch
- Ubuntu
You may find all the application descriptions in setup-* scripts. Also, Head
over to workspace-setup for installation guides including
archlinux installation with and without dual booting.
- You may modify scripts to your needs:
- Scripts include names such as
setup-*.share suppose to install essential apps and configure the system workspace. - Scripts include names such as
*-install-profile.zshare intended to be installed with user privileges. They will configure the user workspace and it copies user configurations.
- Scripts include names such as
Take a look at this repo to install nvidia drivers on arch.
After installing the nvidia drivers, use hyprland guide on Nvidia drivers to also finish some additional configuration if you still have issues with screen flickering or nvidia drivers aren't being used properly, Hyprland Guide on Nvidia
- With sway, use vulkan renderer, for that, you may have to install
vulkan-intelandvulkan-validation-layers. - Brightnessctl not working properly on nvidia drivers? Try adding
acpi_backlight=nativetoGRUB_CMDLINE_LINUX_DEFAULTin/etc/default/grub. (Don't forget to dosudo grub-mkconfig -o /boot/grub/grub.cfgafter changes.), this will force using the gpu-native interface.- also force the nvidia interface to be used
# Grab the interface ls /sys/class/backlight # Create a new rule, by putting this content to force using it. Rule at /etc/udev/rules.d/99-backlight.rules ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="nvidia_wmi_ec_backlight", \ RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness", \ RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"
- Don't forget to Enable this kernel module parameter for nvidia: Preserve Video Memory After Suspend
- These environment variables are essential if you want to utilize hardware acceleration with your GPU. Read about Hardware Video Acceleration.
# best to put at /etc/profile or read more at https://wiki.archlinux.org/title/Environment_variables export LIBVA_DRIVER_NAME=nvidia export VDPAU_DRIVER=nvidia export __GLX_VENDOR_LIBRARY_NAME=nvidia export GBM_BACKEND=nvidia-drm
# Make sure to add your private key to `ssh-agent`
ssh-add <path/to/private/key>
# Check currently loaded private keys
ssh-add -l
# Auto-start/Enable ssh-agent service
systemctl --user enable --now ssh-agent.serviceCheckout docker/docker directory to quickly setup database and a testing email service with a single command.
You may configure the docker-compose file to your needs.
To share your screen on Wayland, install
sudo pacman -Sy obs-studio xdg-desktop-portal-wlr then use pipewire window
capture to share your screen.
Make sure to enable the following flags for Chromium
- WebRTC PipeWire support: Enabled
- Preferred Ozone platform: Wayland or Xorg
- Parallel Downloading: Enabled
- Tab Groups Save and Sync: Enabled
-
Want to install another desktop/window environment? Take a look at archinstall profiles. It's a good start to install necessary packages for each environment.
-
Licensed fonts such as
Dank Mono. -
ZSH Plugin Descriptions
zsh-nvmplugin installsnvm.
-
Find WSL IP address for SSH access:
ip addr | grep eth0 -
if for some reason you are stuck on window manager, you always have the ability to switch to
ttyusingCtrl + Alt + f2shortcut. You may switch to severalttyby usingCtrl + Alt + f2,Ctrl + Alt + f3,Ctrl + Alt + f4, , and so on. -
To find font names, you may use
fc-listwith grep to filter out your font.fc-list | grep -i meslolgmnerd -
To copy output or input to clipboard use
xclipfor Xorg andwl-copy(installwl-clipboard) for Wayland. -
- enable Secure Simple Pairing (SSP) mode to avoid manual pin authentication for bluetooth connections
sudo btmgmt ssp on
- You might have to change the
ControllerModetobredrat/etc/bluetooth/main.conf, then restart the bluetooth service.
- enable Secure Simple Pairing (SSP) mode to avoid manual pin authentication for bluetooth connections
-
Here are a few documentations to enable Dark mode:
-
After rebooting, unable to connect to internet? Sometimes, both
dhcpcdandNetworkManagerconflict with each other, as a result, it fails to connect to internet. There are several ways to go about it: (1) Restarting your computer (2) Stoppingdhcpcdservice then restartNetworkManagerservice, after that, startdhcpcdservice again. This should solve the problem. -
If you have issues with
shared lib** is not found, you might already have the library but a newer version instead while the package might require an older version. You may check the/usr/libif that library exist, if so, you may create a symbolic link pointing the required library version to the latest version. -
Looking for TUI apps? Take a look at toolleeo/Awesome list or rothgar/Awesome TUIs
-
If you are dual-booting Linux and Windows, and have a shared partitions between them. It's good to turn of hibernation on Windows, so that it doesn't cause corruption when booting to Linux, especially when auto-mount is enabled.
# on Windows, run these commands powercfg /h off # Confirm it's off powercfg /a

