little problems
little problemsnvim can’t open normal due to lazy:12git clone https://github.com/folke/lazy.nvim.git ~/.local/share/nvim/lazy/lazy.nvim pacman download speed very slow:1234567sudo nvim /etc/pacman.confchange: ParallelDownloads = 50(or higher)sudo nvim /etc/pacman.d/mirrorlistchange: the order of all the mirrorstations(nearest put to the above) hyprland config error after update:sometimes hyprland config files may counter to errors, the most common problem is due to the changes in syntax...
pip on arch
pip on archpip can not be used directly on arch, you use the command for alternates: 12345sudo pacman -S python-<packagename>//pipx install <packagename> but arch encourage us to use virtual env, 1234python -m venv venv_namesource venv_name/bin/activate(option)python -m ensurepip --upgradepip install --upgrade pip play with arch homepageclick here to come back to play with archhomepage.
conflict about nvim/lazy.nvim
problem: conflict with neovim[DONE]Sometimes(always, xu) when we install a new application via pacman or yay/paru, the new will conflict with another one especially on ARCH or SUSE and others distributions with rolling update. Such as, oh-my-posh conflict with neovim(it’s plugin(s) actually) Here is the approach to solve this tricky problem. STEP1 Clean the cache of your package, primarily clean the conflict one, or, clean all. 123456789yay -Sc (clean all cache of yay)rm -rf...
proxy configuration
proxy configuration problemprinciple is very same to google-chrome proxy on hyprland, but for these application, we should do with this files/ on this way: telegram on aur : set proxy manually docker : modify the file : /etc/systemd/system/docker.service.d/http-proxy.conf if not exist, just create one, and add lines : 1234[Service];Environment = "HTTP_PROXY=http://your.proxy.address:your_port/";Environment =...
replace the core of arch
simple way to change the default linux-core typemodify the file: /boot/grub/grub.cfg: move the menuentry you want to the outside of submenu, to the first one. play with arch homepageclick here to come back to play with archhomepage.
sound driver(out-of-date)
the problem with pulseaudio sound[DONE]the output HDMI ports are unplugged, if the sound turn off, everything go normal, but if turn on, that will be a collapse……. i have fixed by following this….. https://chatgpt.com/share/6739b1eb-697c-800f-9d59-258a9f897802 STEP1 the first thing is make sure pulseaudio can work in a correct way. actually, this should not be the first step, but it is the most quickly step. 1234rm -rf ~/.config/pulsepulseaudio -kpulseaudio --start(systemctl --user restart...
LaTeX
LaTeXLaTeX Cheatsheet.pdf command lines homepageclick here to come back to command line homepage.
WSL
WSLlist distribution: 1wsl --list set default distribution: 1wsl --set-default <name> list distribution that can be download with powershell(actually others can be download in microsoft store) 1wsl --list --online export virtual OS: 1wsl --export <distrobute name> path/to/store.tar import virtual OS: 1wsl --import <distro name> <path to destination> <path to source> --version 2 delete virtual OS: 1wsl --unregister <distribution name> change default...
labeling
labeling (one possiable)conda create -n labelimg python=3.10 conda activate labelimg pip install PyQt5 pip install pyqt5-tools pip install lxml pip install labelimg labelImg.py .\miniconda\envs\labelimg\Lib\site-packages\labelImg repacle the same file canvas.py .\miniconda\envs\labelimg\Lib\site-packages\libs repacle the same file command lines homepageclick here to come back to command line homepage.
chisel
chiselto generate verilog code… workflow is : 123sudo pacman -S sbt jdk-openjdk verilatorgit clone https://github.com/chipsalliance/chisel-template.git MyChiselProject then we get a directory MyChiselProject. the code write in : MyChiselProject/src/main/scala you can create a folder here, like example, then write code in the example folder. after done, back to the root path of the MyChiselProject , run : 12sbt "runMain example.Elaborate"(if your chisel file is named...





