This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.
Step 1 - Enable NBD on the Host
modprobe nbd max_part=8
| { | |
| "label": "Build Visual Studio Project (Debug)", | |
| "command": "| Out-Null;cd $env:ZED_WORKTREE_ROOT;msbuild.exe", | |
| "args": [ | |
| "(Split-Path $env:ZED_WORKTREE_ROOT -Leaf).sln", | |
| "/p:Configuration=Debug", | |
| "/p:Platform=x64", | |
| "/m", | |
| "/v:m", |
| @-moz-document domain("docs.rs"), | |
| regexp("^file:///.*\\.rustup/toolchains/[^/]+/share/doc/rust/html(/.*)?$"), | |
| regexp("^file:///.*?/target/doc(/.*)?$"), | |
| domain("doc.rust-lang.org"), | |
| domain("nih-plug.robbertvanderhelm.nl"), | |
| url-prefix("https://docs.slint.dev/latest/docs/rust/slint"), | |
| url-prefix("https://rust-unofficial.github.io/too-many-lists/"), | |
| url-prefix("https://rust-lang.github.io/api-guidelines"), | |
| url-prefix("http://localhost:65114/"), | |
| url-prefix("https://jorel.dev/mdBook-pagetoc/"), |
| " Minimal .vimrc that can be fetched via curl/wget or scp on a remote machine | |
| " • curl -fLOsS https://gist.githubusercontent.com/kaem-e/3539c743d4c2e3c9446f47aa29243927/raw/.vimrc | |
| " • wget -c https://gist.githubusercontent.com/kaem-e/3539c743d4c2e3c9446f47aa29243927/raw/.vimrc -O ~/.vimrc | |
| " • (for ssh remotes, via scp): scp ./.vimrc madoka@_HOST_:~/.vimrc | |
| " ---- Options ----- | |
| set nocompatible | |
| set t_Co=16 " limit to ansi-16 | |
| set notermguicolors |
The Synaptics touchpad on this laptop defaults to a shit basic ps/2 interface on Linux. HP in their infinite wisdom decided to not use an I2C touchpad even though the touchscreen does use i2c (hence why its consistently better feeling in both windows 11 and on linux). And perhaps worse is that by default the legacy ps/2 drivers fight with the RMI4 Protocol from working, so you get absolutely abhorrent trackpad behaviour
The best solution is to override the basic ps/2 fallback and force the kernel to use the RMI4 protocol over SMBus (InterTouch). Still not as good as a native I2C connection but this drastically reduces lag and makes multi-touch gestures in libinput-based compositors (like GNOME and Niri) SIGNIFICANTLY better.
sudo micro /etc/default/grubGRUB_CMDLINE_LINUX= and append the flags inside the quotes. It should look something like this: