Skip to content

Instantly share code, notes, and snippets.

@nikku
Last active September 13, 2022 13:10
Show Gist options
  • Save nikku/6af19bceaef0a15d86c8 to your computer and use it in GitHub Desktop.
Save nikku/6af19bceaef0a15d86c8 to your computer and use it in GitHub Desktop.
Setup Arch Linux Thinkpad T430 / Dual Graphics

To add a custom, i.e. self-signed root certificate to a machine

  • Create file in /etc/ca-certificates/trust-source/anchors/
  • Rename *.pem to *.crt
  • Run trust extract-compat

(Via Arch News)

If you experience issues running watch tests such as

Fatal error: watch ENOSPC

Àdd the following line to /etc/sysctl.d/99-sysctl.conf

fs.inotify.max_user_watches=524288

Reconfigure system via sysctl --system.

(Via Stackoverflow)

To let vim use the PRIMARY clipboard:

  • Install gvim (integrates vim with X11)
  • Add :set clipboard=unnamed to ~/.vimrc

Use y (copy) and p (paste) to interact with clipboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment